/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_scsi.c | 4100 cmd->device ? cmd->device->id : 0xffff, in lpfc_fcp_io_cmd_wqe_cmpl() 4101 cmd->device ? cmd->device->lun : 0xffff, in lpfc_fcp_io_cmd_wqe_cmpl() 4153 cmd->device ? cmd->device->id : 0xffff, in lpfc_fcp_io_cmd_wqe_cmpl() 4154 cmd->device ? cmd->device->lun : 0xffff, in lpfc_fcp_io_cmd_wqe_cmpl() 4222 cmd->device ? cmd->device->id : 0xffff, in lpfc_fcp_io_cmd_wqe_cmpl() 4223 cmd->device ? cmd->device->lun : 0xffff, in lpfc_fcp_io_cmd_wqe_cmpl() 4249 cmd->device->id, cmd->device->lun, cmd, in lpfc_fcp_io_cmd_wqe_cmpl() 4253 cmd->retries, scsi_get_resid(cmd)); in lpfc_fcp_io_cmd_wqe_cmpl() 4422 cmd->device ? cmd->device->id : 0xffff, in lpfc_scsi_cmd_iocb_cmpl() 4423 cmd->device ? cmd->device->lun : 0xffff, in lpfc_scsi_cmd_iocb_cmpl() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | aha1740.c | 326 unchar *cmd = (unchar *) SCpnt->cmnd; in aha1740_queuecommand_lck() local 335 if(*cmd == REQUEST_SENSE) { in aha1740_queuecommand_lck() 342 if (*cmd == READ_10 || *cmd == WRITE_10) in aha1740_queuecommand_lck() 343 i = xscsi2int(cmd+2); in aha1740_queuecommand_lck() 344 else if (*cmd == READ_6 || *cmd == WRITE_6) in aha1740_queuecommand_lck() 345 i = scsi2int(cmd+2); in aha1740_queuecommand_lck() 349 target, *cmd, i, bufflen); in aha1740_queuecommand_lck() 351 for (i = 0; i < SCpnt->cmd_len; i++) printk("%02x ", cmd[i]); in aha1740_queuecommand_lck() 386 if (*cmd == READ_10 || *cmd == READ_6) in aha1740_queuecommand_lck() 388 else if (*cmd == WRITE_10 || *cmd == WRITE_6) in aha1740_queuecommand_lck() [all …]
|
H A D | zorro_esp.c | 272 dma_count, write, cmd); in zorro_esp_send_blz1230_dma_cmd() 305 scsi_esp_cmd(esp, cmd); in zorro_esp_send_blz1230_dma_cmd() 319 dma_count, write, cmd); in zorro_esp_send_blz1230II_dma_cmd() 350 scsi_esp_cmd(esp, cmd); in zorro_esp_send_blz1230II_dma_cmd() 364 dma_count, write, cmd); in zorro_esp_send_blz2060_dma_cmd() 395 scsi_esp_cmd(esp, cmd); in zorro_esp_send_blz2060_dma_cmd() 411 dma_count, write, cmd); in zorro_esp_send_cyber_dma_cmd() 447 scsi_esp_cmd(esp, cmd); in zorro_esp_send_cyber_dma_cmd() 461 dma_count, write, cmd); in zorro_esp_send_cyberII_dma_cmd() 488 scsi_esp_cmd(esp, cmd); in zorro_esp_send_cyberII_dma_cmd() [all …]
|
/openbmc/linux/include/linux/input/ |
H A D | lm8333.h | 20 extern int lm8333_read8(struct lm8333 *lm8333, u8 cmd); 21 extern int lm8333_write8(struct lm8333 *lm8333, u8 cmd, u8 val); 22 extern int lm8333_read_block(struct lm8333 *lm8333, u8 cmd, u8 len, u8 *buf);
|
/openbmc/linux/ipc/ |
H A D | sem.c | 1244 if (cmd == SEM_STAT || cmd == SEM_STAT_ANY) { in semctl_stat() 1259 if (cmd == SEM_STAT_ANY) in semctl_stat() 1289 if (cmd == IPC_STAT) { in semctl_stat() 1309 int cmd, void __user *p) in semctl_info() argument 1329 if (cmd == SEM_INFO) { in semctl_info() 1406 int cmd, void __user *p) in semctl_main() argument 1432 switch (cmd) { in semctl_main() 1544 switch (cmd) { in semctl_main() 1624 switch (cmd) { in semctl_down() 1663 switch (cmd) { in ksys_semctl() [all …]
|
H A D | shm.c | 1019 switch (cmd) { in shmctl_down() 1086 int cmd, struct shmid64_ds *tbuf) in shmctl_stat() argument 1094 if (cmd == SHM_STAT || cmd == SHM_STAT_ANY) { in shmctl_stat() 1115 if (cmd == SHM_STAT_ANY) in shmctl_stat() 1149 if (cmd == IPC_STAT) { in shmctl_stat() 1213 if (cmd == SHM_LOCK) { in shmctl_do_lock() 1251 if (cmd < 0 || shmid < 0) in ksys_shmctl() 1256 switch (cmd) { in ksys_shmctl() 1307 int version = ipc_parse_version(&cmd); in ksys_old_shmctl() 1448 if (cmd < 0 || shmid < 0) in compat_ksys_shmctl() [all …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | reboot.c | 41 void machine_restart(char *cmd) in machine_restart() argument 48 if (cmd) in machine_restart() 49 prom_reboot(cmd); in machine_restart()
|
/openbmc/linux/drivers/char/ipmi/ |
H A D | ipmi_devintf.c | 156 msg.cmd = req->msg.cmd; in handle_send_req() 246 rsp->msg.cmd = msg->msg.cmd; in handle_recv() 295 unsigned int cmd, in ipmi_ioctl() argument 302 switch (cmd) in ipmi_ioctl() 348 rv = handle_recv(priv, cmd == IPMICTL_RECEIVE_MSG_TRUNC, in ipmi_ioctl() 635 u8 cmd; member 668 p64->cmd = p32->cmd; in get_compat_ipmi_msg() 710 v32.msg.cmd = p64->msg.cmd; in copyout_recv32() 724 switch(cmd) { in compat_ipmi_ioctl() 770 cmd == COMPAT_IPMICTL_RECEIVE_MSG_TRUNC, in compat_ipmi_ioctl() [all …]
|
/openbmc/hiomapd/ |
H A D | transport_mbox.c | 492 uint8_t cmd = req->msg.command; in check_req_valid() local 495 if (cmd > NUM_MBOX_CMDS) { in check_req_valid() 496 MSG_ERR("Unknown mbox command: %d\n", cmd); in check_req_valid() 500 if (seq == context->prev_seq && cmd != MBOX_C_GET_MBOX_INFO) { in check_req_valid() 507 if (cmd != MBOX_C_GET_MBOX_INFO && cmd != MBOX_C_ACK) { in check_req_valid() 509 cmd); in check_req_valid() 515 if (cmd != MBOX_C_RESET_STATE && cmd != MBOX_C_GET_MBOX_INFO) { in check_req_valid() 517 cmd); in check_req_valid() 523 if (cmd != MBOX_C_RESET_STATE && cmd != MBOX_C_GET_MBOX_INFO in check_req_valid() 524 && cmd != MBOX_C_ACK) { in check_req_valid() [all …]
|
/openbmc/linux/drivers/s390/char/ |
H A D | sclp_cmd.c | 39 int sclp_sync_request(sclp_cmdw_t cmd, void *sccb) in sclp_sync_request() argument 41 return sclp_sync_request_timeout(cmd, sccb, 0); in sclp_sync_request() 55 request->command = cmd; in sclp_sync_request_timeout() 71 cmd, request->status); in sclp_sync_request_timeout() 120 static int do_core_configure(sclp_cmdw_t cmd) in do_core_configure() argument 144 cmd, sccb->header.response_code); in do_core_configure() 193 static int do_assign_storage(sclp_cmdw_t cmd, u16 rn) in do_assign_storage() argument 212 cmd, sccb->header.response_code, rn); in do_assign_storage() 528 static int do_chp_configure(sclp_cmdw_t cmd) in do_chp_configure() argument 540 rc = sclp_sync_request(cmd, sccb); in do_chp_configure() [all …]
|
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_phy.c | 300 struct ethtool_cmd cmd = { .cmd = ETHTOOL_GSET }; in pch_gbe_phy_init_setting() local 304 mii_ethtool_gset(&adapter->mii, &cmd); in pch_gbe_phy_init_setting() 306 ethtool_cmd_speed_set(&cmd, hw->mac.link_speed); in pch_gbe_phy_init_setting() 307 cmd.duplex = hw->mac.link_duplex; in pch_gbe_phy_init_setting() 308 cmd.advertising = hw->phy.autoneg_advertised; in pch_gbe_phy_init_setting() 309 cmd.autoneg = hw->mac.autoneg; in pch_gbe_phy_init_setting() 311 ret = mii_ethtool_sset(&adapter->mii, &cmd); in pch_gbe_phy_init_setting()
|
/openbmc/linux/drivers/leds/ |
H A D | leds-ns2.c | 47 struct gpio_desc *cmd; member 62 cmd_level = gpiod_get_value_cansleep(led->cmd); in ns2_led_get_mode() 91 gpiod_set_value(led->cmd, led->modval[i].cmd_level); in ns2_led_set_mode() 96 gpiod_set_value_cansleep(led->cmd, led->modval[i].cmd_level); in ns2_led_set_mode() 183 led->cmd = devm_fwnode_gpiod_get_index(dev, node, "cmd", 0, GPIOD_ASIS, in ns2_led_register() 185 if (IS_ERR(led->cmd)) in ns2_led_register() 186 return PTR_ERR(led->cmd); in ns2_led_register() 213 led->can_sleep = gpiod_cansleep(led->cmd) || gpiod_cansleep(led->slow); in ns2_led_register()
|
/openbmc/linux/include/linux/usb/ |
H A D | usbnet.h | 195 extern int usbnet_read_cmd(struct usbnet *dev, u8 cmd, u8 reqtype, 197 extern int usbnet_write_cmd(struct usbnet *dev, u8 cmd, u8 reqtype, 199 extern int usbnet_read_cmd_nopm(struct usbnet *dev, u8 cmd, u8 reqtype, 201 extern int usbnet_write_cmd_nopm(struct usbnet *dev, u8 cmd, u8 reqtype, 203 extern int usbnet_write_cmd_async(struct usbnet *dev, u8 cmd, u8 reqtype, 280 struct ethtool_link_ksettings *cmd); 282 const struct ethtool_link_ksettings *cmd); 284 struct ethtool_link_ksettings *cmd);
|
/openbmc/linux/net/caif/ |
H A D | cfutill.c | 42 u8 cmd = -1; in cfutill_receive() local 48 if (cfpkt_extr_head(pkt, &cmd, 1) < 0) { in cfutill_receive() 54 switch (cmd) { in cfutill_receive() 73 pr_warn("Unknown service control %d (0x%x)\n", cmd, cmd); in cfutill_receive()
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_mgmt.h | 112 u16 cmd; member 121 void (*cb)(void *handle, u8 cmd, 155 u8 cmd; member 164 u8 cmd, void *buf_in, 172 enum hinic_mod_type mod, u8 cmd,
|
/openbmc/linux/sound/core/ |
H A D | timer_compat.c | 79 static long __snd_timer_user_ioctl_compat(struct file *file, unsigned int cmd, in __snd_timer_user_ioctl_compat() argument 84 switch (cmd) { in __snd_timer_user_ioctl_compat() 101 return __snd_timer_user_ioctl(file, cmd, (unsigned long)argp, true); in __snd_timer_user_ioctl_compat() 114 static long snd_timer_user_ioctl_compat(struct file *file, unsigned int cmd, in snd_timer_user_ioctl_compat() argument 121 ret = __snd_timer_user_ioctl_compat(file, cmd, arg); in snd_timer_user_ioctl_compat()
|
/openbmc/intel-ipmi-oem/ |
H A D | generate-allowlist.py | 45 self.cmd = int(m[1], 16) 71 return self.cmd < other.cmd 75 return (self.netfn == other.netfn) and (self.cmd == other.cmd)
|
/openbmc/qemu/monitor/ |
H A D | hmp-target.c | 149 void (*cmd)(Monitor *mon, const QDict *qdict)) in monitor_register_hmp() 155 g_assert(table->cmd == NULL && table->cmd_info_hrt == NULL); in monitor_register_hmp() 156 table->cmd = cmd; in monitor_register_hmp() 171 g_assert(table->cmd == NULL && table->cmd_info_hrt == NULL); in monitor_register_hmp_info_hrt()
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 264 | 52 self.vm.cmd('blockdev-add', 59 self.vm.cmd(job, device='drive0', 79 self.vm.cmd('block-job-set-speed', device='drive0', speed=0) 92 self.vm.cmd('blockdev-del', node_name='backup0') 95 self.vm.cmd('block-job-cancel', device='drive0', force=True)
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | backup-discard-source | 35 nodes = vm.cmd('query-named-block-nodes', flat=True) 50 self.vm.cmd('blockdev-add', { 71 self.vm.cmd('blockdev-add', { 78 self.vm.cmd('blockdev-add', { 109 self.vm.cmd('blockdev-backup', device='access',
|
/openbmc/qemu/tests/avocado/ |
H A D | migration.py | 33 return vm.cmd('query-migrate')['status'] in ('completed', 'failed') 44 self.assertEqual(src_vm.cmd('query-migrate')['status'], 'completed') 45 self.assertEqual(dst_vm.cmd('query-migrate')['status'], 'completed') 46 self.assertEqual(dst_vm.cmd('query-status')['status'], 'running') 47 self.assertEqual(src_vm.cmd('query-status')['status'],'postmigrate')
|
/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | bugs.c | 1343 switch (cmd) { in spectre_v2_user_select_mitigation() 1368 switch (cmd) { in spectre_v2_user_select_mitigation() 1481 cmd = mitigation_options[i].cmd; in spectre_v2_parse_cmdline() 1544 return cmd; in spectre_v2_parse_cmdline() 1703 (cmd == SPECTRE_V2_CMD_NONE || cmd == SPECTRE_V2_CMD_AUTO)) in spectre_v2_select_mitigation() 1706 switch (cmd) { in spectre_v2_select_mitigation() 1880 spectre_v2_cmd = cmd; in spectre_v2_select_mitigation() 2051 cmd = ssb_mitigation_options[i].cmd; in ssb_parse_cmdline() 2061 return cmd; in ssb_parse_cmdline() 2072 cmd = ssb_parse_cmdline(); in __ssb_select_mitigation() [all …]
|
/openbmc/u-boot/drivers/mmc/ |
H A D | ftsdc010_mci.c | 69 uint32_t cmd = FTSDC010_CMD_IDX(mmc_cmd->cmdidx); in ftsdc010_send_cmd() local 73 cmd |= FTSDC010_CMD_CMD_EN; in ftsdc010_send_cmd() 76 cmd |= FTSDC010_CMD_APP_CMD; in ftsdc010_send_cmd() 81 cmd |= FTSDC010_CMD_NEED_RSP; in ftsdc010_send_cmd() 84 cmd |= FTSDC010_CMD_LONG_RSP; in ftsdc010_send_cmd() 89 writel(cmd, ®s->cmd); in ftsdc010_send_cmd() 223 ret = ftsdc010_send_cmd(mmc, cmd); in ftsdc010_request() 225 printf("ftsdc010: CMD%d failed\n", cmd->cmdidx); in ftsdc010_request() 338 writel(FTSDC010_CMD_SDC_RST, ®s->cmd); in ftsdc010_init() 340 if (readl(®s->cmd) & FTSDC010_CMD_SDC_RST) in ftsdc010_init() [all …]
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_tas.c | 523 if (admin->cmd == TAPRIO_CMD_DESTROY) { in sja1105_setup_tc_taprio() 588 struct sja1105_ptp_cmd cmd = {0}; in sja1105_tas_check_running() local 591 rc = sja1105_ptp_commit(ds, &cmd, SPI_READ); in sja1105_tas_check_running() 595 if (cmd.ptpstrtsch == 1) in sja1105_tas_check_running() 598 else if (cmd.ptpstopsch == 1) in sja1105_tas_check_running() 633 struct sja1105_ptp_cmd *cmd = &priv->ptp_data.cmd; in sja1105_tas_start() local 645 cmd->ptpstrtsch = 1; in sja1105_tas_start() 646 cmd->ptpstopsch = 0; in sja1105_tas_start() 660 struct sja1105_ptp_cmd *cmd = &priv->ptp_data.cmd; in sja1105_tas_stop() local 671 cmd->ptpstopsch = 1; in sja1105_tas_stop() [all …]
|
/openbmc/linux/drivers/firmware/google/ |
H A D | gsmi.c | 192 u16 cmd = (sub << 8) | func; in gsmi_exec() local 217 : "0" (cmd), in gsmi_exec() 231 : "0" (cmd), in gsmi_exec() 246 : "0" (cmd), in gsmi_exec() 273 cmd); in gsmi_exec() 299 cmd, result); in gsmi_exec() 761 u16 cmd, result; in gsmi_system_valid() local 804 : "0" (cmd), in gsmi_system_valid() 808 if (cmd == result) { in gsmi_system_valid() 827 static void gsmi_log_s0ix_info(u8 cmd) in gsmi_log_s0ix_info() argument [all …]
|