/openbmc/qemu/tests/qemu-iotests/ |
H A D | 245 | 70 def run_qemu_io(self, img, cmd): argument 71 result = self.vm.hmp_qemu_io(img, cmd) 139 self.vm.cmd('blockdev-add', conv_keys = False, **opts) 181 self.vm.cmd('blockdev-add', conv_keys = False, **opts) 229 self.vm.cmd('blockdev-add', conv_keys = False, **opts) 577 self.vm.cmd('object-add', conv_keys = False, **opts) 711 self.vm.cmd('blockdev-del', conv_keys = True, 778 self.vm.cmd('object-add', conv_keys = False, **opts) 815 self.vm.cmd('object-del', id = 'group1') 821 self.vm.cmd('object-del', id = 'group0') [all …]
|
/openbmc/linux/drivers/net/wireless/ath/carl9170/ |
H A D | cmd.c | 125 tmp->hdr.cmd = cmd; in carl9170_cmd_buf() 134 struct carl9170_cmd *cmd; in carl9170_reboot() local 138 if (!cmd) in carl9170_reboot() 141 err = __carl9170_exec_cmd(ar, cmd, true); in carl9170_reboot() 154 struct carl9170_cmd *cmd; in carl9170_bcn_ctrl() local 158 if (!cmd) in carl9170_bcn_ctrl() 162 cmd->bcn_ctrl.mode = cpu_to_le32(mode); in carl9170_bcn_ctrl() 164 cmd->bcn_ctrl.bcn_len = cpu_to_le32(len); in carl9170_bcn_ctrl() 204 struct carl9170_cmd *cmd; in carl9170_powersave() local 209 if (!cmd) in carl9170_powersave() [all …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | rtd520.c | 579 struct comedi_cmd *cmd = &async->cmd; in ai_read_n() local 792 cmd->chanlist_len); in rtd_ai_cmdtest() 805 arg = cmd->scan_begin_arg; in rtd_ai_cmdtest() 811 arg = cmd->convert_arg; in rtd_ai_cmdtest() 816 arg = cmd->convert_arg * cmd->scan_end_arg; in rtd_ai_cmdtest() 831 struct comedi_cmd *cmd = &s->async->cmd; in rtd_ai_cmd() local 845 rtd_load_channelgain_list(dev, cmd->chanlist_len, cmd->chanlist); in rtd_ai_cmd() 878 cmd->scan_begin_arg; in rtd_ai_cmd() 885 cmd->chanlist_len); in rtd_ai_cmd() 911 switch (cmd->stop_src) { in rtd_ai_cmd() [all …]
|
H A D | dt2814.c | 164 err |= comedi_check_trigger_is_unique(cmd->stop_src); in dt2814_ai_cmdtest() 179 err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg, in dt2814_ai_cmdtest() 180 cmd->chanlist_len); in dt2814_ai_cmdtest() 182 if (cmd->stop_src == TRIG_COUNT) in dt2814_ai_cmdtest() 192 arg = cmd->scan_begin_arg; in dt2814_ai_cmdtest() 193 dt2814_ns_to_timer(&arg, cmd->flags); in dt2814_ai_cmdtest() 204 struct comedi_cmd *cmd = &s->async->cmd; in dt2814_ai_cmd() local 209 trigvar = dt2814_ns_to_timer(&cmd->scan_begin_arg, cmd->flags); in dt2814_ai_cmd() 211 chan = CR_CHAN(cmd->chanlist[0]); in dt2814_ai_cmd() 281 if (async->cmd.stop_src == TRIG_COUNT && in dt2814_interrupt() [all …]
|
H A D | cb_pcidas64.c | 2214 if (cmd->chanlist && cmd->chanlist_len > 0) in ai_cmdtest() 2280 (cmd->convert_arg * (cmd->chanlist_len - 1))) / in ai_scan_counter_6xxx() 2438 (CR_CHAN(cmd->chanlist[cmd->chanlist_len - 1])), in setup_channel_queue() 2557 struct comedi_cmd *cmd = &async->cmd; in ai_cmd() local 2816 struct comedi_cmd *cmd = &async->cmd; in handle_ai_interrupt() local 3001 cmd = &async->cmd; in handle_ao_interrupt() 3268 struct comedi_cmd *cmd = &s->async->cmd; in ao_inttrig() local 3291 struct comedi_cmd *cmd = &s->async->cmd; in ao_cmd() local 3375 if (get_ao_divisor(cmd->scan_begin_arg, cmd->flags) > in ao_cmdtest() 3394 cmd->scan_begin_arg = get_divisor(cmd->scan_begin_arg, in ao_cmdtest() [all …]
|
H A D | quatech_daqp_cs.c | 214 struct comedi_cmd *cmd = &s->async->cmd; in daqp_interrupt() local 237 if (cmd->stop_src == TRIG_COUNT && in daqp_interrupt() 372 struct comedi_cmd *cmd) in daqp_ai_cmdtest() argument 400 if (cmd->scan_begin_src != TRIG_TIMER && cmd->convert_src != TRIG_TIMER) in daqp_ai_cmdtest() 412 cmd->chanlist_len); in daqp_ai_cmdtest() 429 arg = cmd->convert_arg * cmd->scan_end_arg; in daqp_ai_cmdtest() 435 if (cmd->stop_src == TRIG_COUNT) in daqp_ai_cmdtest() 446 arg = cmd->convert_arg; in daqp_ai_cmdtest() 450 arg = cmd->scan_begin_arg; in daqp_ai_cmdtest() 464 struct comedi_cmd *cmd = &s->async->cmd; in daqp_ai_cmd() local [all …]
|
H A D | adv_pci1710.c | 182 struct comedi_cmd *cmd) in pci1710_ai_check_chanlist() argument 192 if (cmd->chanlist_len == 1) { in pci1710_ai_check_chanlist() 204 if (cmd->chanlist[0] == cmd->chanlist[i]) in pci1710_ai_check_chanlist() 395 struct comedi_cmd *cmd = &s->async->cmd; in pci1710_handle_every_sample() local 439 struct comedi_cmd *cmd = &async->cmd; in pci1710_handle_fifo() local 484 struct comedi_cmd *cmd; in pci1710_irq_handler() local 490 cmd = &s->async->cmd; in pci1710_irq_handler() 511 if (cmd->flags & CMDF_WAKE_EOS) in pci1710_irq_handler() 524 struct comedi_cmd *cmd = &s->async->cmd; in pci1710_ai_cmd() local 526 pci1710_ai_setup_chanlist(dev, s, cmd->chanlist, cmd->chanlist_len, in pci1710_ai_cmd() [all …]
|
H A D | dt2811.c | 197 struct comedi_cmd *cmd = &async->cmd; in dt2811_interrupt() local 219 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in dt2811_interrupt() 255 struct comedi_cmd *cmd = &s->async->cmd; in dt2811_ai_cmd() local 258 if (cmd->start_src == TRIG_NOW) { in dt2811_ai_cmd() 391 struct comedi_cmd *cmd) in dt2811_ai_cmdtest() argument 417 if (cmd->convert_src == TRIG_EXT && cmd->start_src != TRIG_EXT) in dt2811_ai_cmdtest() 427 if (cmd->convert_src == TRIG_TIMER) in dt2811_ai_cmdtest() 430 cmd->chanlist_len); in dt2811_ai_cmdtest() 431 if (cmd->stop_src == TRIG_COUNT) in dt2811_ai_cmdtest() 441 if (cmd->convert_src == TRIG_TIMER) { in dt2811_ai_cmdtest() [all …]
|
/openbmc/linux/drivers/net/wireless/marvell/libertas/ |
H A D | cfg.c | 908 memset(&cmd, 0, sizeof(cmd)); in lbs_remove_wep_keys() 909 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); in lbs_remove_wep_keys() 949 memset(&cmd, 0, sizeof(cmd)); in lbs_set_wep_keys() 996 memset(&cmd, 0, sizeof(cmd)); in lbs_enable_rsn() 997 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); in lbs_enable_rsn() 1045 memset(&cmd, 0, sizeof(cmd)); in lbs_set_key_material() 1083 memset(&cmd, 0, sizeof(cmd)); in lbs_set_authtype() 1453 memset(&cmd, 0, sizeof(cmd)); in lbs_disconnect() 1811 memset(&cmd, 0, sizeof(cmd)); in lbs_ibss_join_existing() 1924 memset(&cmd, 0, sizeof(cmd)); in lbs_ibss_start_new() [all …]
|
H A D | mesh.c | 31 cmd->hdr.size = cpu_to_le16(sizeof(*cmd)); in lbs_mesh_access() 32 cmd->hdr.result = 0; in lbs_mesh_access() 58 cmd->hdr.result = 0; in __lbs_mesh_config_send() 93 memset(&cmd, 0, sizeof(cmd)); in lbs_mesh_config() 401 memset(&cmd, 0, sizeof(cmd)); in bootflag_store() 454 memset(&cmd, 0, sizeof(cmd)); in boottime_store() 465 cmd.data[0] = datum; in boottime_store() 516 memset(&cmd, 0, sizeof(cmd)); in channel_store() 647 memset(&cmd, 0, sizeof(cmd)); in protocol_id_store() 706 memset(&cmd, 0, sizeof(cmd)); in metric_id_store() [all …]
|
/openbmc/linux/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-comp.c | 79 struct mdp_cmdq_cmd *cmd, in config_rdma_frame() argument 92 MM_REG_WRITE(cmd, subsys_id, base, in config_rdma_frame() 116 MM_REG_WRITE(cmd, subsys_id, in config_rdma_frame() 121 MM_REG_WRITE(cmd, subsys_id, in config_rdma_frame() 128 MM_REG_WRITE(cmd, subsys_id, in config_rdma_frame() 290 struct mdp_cmdq_cmd *cmd, in config_rsz_frame() argument 359 MM_REG_WRITE(cmd, subsys_id, in config_rsz_subfrm() 372 MM_REG_WRITE(cmd, subsys_id, in config_rsz_subfrm() 377 MM_REG_WRITE(cmd, subsys_id, in config_rsz_subfrm() 434 struct mdp_cmdq_cmd *cmd, in config_wrot_frame() argument [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | cpuid.c | 54 cpuid_count(cmd->regs.eax, cmd->regs.ecx, in cpuid_smp_cpuid() 55 &cmd->regs.eax, &cmd->regs.ebx, in cpuid_smp_cpuid() 56 &cmd->regs.ecx, &cmd->regs.edx); in cpuid_smp_cpuid() 58 complete(&cmd->done); in cpuid_smp_cpuid() 65 struct cpuid_regs_done cmd; in cpuid_read() local 74 init_completion(&cmd.done); in cpuid_read() 78 INIT_CSD(&csd, cpuid_smp_cpuid, &cmd); in cpuid_read() 80 cmd.regs.eax = pos; in cpuid_read() 81 cmd.regs.ecx = pos >> 32; in cpuid_read() 86 wait_for_completion(&cmd.done); in cpuid_read() [all …]
|
/openbmc/u-boot/drivers/mmc/ |
H A D | sandbox_mmc.c | 28 switch (cmd->cmdidx) { in sandbox_mmc_send_cmd() 32 cmd->response[0] = 0 << 16; /* mmc->rca */ in sandbox_mmc_send_cmd() 36 cmd->response[0] = 0xaa; in sandbox_mmc_send_cmd() 39 cmd->response[0] = MMC_STATUS_RDY_FOR_DATA; in sandbox_mmc_send_cmd() 44 cmd->response[0] = 0; in sandbox_mmc_send_cmd() 52 if ((cmd->cmdarg & 0xF) == UHS_SDR12_BUS_SPEED) in sandbox_mmc_send_cmd() 53 resp[4] = (cmd->cmdarg & 0xF) << 24; in sandbox_mmc_send_cmd() 65 cmd->response[0] = OCR_BUSY | OCR_HCS; in sandbox_mmc_send_cmd() 66 cmd->response[1] = 0; in sandbox_mmc_send_cmd() 67 cmd->response[2] = 0; in sandbox_mmc_send_cmd() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_dmub_srv.c | 266 cmd.drr_update.header.payload_bytes = sizeof(cmd.drr_update) - sizeof(cmd.drr_update.header); in dc_dmub_srv_drr_update_cmd() 280 cmd.drr_update.header.payload_bytes = sizeof(cmd.drr_update) - sizeof(cmd.drr_update.header); in dc_dmub_srv_set_drr_manual_trigger_cmd() 373 sizeof(cmd.fw_assisted_mclk_switch) - sizeof(cmd.fw_assisted_mclk_switch.header); in dc_dmub_srv_p_state_delegate() 388 memset(&cmd, 0, sizeof(cmd)); in dc_dmub_srv_query_caps_cmd() 412 memset(&cmd, 0, sizeof(cmd)); in dc_dmub_srv_get_visual_confirm_color_cmd() 520 union dmub_rb_cmd *cmd, in populate_subvp_cmd_vblank_pipe_info() argument 575 union dmub_rb_cmd *cmd, in update_subvp_prefetch_end_to_mall_start() argument 627 union dmub_rb_cmd *cmd, in populate_subvp_cmd_pipe_info() argument 719 union dmub_rb_cmd cmd; in dc_dmub_setup_subvp_dmub_command() local 723 memset(&cmd, 0, sizeof(cmd)); in dc_dmub_setup_subvp_dmub_command() [all …]
|
/openbmc/linux/net/devlink/ |
H A D | netlink.c | 260 .cmd = DEVLINK_CMD_PORT_SET, 267 .cmd = DEVLINK_CMD_RATE_SET, 272 .cmd = DEVLINK_CMD_RATE_NEW, 277 .cmd = DEVLINK_CMD_RATE_DEL, 282 .cmd = DEVLINK_CMD_PORT_SPLIT, 296 .cmd = DEVLINK_CMD_PORT_NEW, 301 .cmd = DEVLINK_CMD_PORT_DEL, 393 .cmd = DEVLINK_CMD_RELOAD, 399 .cmd = DEVLINK_CMD_PARAM_SET, 420 .cmd = DEVLINK_CMD_REGION_NEW, [all …]
|
/openbmc/linux/drivers/fsi/ |
H A D | fsi-master-gpio.c | 138 trace_fsi_master_gpio_out(master, cmd->bits, cmd->msg); in serial_out() 140 if (!cmd->bits) { in serial_out() 243 cmd->bits = 0; in build_ar_command() 244 cmd->msg = 0; in build_ar_command() 295 msg_push_crc(cmd); in build_ar_command() 300 cmd->bits = 0; in build_dpoll_command() 301 cmd->msg = 0; in build_dpoll_command() 310 cmd->bits = 0; in build_epoll_command() 311 cmd->msg = 0; in build_epoll_command() 320 cmd->bits = 0; in build_term_command() [all …]
|
/openbmc/qemu/hw/display/ |
H A D | qxl-logger.c | 190 cmd->surface_id); in qxl_log_cmd_surface() 193 cmd->u.surface_create.width, in qxl_log_cmd_surface() 194 cmd->u.surface_create.height, in qxl_log_cmd_surface() 195 cmd->u.surface_create.stride, in qxl_log_cmd_surface() 210 switch (cmd->type) { in qxl_log_cmd_cursor() 213 cmd->u.set.position.x, in qxl_log_cmd_cursor() 214 cmd->u.set.position.y, in qxl_log_cmd_cursor() 216 cmd->u.set.shape); in qxl_log_cmd_cursor() 230 fprintf(stderr, " +%d+%d", cmd->u.position.x, cmd->u.position.y); in qxl_log_cmd_cursor() 252 switch (ext->cmd.type) { in qxl_log_command() [all …]
|
/openbmc/linux/net/tipc/ |
H A D | netlink.c | 179 .cmd = TIPC_NL_SOCK_GET, 186 .cmd = TIPC_NL_PUBL_GET, 192 .cmd = TIPC_NL_LINK_GET, 198 .cmd = TIPC_NL_LINK_SET, 208 .cmd = TIPC_NL_MEDIA_GET, 219 .cmd = TIPC_NL_NODE_GET, 224 .cmd = TIPC_NL_NET_GET, 229 .cmd = TIPC_NL_NET_SET, 239 .cmd = TIPC_NL_MON_SET, 244 .cmd = TIPC_NL_MON_GET, [all …]
|
/openbmc/qemu/contrib/vhost-user-gpu/ |
H A D | vhost-user-gpu.c | 56 vg_cmd_to_string(int cmd) in vg_cmd_to_string() argument 58 #define CMD(cmd) [cmd] = #cmd in vg_cmd_to_string() argument 90 if (cmd >= 0 && cmd < G_N_ELEMENTS(vg_cmd_str)) { in vg_cmd_to_string() 244 s = iov_from_buf(cmd->elem.in_sg, cmd->elem.in_num, 0, resp, resp_len); in vg_ctrl_response() 249 vu_queue_push(&g->dev.parent, cmd->vq, &cmd->elem, s); in vg_ctrl_response() 496 s = iov_to_buf(cmd->elem.out_sg, cmd->elem.out_num, in vg_create_mapping_iov() 896 vg_ctrl_response_nodata(vg, cmd, cmd->error ? cmd->error : in vg_process_cmd() 915 if (!cmd) { in vg_handle_ctrl() 918 cmd->vq = vq; in vg_handle_ctrl() 922 len = iov_to_buf(cmd->elem.out_sg, cmd->elem.out_num, in vg_handle_ctrl() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | igt_gem_utils.c | 50 u32 *cmd; in igt_emit_store_dw() local 60 if (IS_ERR(cmd)) { in igt_emit_store_dw() 61 err = PTR_ERR(cmd); in igt_emit_store_dw() 71 *cmd++ = lower_32_bits(offset); in igt_emit_store_dw() 73 *cmd++ = val; in igt_emit_store_dw() 77 *cmd++ = 0; in igt_emit_store_dw() 78 *cmd++ = offset; in igt_emit_store_dw() 79 *cmd++ = val; in igt_emit_store_dw() 82 *cmd++ = offset; in igt_emit_store_dw() 83 *cmd++ = val; in igt_emit_store_dw() [all …]
|
/openbmc/linux/drivers/target/tcm_fc/ |
H A D | tfc_io.c | 64 if (cmd->aborted) in ft_queue_data_in() 70 ep = fc_seq_exch(cmd->seq); in ft_queue_data_in() 72 cmd->seq = fc_seq_start_next(cmd->seq); in ft_queue_data_in() 91 struct fc_seq *seq = cmd->seq; in ft_queue_data_in() 111 cmd->sess->max_frame; in ft_queue_data_in() 222 if (cmd->was_ddp_setup) { in ft_recv_write_data() 242 ft_invl_hw_context(cmd); in ft_recv_write_data() 317 queue_work(cmd->sess->tport->tpg->workqueue, &cmd->work); in ft_recv_write_data() 333 BUG_ON(!cmd); in ft_invl_hw_context() 334 seq = cmd->seq; in ft_invl_hw_context() [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | vp702x-fe.c | 144 u8 *cmd; in vp702x_fe_set_frontend() local 148 cmd = dst->buf; in vp702x_fe_set_frontend() 169 cmd[6] |= 0x40; in vp702x_fe_set_frontend() 180 cmd[7] = vp702x_chksum(cmd,0,7); in vp702x_fe_set_frontend() 185 vp702x_usb_inout_op(st->d, cmd, 8, cmd, 10, 100); in vp702x_fe_set_frontend() 187 if (cmd[2] == 0 && cmd[3] == 0) in vp702x_fe_set_frontend() 214 u8 *cmd; in vp702x_fe_send_diseqc_msg() local 225 cmd = dst->buf; in vp702x_fe_send_diseqc_msg() 229 cmd[7] = vp702x_chksum(cmd, 0, 7); in vp702x_fe_send_diseqc_msg() 231 vp702x_usb_inout_op(st->d, cmd, 8, cmd, 10, 100); in vp702x_fe_send_diseqc_msg() [all …]
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-dev.c | 297 ccp = cmd->ccp ? cmd->ccp : ccp_get_device(); in ccp_enqueue_cmd() 322 list_add_tail(&cmd->entry, &ccp->cmd); in ccp_enqueue_cmd() 352 cmd->callback(cmd->data, -EINPROGRESS); in ccp_do_cmd_backlog() 357 list_add_tail(&cmd->entry, &ccp->cmd); in ccp_do_cmd_backlog() 397 cmd = list_first_entry(&ccp->cmd, struct ccp_cmd, entry); in ccp_dequeue_cmd() 416 return cmd; in ccp_dequeue_cmd() 422 struct ccp_cmd *cmd = tdata->cmd; in ccp_do_cmd_complete() local 424 cmd->callback(cmd->data, cmd->ret); in ccp_do_cmd_complete() 450 if (!cmd) in ccp_cmd_queue_thread() 456 cmd->ret = ccp_run_cmd(cmd_q, cmd); in ccp_cmd_queue_thread() [all …]
|
/openbmc/u-boot/test/py/tests/ |
H A D | test_mmc_rd.py | 89 cmd = 'mmc dev %d' % devid 91 cmd += ' %d' % partid 92 response = u_boot_console.run_command(cmd) 104 cmd = 'mw.b %s 0 0x%x' % (addr, count_bytes) 105 u_boot_console.run_command(cmd) 107 cmd = 'crc32 %s 0x%x' % (addr, count_bytes) 108 response = u_boot_console.run_command(cmd) 115 cmd = 'mmc read %s %x %x' % (addr, sector, count_sectors) 116 response = u_boot_console.run_command(cmd) 124 cmd = 'crc32 %s 0x%x' % (addr, count_bytes) [all …]
|
/openbmc/linux/net/ethtool/ |
H A D | netlink.c | 239 cmd); in ethnl_bcastmsg_put() 374 const u8 cmd = info->genlhdr->cmd; in ethnl_default_doit() local 583 const u8 cmd = info->genlhdr->cmd; in ethnl_default_set_doit() local 750 ethnl_notify_handlers[cmd](dev, cmd, data); in ethtool_notify() 753 cmd, netdev_name(dev)); in ethtool_notify() 850 .cmd = ETHTOOL_MSG_WOL_GET, 860 .cmd = ETHTOOL_MSG_WOL_SET, 963 .cmd = ETHTOOL_MSG_EEE_GET, 972 .cmd = ETHTOOL_MSG_EEE_SET, 1117 .cmd = ETHTOOL_MSG_MM_GET, [all …]
|