/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | dp_tx.c | 785 __func__, cmd->ring_msi_addr_lo, cmd->ring_msi_addr_hi, in ath12k_dp_tx_htt_srng_setup() 790 ring_id, ring_type, cmd->intr_info, cmd->info2); in ath12k_dp_tx_htt_srng_setup() 915 cmd->info0 |= in ath12k_dp_tx_htt_rx_filter_setup() 919 cmd->info0 |= in ath12k_dp_tx_htt_rx_filter_setup() 999 memset(cmd, 0, sizeof(*cmd)); in ath12k_dp_tx_htt_h2t_ext_stats_req() 1120 cmd->info0 |= in ath12k_dp_tx_htt_tx_filter_setup() 1124 cmd->info0 |= in ath12k_dp_tx_htt_tx_filter_setup() 1134 cmd->info1 |= in ath12k_dp_tx_htt_tx_filter_setup() 1139 cmd->info1 |= in ath12k_dp_tx_htt_tx_filter_setup() 1142 cmd->info1 |= in ath12k_dp_tx_htt_tx_filter_setup() [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | das16m1.c | 140 struct comedi_cmd *cmd) in das16m1_ai_check_chanlist() argument 144 if (cmd->chanlist_len == 1) in das16m1_ai_check_chanlist() 206 cmd->chanlist_len); in das16m1_ai_cmdtest() 229 if (cmd->chanlist && cmd->chanlist_len > 0) in das16m1_ai_cmdtest() 243 struct comedi_cmd *cmd = &async->cmd; in das16m1_ai_cmd() local 263 das16m1_ai_set_queue(dev, cmd->chanlist, cmd->chanlist_len); in das16m1_ai_cmd() 281 if (cmd->start_src == TRIG_EXT && cmd->convert_src != TRIG_EXT) in das16m1_ai_cmd() 378 struct comedi_cmd *cmd = &async->cmd; in das16m1_handler() local 406 if (num_samples > cmd->stop_arg * cmd->chanlist_len) in das16m1_handler() 407 num_samples = cmd->stop_arg * cmd->chanlist_len; in das16m1_handler() [all …]
|
H A D | dmm32at.c | 294 cmd->convert_arg = 20000; in dmm32at_ai_cmdtest() 296 cmd->convert_arg = 15000; in dmm32at_ai_cmdtest() 298 cmd->convert_arg = 10000; in dmm32at_ai_cmdtest() 300 cmd->convert_arg = 5000; in dmm32at_ai_cmdtest() 303 cmd->chanlist_len); in dmm32at_ai_cmdtest() 315 arg = cmd->convert_arg * cmd->scan_end_arg; in dmm32at_ai_cmdtest() 322 if (cmd->chanlist && cmd->chanlist_len > 0) in dmm32at_ai_cmdtest() 365 struct comedi_cmd *cmd = &s->async->cmd; in dmm32at_ai_cmd() local 368 dmm32at_ai_set_chanspec(dev, s, cmd->chanlist[0], cmd->chanlist_len); in dmm32at_ai_cmd() 382 if (cmd->stop_src == TRIG_NONE || cmd->stop_arg > 1) { in dmm32at_ai_cmd() [all …]
|
H A D | das1800.c | 350 struct comedi_cmd *cmd = &s->async->cmd; in das1800_handle_fifo_not_empty() local 450 struct comedi_cmd *cmd = &async->cmd; in das1800_ai_handler() local 600 arg = cmd->convert_arg * cmd->chanlist_len; in das1800_ai_fixup_burst_timing() 668 if (cmd->start_src == TRIG_EXT && cmd->stop_src == TRIG_EXT) in das1800_ai_cmdtest() 670 cmd->stop_arg); in das1800_ai_cmdtest() 716 if (cmd->chanlist && cmd->chanlist_len > 0) in das1800_ai_cmdtest() 748 struct comedi_cmd *cmd = &s->async->cmd; in das1800_ai_transfer_size() local 761 samples = ns / (cmd->scan_begin_arg * cmd->chanlist_len); in das1800_ai_transfer_size() 839 const struct comedi_cmd *cmd = &async->cmd; in das1800_ai_cmd() local 871 if ((cmd->start_arg & CR_INVERT) || (cmd->stop_arg & CR_INVERT)) in das1800_ai_cmd() [all …]
|
H A D | ni_at_a2150.c | 138 struct comedi_cmd *cmd = &async->cmd; in a2150_interrupt() local 178 if (cmd->stop_src == TRIG_NONE) { in a2150_interrupt() 352 struct comedi_cmd *cmd) in a2150_ai_check_chanlist() argument 364 if (cmd->chanlist_len == 3) { in a2150_ai_check_chanlist() 431 cmd->chanlist_len); in a2150_ai_cmdtest() 444 arg = cmd->scan_begin_arg; in a2150_ai_cmdtest() 453 if (cmd->chanlist && cmd->chanlist_len > 0) in a2150_ai_cmdtest() 468 struct comedi_cmd *cmd = &async->cmd; in a2150_ai_cmd() local 496 a2150_get_timing(dev, &cmd->scan_begin_arg, cmd->flags); in a2150_ai_cmd() 502 devpriv->count = cmd->stop_arg * cmd->chanlist_len; in a2150_ai_cmd() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | qlogicfas408.c | 256 priv->qlcmd = cmd; in ql_icmd() 309 reqlen = scsi_bufflen(cmd); in ql_pcmd() 321 scsi_for_each_sg(cmd, sg, scsi_sg_count(cmd), i) { in ql_pcmd() 324 set_host_byte(cmd, in ql_pcmd() 339 set_host_byte(cmd, k); in ql_pcmd() 366 set_host_byte(cmd, in ql_pcmd() 373 set_host_byte(cmd, k); in ql_pcmd() 392 set_host_byte(cmd, k); in ql_pcmd() 409 set_host_byte(cmd, in ql_pcmd() 476 done(cmd); in qlogicfas408_queuecommand_lck() [all …]
|
H A D | sr_ioctl.c | 171 cgc.cmd[4] = ti->cdti_trk0; in sr_play_trkind() 172 cgc.cmd[5] = ti->cdti_ind0; in sr_play_trkind() 173 cgc.cmd[7] = ti->cdti_trk1; in sr_play_trkind() 406 cgc.cmd[8] = 24; in sr_get_mcn() 461 switch (cmd) { in sr_audio_ioctl() 503 cgc.cmd[8] = 1; in sr_read_cd() 506 cgc.cmd[9] = 0x58; in sr_read_cd() 509 cgc.cmd[9] = 0x78; in sr_read_cd() 512 cgc.cmd[9] = 0xf8; in sr_read_cd() 515 cgc.cmd[9] = 0x10; in sr_read_cd() [all …]
|
H A D | ch.c | 248 memset(cmd,0,sizeof(cmd)); in ch_read_element_status() 255 cmd[5] = 1; in ch_read_element_status() 256 cmd[9] = 255; in ch_read_element_status() 285 memset(cmd,0,sizeof(cmd)); in ch_init_elem() 305 memset(cmd,0,sizeof(cmd)); in ch_readconfig() 309 cmd[4] = 255; in ch_readconfig() 430 memset(cmd,0,sizeof(cmd)); in ch_position() 449 memset(cmd,0,sizeof(cmd)); in ch_move() 472 memset(cmd,0,sizeof(cmd)); in ch_exchange() 520 memset(cmd,0,sizeof(cmd)); in ch_set_voltag() [all …]
|
/openbmc/qemu/tests/rocker/ |
H A D | bridge-stp | 12 simp ssh tut sw1 --cmd "sudo brctl stp br0 on" 30 simp ssh tut h1 --cmd "sudo ifconfig sw1p1 11.0.0.1/24" 31 simp ssh tut h2 --cmd "sudo ifconfig sw1p1 11.0.0.2/24" 35 simp ssh tut sw1 --cmd "sudo ifconfig br0 up" 36 simp ssh tut sw1 --cmd "sudo ifconfig sw1p1 up" 37 simp ssh tut sw1 --cmd "sudo ifconfig sw1p2 up" 44 simp ssh tut h1 --cmd "ping -c10 11.0.0.2 >/dev/null" 46 simp ssh tut h1 --cmd "ping -c10 11.0.0.2 >/dev/null" 48 simp ssh tut h1 --cmd "ping -c10 11.0.0.2 >/dev/null" 50 simp ssh tut h1 --cmd "ping -c10 11.0.0.2 >/dev/null" [all …]
|
H A D | bridge-vlan | 11 simp ssh tut sw1 --cmd "sudo /sbin/ip link add name br0 type bridge" 12 simp ssh tut sw1 --cmd "sudo /sbin/ip link set dev sw1p1 master br0" 13 simp ssh tut sw1 --cmd "sudo /sbin/ip link set dev sw1p2 master br0" 36 simp ssh tut sw1 --cmd "sudo ifconfig br0 up" 37 simp ssh tut sw1 --cmd "sudo ifconfig sw1p1 up" 38 simp ssh tut sw1 --cmd "sudo ifconfig sw1p2 up" 43 simp ssh tut h1 --cmd "sudo ifconfig sw1p1 up" 44 simp ssh tut h1 --cmd "sudo ifconfig sw1p1.57 11.0.0.1/24" 47 simp ssh tut h2 --cmd "sudo ifconfig sw1p1 up" 48 simp ssh tut h2 --cmd "sudo ifconfig sw1p1.57 11.0.0.2/24" [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A D | meson-mx-sdio.c | 146 if (cmd->opcode == MMC_SET_BLOCK_COUNT && !cmd->error) in meson_mx_mmc_get_next_cmd() 147 return cmd->mrq->cmd; in meson_mx_mmc_get_next_cmd() 149 (!cmd->mrq->sbc || cmd->error || cmd->data->error)) in meson_mx_mmc_get_next_cmd() 163 host->cmd = cmd; in meson_mx_mmc_start_cmd() 192 if (cmd->data) { in meson_mx_mmc_start_cmd() 340 struct mmc_command *cmd = mrq->cmd; in meson_mx_mmc_request() local 391 struct mmc_command *cmd = host->cmd; in meson_mx_mmc_process_cmd_irq() local 398 if (!cmd) in meson_mx_mmc_process_cmd_irq() 401 cmd->error = 0; in meson_mx_mmc_process_cmd_irq() 444 struct mmc_command *cmd = host->cmd, *next_cmd; in meson_mx_mmc_irq_thread() local [all …]
|
H A D | meson-mx-sdhc-mmc.c | 142 host->cmd = cmd; in meson_mx_sdhc_start_cmd() 224 if (cmd->data) in meson_mx_sdhc_start_cmd() 230 if (cmd->data) in meson_mx_sdhc_start_cmd() 386 struct mmc_command *cmd = mrq->cmd; in meson_mx_sdhc_request() local 543 struct mmc_command *cmd = host->cmd; in meson_mx_sdhc_irq() local 567 if (cmd->error || (cmd->data && cmd->data->error)) in meson_mx_sdhc_irq() 580 cmd = host->cmd; in meson_mx_sdhc_irq_thread() 584 if (cmd->data && !cmd->data->error) { in meson_mx_sdhc_irq_thread() 604 cmd->data->sg_len, mmc_get_dma_dir(cmd->data)); in meson_mx_sdhc_irq_thread() 606 cmd->data->bytes_xfered = cmd->data->blksz * cmd->data->blocks; in meson_mx_sdhc_irq_thread() [all …]
|
/openbmc/qemu/hw/display/ |
H A D | virtio-gpu-virgl.c | 466 s = iov_to_buf(cmd->elem.out_sg, cmd->elem.out_num, in virgl_cmd_submit_3d() 879 switch (cmd->cmd_hdr.type) { in virtio_gpu_virgl_process_cmd() 893 virgl_cmd_submit_3d(g, cmd); in virtio_gpu_virgl_process_cmd() 931 virgl_cmd_get_capset(g, cmd); in virtio_gpu_virgl_process_cmd() 937 virtio_gpu_get_edid(g, cmd); in virtio_gpu_virgl_process_cmd() 961 if (cmd->error) { in virtio_gpu_virgl_process_cmd() 963 cmd->cmd_hdr.type, cmd->error); in virtio_gpu_virgl_process_cmd() 964 virtio_gpu_ctrl_response_nodata(g, cmd, cmd->error); in virtio_gpu_virgl_process_cmd() 972 trace_virtio_gpu_fence_ctrl(cmd->cmd_hdr.fence_id, cmd->cmd_hdr.type); in virtio_gpu_virgl_process_cmd() 973 virgl_renderer_create_fence(cmd->cmd_hdr.fence_id, cmd->cmd_hdr.type); in virtio_gpu_virgl_process_cmd() [all …]
|
/openbmc/u-boot/drivers/mmc/ |
H A D | mmc.c | 264 cmd.cmdarg = len; in mmc_set_blocklen() 337 cmd.cmdarg = 0; in mmc_send_tuning() 384 cmd.cmdarg = 0; in mmc_read_blocks() 462 cmd.cmdarg = 0; in mmc_go_idle() 489 cmd.cmdarg = 0; in mmc_switch_voltage() 546 cmd.cmdarg = 0; in sd_send_op_cond() 592 cmd.cmdarg = 0; in sd_send_op_cond() 624 cmd.cmdarg = 0; in mmc_send_op_cond_iter() 715 cmd.cmdarg = 0; in mmc_send_ext_csd() 1228 cmd.cmdarg = 0; in sd_get_capabilities() [all …]
|
H A D | mmc_write.c | 19 struct mmc_cmd cmd; in mmc_erase_t() local 38 cmd.cmdidx = start_cmd; in mmc_erase_t() 39 cmd.cmdarg = start; in mmc_erase_t() 40 cmd.resp_type = MMC_RSP_R1; in mmc_erase_t() 46 cmd.cmdidx = end_cmd; in mmc_erase_t() 47 cmd.cmdarg = end; in mmc_erase_t() 53 cmd.cmdidx = MMC_CMD_ERASE; in mmc_erase_t() 54 cmd.cmdarg = MMC_ERASE_ARG; in mmc_erase_t() 132 struct mmc_cmd cmd; in mmc_write_blocks() local 150 cmd.cmdarg = start; in mmc_write_blocks() [all …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_ctx.c | 85 kfree(cmd->req.arg); in qlcnic_free_mbx_args() 86 cmd->req.arg = NULL; in qlcnic_free_mbx_args() 87 kfree(cmd->rsp.arg); in qlcnic_free_mbx_args() 88 cmd->rsp.arg = NULL; in qlcnic_free_mbx_args() 125 return cmd->rsp.arg[0]; in qlcnic_82xx_issue_cmd() 171 return cmd->rsp.arg[0]; in qlcnic_82xx_issue_cmd() 194 cmd.req.arg[1] = arg1; in qlcnic_fw_cmd_set_drv_version() 195 cmd.req.arg[2] = arg2; in qlcnic_fw_cmd_set_drv_version() 196 cmd.req.arg[3] = arg3; in qlcnic_fw_cmd_set_drv_version() 222 cmd.req.arg[2] = mtu; in qlcnic_fw_cmd_set_mtu() [all …]
|
/openbmc/linux/drivers/bus/fsl-mc/ |
H A D | mc-sys.c | 38 u16 mc_cmd_hdr_read_cmdid(struct fsl_mc_command *cmd) in mc_cmd_hdr_read_cmdid() argument 98 struct fsl_mc_command *cmd) in mc_write_command() argument 160 struct fsl_mc_command *cmd, in mc_polling_wait_preemptible() argument 186 (unsigned int)mc_cmd_hdr_read_token(cmd), in mc_polling_wait_preemptible() 187 (unsigned int)mc_cmd_hdr_read_cmdid(cmd)); in mc_polling_wait_preemptible() 206 struct fsl_mc_command *cmd, in mc_polling_wait_atomic() argument 226 (unsigned int)mc_cmd_hdr_read_token(cmd), in mc_polling_wait_atomic() 227 (unsigned int)mc_cmd_hdr_read_cmdid(cmd)); in mc_polling_wait_atomic() 262 mc_write_command(mc_io->portal_virt_addr, cmd); in mc_send_command() 279 (unsigned int)mc_cmd_hdr_read_token(cmd), in mc_send_command() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/bios/ |
H A D | command_table2.c | 114 union dmub_rb_cmd cmd; in encoder_control_dmcub() local 116 memset(&cmd, 0, sizeof(cmd)); in encoder_control_dmcub() 250 union dmub_rb_cmd cmd; in transmitter_control_dmcub() local 252 memset(&cmd, 0, sizeof(cmd)); in transmitter_control_dmcub() 312 union dmub_rb_cmd cmd; in transmitter_control_dmcub_v1_7() local 314 memset(&cmd, 0, sizeof(cmd)); in transmitter_control_dmcub_v1_7() 421 union dmub_rb_cmd cmd; in set_pixel_clock_dmcub() local 423 memset(&cmd, 0, sizeof(cmd)); in set_pixel_clock_dmcub() 787 union dmub_rb_cmd cmd; in enable_disp_power_gating_dmcub() local 789 memset(&cmd, 0, sizeof(cmd)); in enable_disp_power_gating_dmcub() [all …]
|
/openbmc/linux/drivers/acpi/nfit/ |
H A D | intel.c | 142 if (nd_cmd.cmd.status) in intel_security_freeze() 165 .nd_command = cmd, in intel_security_change_key() 181 switch (nd_cmd.cmd.status) { in intel_security_change_key() 220 switch (nd_cmd.cmd.status) { in intel_security_unlock() 259 switch (nd_cmd.cmd.status) { in intel_security_disable() 289 .nd_command = cmd, in intel_security_erase() 302 switch (nd_cmd.cmd.status) { in intel_security_erase() 427 *info = nd_cmd.cmd; in intel_bus_fwa_businfo() 540 .cmd = { in intel_bus_fwa_activate() 601 *info = nd_cmd.cmd; in intel_fwa_dimminfo() [all …]
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_shader.c | 207 } *cmd; in vmw_gb_shader_create() local 223 cmd = VMW_CMD_RESERVE(dev_priv, sizeof(*cmd)); in vmw_gb_shader_create() 230 cmd->header.size = sizeof(cmd->body); in vmw_gb_shader_create() 252 } *cmd; in vmw_gb_shader_bind() local 262 cmd->header.size = sizeof(cmd->body); in vmw_gb_shader_bind() 280 } *cmd; in vmw_gb_shader_unbind() local 290 cmd->header.size = sizeof(cmd->body); in vmw_gb_shader_unbind() 317 } *cmd; in vmw_gb_shader_destroy() local 332 cmd->header.size = sizeof(cmd->body); in vmw_gb_shader_destroy() 400 cmd->header.size = sizeof(cmd->body); in vmw_dx_shader_unscrub() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dmub_outbox.c | 41 union dmub_rb_cmd cmd; in dmub_enable_outbox_notification() local 43 memset(&cmd, 0x0, sizeof(cmd)); in dmub_enable_outbox_notification() 44 cmd.outbox1_enable.header.type = DMUB_CMD__OUTBOX1_ENABLE; in dmub_enable_outbox_notification() 45 cmd.outbox1_enable.header.sub_type = 0; in dmub_enable_outbox_notification() 46 cmd.outbox1_enable.header.payload_bytes = in dmub_enable_outbox_notification() 47 sizeof(cmd.outbox1_enable) - in dmub_enable_outbox_notification() 48 sizeof(cmd.outbox1_enable.header); in dmub_enable_outbox_notification() 49 cmd.outbox1_enable.enable = true; in dmub_enable_outbox_notification() 51 dm_execute_dmub_cmd(dmub_srv->ctx, &cmd, DM_DMUB_WAIT_TYPE_WAIT); in dmub_enable_outbox_notification()
|
H A D | dmub_hw_lock_mgr.c | 36 union dmub_rb_cmd cmd; in dmub_hw_lock_mgr_cmd() local 38 memset(&cmd, 0, sizeof(cmd)); in dmub_hw_lock_mgr_cmd() 39 cmd.lock_hw.header.type = DMUB_CMD__HW_LOCK; in dmub_hw_lock_mgr_cmd() 40 cmd.lock_hw.header.sub_type = 0; in dmub_hw_lock_mgr_cmd() 41 cmd.lock_hw.header.payload_bytes = sizeof(struct dmub_cmd_lock_hw_data); in dmub_hw_lock_mgr_cmd() 42 cmd.lock_hw.lock_hw_data.client = HW_LOCK_CLIENT_DRIVER; in dmub_hw_lock_mgr_cmd() 43 cmd.lock_hw.lock_hw_data.lock = lock; in dmub_hw_lock_mgr_cmd() 44 cmd.lock_hw.lock_hw_data.hw_locks.u8All = hw_locks->u8All; in dmub_hw_lock_mgr_cmd() 45 memcpy(&cmd.lock_hw.lock_hw_data.inst_flags, inst_flags, sizeof(struct dmub_hw_lock_inst_flags)); in dmub_hw_lock_mgr_cmd() 48 cmd.lock_hw.lock_hw_data.should_release = 1; in dmub_hw_lock_mgr_cmd() [all …]
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_trace.h | 22 TP_PROTO(struct cros_ec_command *cmd), 23 TP_ARGS(cmd), 32 __entry->version = cmd->version; 35 __entry->outsize = cmd->outsize; 36 __entry->insize = cmd->insize; 45 TP_PROTO(struct cros_ec_command *cmd, int retval), 46 TP_ARGS(cmd, retval), 57 __entry->version = cmd->version; 60 __entry->outsize = cmd->outsize; 61 __entry->insize = cmd->insize; [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_nvm.c | 830 cmd->command, cmd->config, cmd->offset, cmd->data_size); in i40e_nvmupd_command() 1298 cmd->data_size); in i40e_nvmupd_validate_command() 1427 if (cmd->offset) in i40e_nvmupd_exec_aq() 1443 if (cmd->offset) { in i40e_nvmupd_exec_aq() 1483 if (cmd->data_size > (aq_total_len - cmd->offset)) { in i40e_nvmupd_get_aq_result() 1497 __func__, cmd->offset, cmd->offset + len); in i40e_nvmupd_get_aq_result() 1579 status = i40e_aq_read_nvm(hw, module, cmd->offset, (u16)cmd->data_size, in i40e_nvmupd_nvm_read() 1584 module, cmd->offset, cmd->data_size); in i40e_nvmupd_nvm_read() 1618 status = i40e_aq_erase_nvm(hw, module, cmd->offset, (u16)cmd->data_size, in i40e_nvmupd_nvm_erase() 1623 module, cmd->offset, cmd->data_size); in i40e_nvmupd_nvm_erase() [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | target.h | 134 TP_PROTO(struct se_cmd *cmd), 136 TP_ARGS(cmd), 151 __entry->tag = cmd->tag; 152 __entry->opcode = cmd->t_task_cdb[0]; 153 __entry->data_length = cmd->data_length; 171 TP_PROTO(struct se_cmd *cmd), 173 TP_ARGS(cmd), 191 __entry->tag = cmd->tag; 192 __entry->opcode = cmd->t_task_cdb[0]; 193 __entry->data_length = cmd->data_length; [all …]
|