/openbmc/linux/drivers/hwmon/ |
H A D | pt5161l.c | 88 u8 cmd = 0x0F; /* [7]:pec_en, [4:2]:func, [1]:start, [0]:end */ in pt5161l_write_block_data() local 106 ret = i2c_smbus_write_block_data(client, cmd, xfer_len, buf); in pt5161l_write_block_data() 128 u8 cmd = 0x08; /* [7]:pec_en, [4:2]:func, [1]:start, [0]:end */ in pt5161l_read_block_data() local 146 ret = i2c_smbus_write_block_data(client, (cmd | 0x2), 3, in pt5161l_read_block_data() 151 ret = i2c_smbus_read_block_data(client, (cmd | 0x1), in pt5161l_read_block_data()
|
/openbmc/linux/net/bpfilter/ |
H A D | msgfmt.h | 9 __u32 cmd; member
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | reboot.h | 10 void (*restart)(char *cmd);
|
/openbmc/qemu/tests/qapi-schema/ |
H A D | args-if-unboxed.json | 5 { 'command': 'test-if-cmd',
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_i2c.h | 42 struct i2c_command *cmd);
|
/openbmc/linux/sound/oss/dmasound/ |
H A D | dmasound_atari.c | 35 extern void atari_microwire_cmd(int cmd); 143 static int AtaMixerIoctl(u_int cmd, u_long arg); 144 static int TTMixerIoctl(u_int cmd, u_long arg); 145 static int FalconMixerIoctl(u_int cmd, u_long arg); 1361 static int AtaMixerIoctl(u_int cmd, u_long arg) in AtaMixerIoctl() argument 1365 switch (cmd) { in AtaMixerIoctl() 1396 static int TTMixerIoctl(u_int cmd, u_long arg) in TTMixerIoctl() argument 1399 switch (cmd) { in TTMixerIoctl() 1428 return AtaMixerIoctl(cmd, arg); in TTMixerIoctl() 1434 switch (cmd) { in FalconMixerIoctl() [all …]
|
/openbmc/linux/drivers/s390/char/ |
H A D | tape_3590.c | 468 switch (cmd) { in tape_3590_ioctl() 802 if (irb->scsw.cmd.dstat == DEV_STAT_CHN_END) in tape_3590_unsolicited_irq() 805 else if (irb->scsw.cmd.dstat == 0x85) in tape_3590_unsolicited_irq() 808 else if (irb->scsw.cmd.dstat & DEV_STAT_ATTENTION) { in tape_3590_unsolicited_irq() 1457 if ((irb->scsw.cmd.dstat & DEV_STAT_UNIT_EXCEP) && in tape_3590_irq() 1458 (irb->scsw.cmd.dstat & DEV_STAT_DEV_END) && in tape_3590_irq() 1465 if (irb->scsw.cmd.dstat & DEV_STAT_UNIT_CHECK) in tape_3590_irq() 1468 if (irb->scsw.cmd.dstat & DEV_STAT_DEV_END) { in tape_3590_irq() 1469 if (irb->scsw.cmd.dstat == DEV_STAT_UNIT_EXCEP) { in tape_3590_irq() 1479 if (irb->scsw.cmd.dstat & DEV_STAT_CHN_END) { in tape_3590_irq() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ethtool_common.c | 563 struct ethtool_link_ksettings *cmd) in efx_ethtool_get_link_ksettings() argument 569 efx_mcdi_phy_get_link_ksettings(efx, cmd); in efx_ethtool_get_link_ksettings() 573 ethtool_link_ksettings_add_link_mode(cmd, supported, Pause); in efx_ethtool_get_link_ksettings() 577 cmd->base.speed = link_state->speed; in efx_ethtool_get_link_ksettings() 578 cmd->base.duplex = link_state->fd ? DUPLEX_FULL : DUPLEX_HALF; in efx_ethtool_get_link_ksettings() 586 const struct ethtool_link_ksettings *cmd) in efx_ethtool_set_link_ksettings() argument 592 if ((cmd->base.speed == SPEED_1000) && in efx_ethtool_set_link_ksettings() 593 (cmd->base.duplex != DUPLEX_FULL)) { in efx_ethtool_set_link_ksettings() 600 rc = efx_mcdi_phy_set_link_ksettings(efx, cmd); in efx_ethtool_set_link_ksettings() 817 switch (info->cmd) { in efx_ethtool_get_rxnfc() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | ethtool.c | 117 struct ethtool_link_ksettings *cmd) in ef4_ethtool_get_link_ksettings() argument 123 efx->phy_op->get_link_ksettings(efx, cmd); in ef4_ethtool_get_link_ksettings() 127 ethtool_link_ksettings_add_link_mode(cmd, supported, Pause); in ef4_ethtool_get_link_ksettings() 131 cmd->base.speed = link_state->speed; in ef4_ethtool_get_link_ksettings() 132 cmd->base.duplex = link_state->fd ? DUPLEX_FULL : DUPLEX_HALF; in ef4_ethtool_get_link_ksettings() 141 const struct ethtool_link_ksettings *cmd) in ef4_ethtool_set_link_ksettings() argument 147 if ((cmd->base.speed == SPEED_1000) && in ef4_ethtool_set_link_ksettings() 148 (cmd->base.duplex != DUPLEX_FULL)) { in ef4_ethtool_set_link_ksettings() 155 rc = efx->phy_op->set_link_ksettings(efx, cmd); in ef4_ethtool_set_link_ksettings() 958 switch (info->cmd) { in ef4_ethtool_get_rxnfc() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dmub/inc/ |
H A D | dmub_cmd.h | 4258 const union dmub_rb_cmd *cmd) in dmub_rb_push_front() argument 4288 const union dmub_rb_out_cmd *cmd) in dmub_rb_out_push_front() argument 4291 const uint8_t *src = (const uint8_t *)cmd; in dmub_rb_out_push_front() 4315 union dmub_rb_cmd **cmd) in dmub_rb_front() argument 4322 *cmd = (union dmub_rb_cmd *)rb_cmd; in dmub_rb_front() 4354 union dmub_rb_cmd **cmd, in dmub_rb_peek_offset() argument 4362 *cmd = (union dmub_rb_cmd *)rb_cmd; in dmub_rb_peek_offset() 4376 union dmub_rb_out_cmd *cmd) in dmub_rb_out_front() argument 4379 uint64_t *dst = (uint64_t *)cmd; in dmub_rb_out_front() 4464 union dmub_rb_cmd *cmd) in dmub_rb_get_return_data() argument [all …]
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_sriov.c | 108 u8 cmd; in hinic_set_vf_vlan() local 119 cmd = HINIC_PORT_CMD_SET_VF_VLAN; in hinic_set_vf_vlan() 121 cmd = HINIC_PORT_CMD_CLR_VF_VLAN; in hinic_set_vf_vlan() 123 err = hinic_port_msg_cmd(hwdev, cmd, &vf_vlan, in hinic_set_vf_vlan() 1031 static int nic_pf_mbox_handler(void *hwdev, u16 vf_id, u8 cmd, void *buf_in, in nic_pf_mbox_handler() argument 1045 if (!hinic_mbox_check_cmd_valid(hwdev, nic_cmd_support_vf, vf_id, cmd, in nic_pf_mbox_handler() 1049 cmd, in_size); in nic_pf_mbox_handler() 1057 if (cmd == vf_msg_handle->cmd && in nic_pf_mbox_handler() 1068 cmd, buf_in, in_size, buf_out, in nic_pf_mbox_handler() 1073 cmd, err); in nic_pf_mbox_handler() [all …]
|
/openbmc/linux/drivers/hsi/clients/ |
H A D | cmt_speech.c | 197 static inline void cs_set_cmd(struct hsi_msg *msg, u32 cmd) in cs_set_cmd() argument 200 *data = cmd; in cs_set_cmd() 427 u32 cmd = cs_get_cmd(msg); in cs_hsi_read_on_control_complete() local 438 dev_dbg(&hi->cl->device, "Read on control: %08X\n", cmd); in cs_hsi_read_on_control_complete() 452 cs_notify_control(cmd); in cs_hsi_read_on_control_complete() 740 static int cs_hsi_command(struct cs_hsi_iface *hi, u32 cmd) in cs_hsi_command() argument 745 switch (cmd & TARGET_MASK) { in cs_hsi_command() 747 ret = cs_hsi_write_on_control(hi, cmd); in cs_hsi_command() 750 if ((cmd & CS_CMD_MASK) == CS_TX_DATA_READY) in cs_hsi_command() 751 ret = cs_hsi_write_on_data(hi, cmd & CS_PARAM_MASK); in cs_hsi_command() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool_common.c | 562 struct ethtool_link_ksettings *cmd) in efx_siena_ethtool_get_link_ksettings() argument 568 efx_siena_mcdi_phy_get_link_ksettings(efx, cmd); in efx_siena_ethtool_get_link_ksettings() 572 ethtool_link_ksettings_add_link_mode(cmd, supported, Pause); in efx_siena_ethtool_get_link_ksettings() 576 cmd->base.speed = link_state->speed; in efx_siena_ethtool_get_link_ksettings() 577 cmd->base.duplex = link_state->fd ? DUPLEX_FULL : DUPLEX_HALF; in efx_siena_ethtool_get_link_ksettings() 586 const struct ethtool_link_ksettings *cmd) in efx_siena_ethtool_set_link_ksettings() argument 592 if ((cmd->base.speed == SPEED_1000) && in efx_siena_ethtool_set_link_ksettings() 593 (cmd->base.duplex != DUPLEX_FULL)) { in efx_siena_ethtool_set_link_ksettings() 600 rc = efx_siena_mcdi_phy_set_link_ksettings(efx, cmd); in efx_siena_ethtool_set_link_ksettings() 817 switch (info->cmd) { in efx_siena_ethtool_get_rxnfc() [all …]
|
/openbmc/qemu/ui/ |
H A D | spice-display.c | 126 QXLCommand *cmd; in qemu_spice_create_one_update() local 138 cmd = &update->ext.cmd; in qemu_spice_create_one_update() 182 cmd->type = QXL_CMD_DRAW; in qemu_spice_create_one_update() 183 cmd->data = (uintptr_t)drawable; in qemu_spice_create_one_update() 263 QXLCommand *cmd; in qemu_spice_create_cursor_update() local 266 ccmd = &update->cmd; in qemu_spice_create_cursor_update() 268 cmd = &update->ext.cmd; in qemu_spice_create_cursor_update() 294 cmd->type = QXL_CMD_CURSOR; in qemu_spice_create_cursor_update() 295 cmd->data = (uintptr_t)ccmd; in qemu_spice_create_cursor_update() 572 switch (ext->cmd.type) { in interface_release_resource()
|
/openbmc/linux/kernel/trace/ |
H A D | trace.h | 1013 char *func, char *cmd, 1109 int register_ftrace_command(struct ftrace_func_command *cmd); 1110 int unregister_ftrace_command(struct ftrace_func_command *cmd); 1635 char *glob, char *cmd, 1662 extern int register_event_command(struct event_command *cmd); 1663 extern int unregister_event_command(struct event_command *cmd); 1671 char *cmd, 1838 char *glob, char *cmd, 1850 struct event_trigger_ops *(*get_trigger_ops)(char *cmd, char *param); 1931 extern unsigned int err_pos(char *cmd, const char *str); [all …]
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_gs.c | 113 p->p.req.command = cpu_to_be16(cmd); in qla2x00_prep_ct_req() 984 sns_cmd->p.cmd.subcommand = cpu_to_le16(cmd); in qla2x00_prep_sns_cmd() 986 sns_cmd->p.cmd.size = cpu_to_le16(wc); in qla2x00_prep_sns_cmd() 1086 sns_cmd->p.cmd.param[0] = NS_NX_PORT_TYPE; in qla2x00_sns_gid_pt() 1270 sns_cmd->p.cmd.param[0] = vha->d_id.b.al_pa; in qla2x00_sns_rft_id() 1271 sns_cmd->p.cmd.param[1] = vha->d_id.b.area; in qla2x00_sns_rft_id() 1320 sns_cmd->p.cmd.param[1] = vha->d_id.b.area; in qla2x00_sns_rnn_id() 1498 p->p.req.command = cpu_to_be16(cmd); in qla2x00_prep_ct_fdmi_req() 2597 p->p.req.command = cpu_to_be16(cmd); in qla24xx_prep_ct_fm_req() 3410 srb_t *sp, int cmd) in qla2x00_post_next_scan_work() argument [all …]
|
/openbmc/linux/net/ncsi/ |
H A D | Makefile | 5 obj-$(CONFIG_NET_NCSI) += ncsi-cmd.o ncsi-rsp.o ncsi-aen.o ncsi-manage.o ncsi-netlink.o
|
/openbmc/linux/arch/mips/sgi-ip30/ |
H A D | ip30-power.c | 23 static void __noreturn ip30_machine_restart(char *cmd) in ip30_machine_restart() argument
|
/openbmc/google-ipmi-sys/ |
H A D | ipmi.hpp | 34 uint8_t cmd, std::span<const uint8_t> data);
|
/openbmc/linux/arch/powerpc/platforms/512x/ |
H A D | mpc512x.h | 16 extern void __noreturn mpc512x_restart(char *cmd);
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_securedisplay.h | 33 void psp_prep_securedisplay_cmd_buf(struct psp_context *psp, struct ta_securedisplay_cmd **cmd,
|
/openbmc/linux/arch/arm/mach-spear/ |
H A D | restart.c | 18 void spear_restart(enum reboot_mode mode, const char *cmd) in spear_restart() argument
|
/openbmc/linux/drivers/s390/crypto/ |
H A D | zcrypt_api.c | 548 unsigned int cmd) in zcrypt_check_ioctl() argument 1559 rc = zcrypt_check_ioctl(perms, cmd); in zcrypt_unlocked_ioctl() 1563 switch (cmd) { in zcrypt_unlocked_ioctl() 1694 unsigned int cmd, unsigned long arg) in trans_modexpo32() argument 1744 unsigned int cmd, unsigned long arg) in trans_modexpo_crt32() argument 1805 unsigned int cmd, unsigned long arg) in trans_xcrb32() argument 1865 rc = zcrypt_check_ioctl(perms, cmd); in zcrypt_compat_ioctl() 1869 if (cmd == ICARSAMODEXPO) in zcrypt_compat_ioctl() 1871 if (cmd == ICARSACRT) in zcrypt_compat_ioctl() 1873 if (cmd == ZSECSENDCPRB) in zcrypt_compat_ioctl() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | common.h | 102 void (*callback) (struct il_priv *il, struct il_device_cmd *cmd, 153 struct il_device_cmd **cmd; member 525 u8 cmd[360]; member 558 } __packed cmd; member 572 } __packed cmd; member 1814 const char *il_get_cmd_string(u8 cmd); 1816 int il_send_cmd(struct il_priv *il, struct il_host_cmd *cmd); 1821 struct il_device_cmd *cmd, 1988 pkt->hdr.cmd != N_STATS && pkt->hdr.cmd != C_TX && in il_need_reclaim() 1989 pkt->hdr.cmd != N_RX_PHY && pkt->hdr.cmd != N_RX && in il_need_reclaim() [all …]
|
/openbmc/u-boot/include/ |
H A D | common.h | 77 int run_command(const char *cmd, int flag); 78 int run_command_repeatable(const char *cmd, int flag); 91 int run_command_list(const char *cmd, int len, int flag);
|