/openbmc/linux/drivers/watchdog/ |
H A D | rave-sp-wdt.c | 74 u8 cmd[] = { in rave_sp_wdt_legacy_configure() local 82 return rave_sp_wdt_exec(wdd, cmd, sizeof(cmd)); in rave_sp_wdt_legacy_configure() 87 u8 cmd[] = { in rave_sp_wdt_rdu_configure() local 95 return rave_sp_wdt_exec(wdd, cmd, sizeof(cmd)); in rave_sp_wdt_rdu_configure() 119 u8 cmd[] = { in rave_sp_wdt_legacy_restart() local 125 return rave_sp_wdt_exec(wdd, cmd, sizeof(cmd)); in rave_sp_wdt_legacy_restart() 130 u8 cmd[] = { in rave_sp_wdt_rdu_restart() local 137 return rave_sp_wdt_exec(wdd, cmd, sizeof(cmd)); in rave_sp_wdt_rdu_restart() 205 u8 cmd[] = { in rave_sp_wdt_ping() local 210 return rave_sp_wdt_exec(wdd, cmd, sizeof(cmd)); in rave_sp_wdt_ping()
|
/openbmc/u-boot/drivers/mmc/ |
H A D | arm_pl180_mmci.c | 42 if ((cmd->resp_type & MMC_RSP_PRESENT)) in wait_for_command_end() 56 (cmd->resp_type & MMC_RSP_CRC)) { in wait_for_command_end() 68 cmd->cmdidx, cmd->response[0], cmd->response[1], in wait_for_command_end() 69 cmd->response[2], cmd->response[3]); in wait_for_command_end() 84 if (cmd->resp_type) { in do_command() 86 if (cmd->resp_type & MMC_RSP_136) in do_command() 223 struct mmc_cmd *cmd, in do_data_transfer() argument 249 error = do_command(dev, cmd); in do_data_transfer() 256 error = do_command(dev, cmd); in do_data_transfer() 269 struct mmc_cmd *cmd, in host_request() argument [all …]
|
H A D | stm32_sdmmc2.c | 246 if (cmd->resp_type & MMC_RSP_136) in stm32_sdmmc2_start_cmd() 265 struct mmc_cmd *cmd, in stm32_sdmmc2_end_cmd() argument 274 if (cmd->resp_type & MMC_RSP_CRC) in stm32_sdmmc2_end_cmd() 293 __func__, status, cmd->cmdidx); in stm32_sdmmc2_end_cmd() 300 __func__, status, cmd->cmdidx); in stm32_sdmmc2_end_cmd() 307 if (cmd->resp_type & MMC_RSP_136) { in stm32_sdmmc2_end_cmd() 318 struct mmc_cmd *cmd, in stm32_sdmmc2_end_data() argument 344 __func__, status, cmd->cmdidx); in stm32_sdmmc2_end_data() 352 __func__, status, cmd->cmdidx); in stm32_sdmmc2_end_data() 401 __func__, cmd->cmdidx, in stm32_sdmmc2_send_cmd() [all …]
|
H A D | meson_gx_mmc.c | 100 struct mmc_cmd *cmd) in meson_mmc_setup_cmd() argument 104 meson_mmc_cmd |= cmd->cmdidx << CMD_CFG_CMD_INDEX_SHIFT; in meson_mmc_setup_cmd() 106 if (cmd->resp_type & MMC_RSP_PRESENT) { in meson_mmc_setup_cmd() 107 if (cmd->resp_type & MMC_RSP_136) in meson_mmc_setup_cmd() 110 if (cmd->resp_type & MMC_RSP_BUSY) in meson_mmc_setup_cmd() 113 if (!(cmd->resp_type & MMC_RSP_CRC)) in meson_mmc_setup_cmd() 164 if (cmd->resp_type & MMC_RSP_136) { in meson_mmc_read_response() 168 cmd->response[3] = meson_read(mmc, MESON_SD_EMMC_CMD_RSP); in meson_mmc_read_response() 187 meson_mmc_setup_cmd(mmc, data, cmd); in meson_dm_mmc_send_cmd() 190 meson_write(mmc, cmd->cmdarg, MESON_SD_EMMC_CMD_ARG); in meson_dm_mmc_send_cmd() [all …]
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_stdu.c | 179 } *cmd; in vmw_stdu_define_st() local 181 cmd = VMW_CMD_RESERVE(dev_priv, sizeof(*cmd)); in vmw_stdu_define_st() 186 cmd->header.size = sizeof(cmd->body); in vmw_stdu_define_st() 228 } *cmd; in vmw_stdu_bind_st() local 240 cmd = VMW_CMD_RESERVE(dev_priv, sizeof(*cmd)); in vmw_stdu_bind_st() 245 cmd->header.size = sizeof(cmd->body); in vmw_stdu_bind_st() 304 cmd = VMW_CMD_RESERVE(dev_priv, sizeof(*cmd)); in vmw_stdu_update_st() 333 } *cmd; in vmw_stdu_destroy_st() local 340 cmd = VMW_CMD_RESERVE(dev_priv, sizeof(*cmd)); in vmw_stdu_destroy_st() 345 cmd->header.size = sizeof(cmd->body); in vmw_stdu_destroy_st() [all …]
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_debugfs.c | 47 .cmd = HNAE3_DBG_CMD_TM_NODES, 54 .cmd = HNAE3_DBG_CMD_TM_PRI, 61 .cmd = HNAE3_DBG_CMD_TM_QSET, 68 .cmd = HNAE3_DBG_CMD_TM_MAP, 75 .cmd = HNAE3_DBG_CMD_TM_PG, 131 .cmd = HNAE3_DBG_CMD_TX_BD, 1184 if (hns3_dbg_cmd[i].cmd == dbg_data->cmd) { in hns3_dbg_get_cmd_index() 1191 dbg_data->cmd); in hns3_dbg_get_cmd_index() 1238 if (cmd == hns3_dbg_cmd_func[i].cmd) { in hns3_dbg_read_cmd() 1341 data[i].cmd = hns3_dbg_cmd[cmd].cmd; in hns3_dbg_bd_file_init() [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | mmc.h | 48 __entry->cmd_opcode = mrq->cmd ? mrq->cmd->opcode : 0; 49 __entry->cmd_arg = mrq->cmd ? mrq->cmd->arg : 0; 50 __entry->cmd_flags = mrq->cmd ? mrq->cmd->flags : 0; 51 __entry->cmd_retries = mrq->cmd ? mrq->cmd->retries : 0; 129 __entry->cmd_opcode = mrq->cmd ? mrq->cmd->opcode : 0; 130 __entry->cmd_err = mrq->cmd ? mrq->cmd->error : 0; 131 __entry->cmd_resp[0] = mrq->cmd ? mrq->cmd->resp[0] : 0; 132 __entry->cmd_resp[1] = mrq->cmd ? mrq->cmd->resp[1] : 0; 133 __entry->cmd_resp[2] = mrq->cmd ? mrq->cmd->resp[2] : 0; 134 __entry->cmd_resp[3] = mrq->cmd ? mrq->cmd->resp[3] : 0; [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_ftp.c | 291 struct nf_conntrack_man *cmd, in find_pattern() argument 385 struct nf_conntrack_man cmd = {}; in help() local 441 cmd.l3num = nf_ct_l3num(ct); in help() 443 sizeof(cmd.u3.all)); in help() 452 &cmd, in help() 487 if ((cmd.l3num == nf_ct_l3num(ct)) && in help() 489 sizeof(cmd.u3.all))) { in help() 494 if (cmd.l3num == PF_INET) { in help() 496 &cmd.u3.ip, in help() 500 cmd.u3.ip6, in help() [all …]
|
/openbmc/linux/drivers/target/ |
H A D | target_core_user.c | 107 int cmd; member 494 #define tcmu_cmd_set_dbi(cmd, index) ((cmd)->dbi[(cmd)->dbi_cur++] = (index)) argument 495 #define tcmu_cmd_get_dbi(cmd) ((cmd)->dbi[(cmd)->dbi_cur++]) argument 591 cmd->dbi_cnt += cmd->dbi_bidi_cnt; in tcmu_cmd_set_block_cnts() 1394 tcmu_cmd_free_data(cmd, cmd->dbi_cnt); in tcmu_handle_completion() 1532 cmd->cmd_id, cmd->tcmu_dev->name); in tcmu_check_expired_ring_cmd() 1545 cmd, cmd->tcmu_dev->name); in tcmu_check_expired_queue_cmd() 1984 tcmu_cmd_free_data(cmd, cmd->dbi_cnt); in tcmu_release() 2030 nl_cmd->cmd = cmd; in tcmu_init_genl_cmd_reply() 2396 tcmu_cmd_free_data(cmd, cmd->dbi_cnt); in tcmu_reset_ring() [all …]
|
/openbmc/phosphor-mboxd/ |
H A D | mboxctl.c | 176 msg.cmd = DBUS_C_PING; in handle_cmd_ping() 184 rc = -resp.cmd; in handle_cmd_ping() 209 rc = -resp.cmd; in handle_cmd_daemon_state() 242 rc = -resp.cmd; in handle_cmd_lpc_state() 264 msg.cmd = DBUS_C_KILL; in handle_cmd_kill() 272 rc = -resp.cmd; in handle_cmd_kill() 283 msg.cmd = DBUS_C_RESET; in handle_cmd_reset() 291 rc = -resp.cmd; in handle_cmd_reset() 310 rc = -resp.cmd; in handle_cmd_suspend() 351 rc = -resp.cmd; in handle_cmd_resume() [all …]
|
/openbmc/linux/net/atm/ |
H A D | ioctl.c | 63 switch (cmd) { in do_vcc_ioctl() 159 error = ic->ioctl(sock, cmd, arg); in do_vcc_ioctl() 170 if (cmd == ATM_GETNAMES) { in do_vcc_ioctl() 220 return do_vcc_ioctl(sock, cmd, arg, 0); in vcc_ioctl() 254 unsigned int cmd; member 305 unsigned int cmd = 0; in do_atm_ioctl() local 321 cmd = atm_ioctl_map[i].cmd; in do_atm_ioctl() 328 switch (cmd) { in do_atm_ioctl() 330 return do_atm_iobuf(sock, cmd, arg); in do_atm_ioctl() 348 return do_atmif_sioc(sock, cmd, arg); in do_atm_ioctl() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_logging.c | 180 void scsi_print_command(struct scsi_cmnd *cmd) in scsi_print_command() argument 191 scmd_name(cmd), scsi_cmd_to_rq(cmd)->tag); in scsi_print_command() 199 cmd->cmnd); in scsi_print_command() 204 if (cmd->cmd_len > 16) { in scsi_print_command() 208 for (k = 0; k < cmd->cmd_len; k += 16) { in scsi_print_command() 209 size_t linelen = min(cmd->cmd_len - k, 16); in scsi_print_command() 212 scmd_name(cmd), in scsi_print_command() 213 scsi_cmd_to_rq(cmd)->tag); in scsi_print_command() 217 hex_dump_to_buffer(&cmd->cmnd[k], linelen, in scsi_print_command() 228 hex_dump_to_buffer(cmd->cmnd, cmd->cmd_len, 16, 1, in scsi_print_command() [all …]
|
H A D | esp_scsi.c | 467 struct scsi_cmnd *cmd = ent->cmd; in esp_save_pointers() local 482 struct scsi_cmnd *cmd = ent->cmd; in esp_restore_pointers() local 659 struct scsi_cmnd *cmd = ent->cmd; in esp_autosense() local 709 struct scsi_cmnd *cmd = ent->cmd; in find_and_prep_issuable_command() local 759 cmd = ent->cmd; in esp_maybe_execute_command() 966 ent->cmd = cmd; in esp_queuecommand_lck() 1232 cmd = ent->cmd; in esp_finish_select() 1452 struct scsi_cmnd *cmd = ent->cmd; in esp_msgin_reject() local 2502 cmd, cmd->cmnd[0]); in esp_eh_abort_handler() 2523 if (tmp->cmd == cmd) { in esp_eh_abort_handler() [all …]
|
/openbmc/qemu/tests/docker/ |
H A D | docker.py | 82 for cmd in commands: 88 return cmd 250 cmd = ["ps", "-q"] 252 cmd.append("-a") 263 cmd.append(filter) 365 cmd = [ "-u", str(uid) ] + cmd 650 cmd = ["-w", cwd, 656 cmd += argv 671 cmd = cls() 672 subp = subparsers.add_parser(cmd.name, help=cmd.__doc__) [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | toshsd.c | 149 host->cmd = NULL; in toshsd_finish_request() 167 if (host->cmd) { in toshsd_thread_irq() 207 struct mmc_command *cmd = host->cmd; in toshsd_cmd_irq() local 211 if (!host->cmd) { in toshsd_cmd_irq() 216 host->cmd = NULL; in toshsd_cmd_irq() 218 if (cmd->flags & MMC_RSP_PRESENT && cmd->flags & MMC_RSP_136) { in toshsd_cmd_irq() 255 cmd->opcode, cmd->error, cmd->flags); in toshsd_cmd_irq() 348 if (host->cmd) in toshsd_irq() 413 cmd->resp[0] = cmd->opcode; in toshsd_start_cmd() 414 cmd->resp[1] = 0; in toshsd_start_cmd() [all …]
|
H A D | mmc_spi.c | 229 cmd->opcode, maptype(cmd)); in mmc_spi_response_get() 291 cmd->error = 0; in mmc_spi_response_get() 296 & cmd->resp[0]) in mmc_spi_response_get() 303 & cmd->resp[0]) in mmc_spi_response_get() 318 timeout_ms = cmd->busy_timeout ? cmd->busy_timeout : in mmc_spi_response_get() 348 cmd->resp[1] = 0; in mmc_spi_response_get() 383 tag, cmd->resp[0], cmd->resp[1]); in mmc_spi_response_get() 481 cmd->opcode, maptype(cmd)); in mmc_spi_command_send() 915 cmd = mrq->cmd; in mmc_spi_request() 922 cmd = mrq->stop; in mmc_spi_request() [all …]
|
H A D | rtsx_pci_sdmmc.c | 233 timeout = cmd->busy_timeout ? cmd->busy_timeout : 3000; in sd_send_cmd_get_rsp() 335 __func__, cmd->opcode, cmd->arg); in sd_read_data() 388 __func__, cmd->opcode, cmd->arg); in sd_write_data() 394 if (cmd->error) in sd_write_data() 433 struct mmc_command *cmd = mrq->cmd; in sd_read_long_data() local 442 __func__, cmd->opcode, cmd->arg); in sd_read_long_data() 491 struct mmc_command *cmd = mrq->cmd; in sd_write_long_data() local 503 __func__, cmd->opcode, cmd->arg); in sd_write_long_data() 584 struct mmc_command *cmd = mrq->cmd; in sd_normal_rw() local 804 struct mmc_command *cmd = mrq->cmd; in sd_request() local [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | amplc_pc236_common.c | 68 struct comedi_cmd *cmd) in pc236_intr_cmdtest() argument 74 err |= comedi_check_trigger_src(&cmd->start_src, TRIG_NOW); in pc236_intr_cmdtest() 75 err |= comedi_check_trigger_src(&cmd->scan_begin_src, TRIG_EXT); in pc236_intr_cmdtest() 76 err |= comedi_check_trigger_src(&cmd->convert_src, TRIG_FOLLOW); in pc236_intr_cmdtest() 78 err |= comedi_check_trigger_src(&cmd->stop_src, TRIG_NONE); in pc236_intr_cmdtest() 88 err |= comedi_check_trigger_arg_is(&cmd->start_arg, 0); in pc236_intr_cmdtest() 89 err |= comedi_check_trigger_arg_is(&cmd->scan_begin_arg, 0); in pc236_intr_cmdtest() 90 err |= comedi_check_trigger_arg_is(&cmd->convert_arg, 0); in pc236_intr_cmdtest() 91 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in pc236_intr_cmdtest() 92 cmd->chanlist_len); in pc236_intr_cmdtest() [all …]
|
H A D | ni_atmio16d.c | 235 struct comedi_cmd *cmd) in atmio16d_ai_cmdtest() argument 272 cmd->chanlist_len); in atmio16d_ai_cmdtest() 274 if (cmd->stop_src == TRIG_COUNT) in atmio16d_ai_cmdtest() 289 struct comedi_cmd *cmd = &s->async->cmd; in atmio16d_ai_cmd() local 302 if (cmd->chanlist_len < 2) { in atmio16d_ai_cmd() 314 chan = CR_CHAN(cmd->chanlist[i]); in atmio16d_ai_cmd() 318 if (i == cmd->scan_end_arg - 1) in atmio16d_ai_cmd() 327 if (cmd->convert_arg < 65536000) { in atmio16d_ai_cmd() 329 timer = cmd->convert_arg / 1000; in atmio16d_ai_cmd() 348 sample_count = cmd->stop_arg * cmd->scan_end_arg; in atmio16d_ai_cmd() [all …]
|
/openbmc/linux/include/linux/mfd/ |
H A D | dln2.h | 5 #define DLN2_CMD(cmd, id) ((cmd) | ((id) << 8)) argument 64 int dln2_transfer(struct platform_device *pdev, u16 cmd, 81 static inline int dln2_transfer_rx(struct platform_device *pdev, u16 cmd, in dln2_transfer_rx() argument 84 return dln2_transfer(pdev, cmd, NULL, 0, ibuf, ibuf_len); in dln2_transfer_rx() 98 static inline int dln2_transfer_tx(struct platform_device *pdev, u16 cmd, in dln2_transfer_tx() argument 101 return dln2_transfer(pdev, cmd, obuf, obuf_len, NULL, NULL); in dln2_transfer_tx()
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_clocking.c | 146 sja1105_packing(buf, &cmd->clksrc, 28, 24, size, op); in sja1105_cgu_mii_control_packing() 147 sja1105_packing(buf, &cmd->autoblock, 11, 11, size, op); in sja1105_cgu_mii_control_packing() 148 sja1105_packing(buf, &cmd->pd, 0, 0, size, op); in sja1105_cgu_mii_control_packing() 376 sja1105_packing(buf, &cmd->d32_os, 28, 27, size, op); in sja1105_cfg_pad_mii_packing() 377 sja1105_packing(buf, &cmd->d32_ih, 26, 26, size, op); in sja1105_cfg_pad_mii_packing() 378 sja1105_packing(buf, &cmd->d32_ipud, 25, 24, size, op); in sja1105_cfg_pad_mii_packing() 379 sja1105_packing(buf, &cmd->d10_os, 20, 19, size, op); in sja1105_cfg_pad_mii_packing() 380 sja1105_packing(buf, &cmd->d10_ih, 18, 18, size, op); in sja1105_cfg_pad_mii_packing() 381 sja1105_packing(buf, &cmd->d10_ipud, 17, 16, size, op); in sja1105_cfg_pad_mii_packing() 382 sja1105_packing(buf, &cmd->ctrl_os, 12, 11, size, op); in sja1105_cfg_pad_mii_packing() [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | synth_event_gen_test.c | 47 struct dynevent_cmd cmd; in test_gen_synth_cmd() local 58 synth_event_cmd_init(&cmd, buf, MAX_DYNEVENT_CMD_LEN); in test_gen_synth_cmd() 74 ret = synth_event_add_field(&cmd, "unsigned int", "cpu"); in test_gen_synth_cmd() 82 ret = synth_event_add_field(&cmd, "int", "my_int_field"); in test_gen_synth_cmd() 86 ret = synth_event_gen_cmd_end(&cmd); in test_gen_synth_cmd() 138 struct dynevent_cmd cmd; in test_empty_synth_event() local 149 synth_event_cmd_init(&cmd, buf, MAX_DYNEVENT_CMD_LEN); in test_empty_synth_event() 168 ret = synth_event_add_field(&cmd, "u64", "ts_ns"); in test_empty_synth_event() 172 ret = synth_event_add_field(&cmd, "u64", "ts_ms"); in test_empty_synth_event() 176 ret = synth_event_add_field(&cmd, "unsigned int", "cpu"); in test_empty_synth_event() [all …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | rpmh.c | 31 .cmds = name.cmd, \ 35 .cmd = { { 0 } }, \ 113 struct tcs_cmd *cmd) in cache_rpm_request() argument 130 req->addr = cmd->addr; in cache_rpm_request() 141 req->wake_val = cmd->data; in cache_rpm_request() 144 req->sleep_val = cmd->data; in cache_rpm_request() 202 memcpy(req->cmd, cmd, n * sizeof(*cmd)); in __fill_rpmh_msg() 205 req->msg.cmds = req->cmd; in __fill_rpmh_msg() 334 if (!cmd || !n) in rpmh_write_batch() 356 cmd += n[i]; in rpmh_write_batch() [all …]
|
/openbmc/linux/sound/soc/fsl/ |
H A D | imx-pcm-rpmsg.c | 73 msg->s_msg.header.cmd); in imx_rpmsg_pcm_send_message() 89 switch (msg->s_msg.header.cmd) { in imx_rpmsg_pcm_send_message() 238 int cmd; in imx_rpmsg_pcm_open() local 242 msg->s_msg.header.cmd = TX_OPEN; in imx_rpmsg_pcm_open() 252 msg->s_msg.header.cmd = RX_OPEN; in imx_rpmsg_pcm_open() 296 msg->s_msg.header.cmd = TX_CLOSE; in imx_rpmsg_pcm_close() 299 msg->s_msg.header.cmd = RX_CLOSE; in imx_rpmsg_pcm_close() 387 msg->s_msg.header.cmd = TX_START; in imx_rpmsg_async_issue_pending() 390 msg->s_msg.header.cmd = RX_START; in imx_rpmsg_async_issue_pending() 435 int cmd; in imx_rpmsg_terminate_all() local [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 271 | 97 unset c sc off len cmd 101 cmd="write -q -z";; 103 cmd="write -q -z -u";; 109 cmd="write -q -P ${pat}";; 111 cmd="discard -q";; 121 cmd="$cmd ${offset} ${len}" 191 _run_test sc=1 len=2k cmd=zero 195 _run_test sc=0 len=64k cmd=zero 203 _run_test sc=0 len=32k cmd=unmap 207 _run_test sc=0 len=64k cmd=unmap [all …]
|