Home
last modified time | relevance | path

Searched refs:cmd (Results 101 – 125 of 6568) sorted by relevance

12345678910>>...263

/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvirgl.c206 s = iov_to_buf(cmd->elem.out_sg, cmd->elem.out_num, in virgl_cmd_submit_3d()
486 switch (cmd->cmd_hdr.type) { in vg_virgl_process_cmd()
500 virgl_cmd_submit_3d(g, cmd); in vg_virgl_process_cmd()
541 vg_get_display_info(g, cmd); in vg_virgl_process_cmd()
544 vg_get_edid(g, cmd); in vg_virgl_process_cmd()
556 if (cmd->error) { in vg_virgl_process_cmd()
558 cmd->cmd_hdr.type, cmd->error); in vg_virgl_process_cmd()
559 vg_ctrl_response_nodata(g, cmd, cmd->error); in vg_virgl_process_cmd()
569 cmd->cmd_hdr.fence_id, cmd->cmd_hdr.type); in vg_virgl_process_cmd()
570 virgl_renderer_create_fence(cmd->cmd_hdr.fence_id, cmd->cmd_hdr.type); in vg_virgl_process_cmd()
[all …]
/openbmc/u-boot/include/fsl-mc/
H A Dfsl_dpmac.h34 #define DPMAC_CMD_CREATE(cmd, cfg) \ argument
38 #define DPMAC_CMD_OPEN(cmd, dpmac_id) \ argument
39 MC_CMD_OP(cmd, 0, 0, 32, int, dpmac_id)
42 #define DPMAC_RSP_GET_ATTRIBUTES(cmd, attr) \ argument
45 MC_RSP_OP(cmd, 0, 32, 32, int, attr->id);\
52 #define DPMAC_CMD_MDIO_READ(cmd, cfg) \ argument
59 #define DPMAC_RSP_MDIO_READ(cmd, data) \ argument
60 MC_RSP_OP(cmd, 0, 16, 16, uint16_t, data)
63 #define DPMAC_CMD_MDIO_WRITE(cmd, cfg) \ argument
71 #define DPMAC_RSP_GET_LINK_CFG(cmd, cfg) \ argument
[all …]
/openbmc/linux/drivers/gpu/drm/udl/
H A Dudl_transfer.c93 *cmd++ = UDL_MSG_BULK; in udl_compress_hline16()
94 *cmd++ = UDL_CMD_WRITERLX16; in udl_compress_hline16()
117 cmd += 2; in udl_compress_hline16()
146 cmd--; in udl_compress_hline16()
155 if (cmd_buffer_end > cmd) in udl_compress_hline16()
156 memset(cmd, UDL_MSG_BULK, cmd_buffer_end - cmd); in udl_compress_hline16()
160 *command_buffer_ptr = cmd; in udl_compress_hline16()
181 u8 *cmd = *urb_buf_ptr; in udl_render_hline() local
200 if (cmd >= cmd_end) { in udl_render_hline()
209 cmd = urb->transfer_buffer; in udl_render_hline()
[all …]
/openbmc/linux/drivers/scsi/
H A Dpmcraid.c556 cmd->timer.expires = jiffies + cmd->time_left; in pmcraid_bist_done()
1105 pmcraid_send_cmd(cmd, cmd->cmd_done, 0, NULL); in pmcraid_send_hcam_cmd()
1151 hcam->cmd = cmd; in pmcraid_init_hcam()
1252 pmcraid_prepare_cancel_cmd(cmd, hcam->cmd); in pmcraid_cancel_hcam()
1644 if (cmd) in pmcraid_handle_config_change()
1820 if (cmd) in pmcraid_process_ldn()
2023 cmd->cmd_done(cmd); in pmcraid_fail_outstanding_cmds()
2420 cmd->sense_buffer = cmd->scsi_cmd->sense_buffer; in pmcraid_request_sense()
3385 int cmd, in pmcraid_check_ioctl_buffer() argument
3943 cmd->cmd_done(cmd); in pmcraid_tasklet_function()
[all …]
H A Dwd33c93.c437 prev = cmd; in DEF_SCSI_QCMD()
438 cmd = (struct scsi_cmnd *) cmd->host_scribble; in DEF_SCSI_QCMD()
443 if (!cmd) { in DEF_SCSI_QCMD()
579 write_wd33c93_cdb(regs, cmd->cmd_len, cmd->cmnd); in DEF_SCSI_QCMD()
778 hostdata->dma_stop(cmd->device->host, cmd, 1); in wd33c93_intr()
1392 cmd = (struct scsi_cmnd *) cmd->host_scribble; in wd33c93_intr()
2114 cmd->device->id, cmd->device->lun, cmd->cmnd[0]); in wd33c93_show_info()
2122 cmd->device->id, cmd->device->lun, cmd->cmnd[0]); in wd33c93_show_info()
2123 cmd = (struct scsi_cmnd *) cmd->host_scribble; in wd33c93_show_info()
2131 cmd->device->id, cmd->device->lun, cmd->cmnd[0]); in wd33c93_show_info()
[all …]
H A Dps3rom.c150 return cmd->cmnd[2] << 24 | cmd->cmnd[3] << 16 | cmd->cmnd[4] << 8 | in srb10_lba()
151 cmd->cmnd[5]; in srb10_lba()
156 return cmd->cmnd[7] << 8 | cmd->cmnd[8]; in srb10_len()
210 priv->curr_cmd = cmd; in ps3rom_queuecommand_lck()
220 res = ps3rom_read_request(dev, cmd, srb10_lba(cmd), in ps3rom_queuecommand_lck()
225 res = ps3rom_write_request(dev, cmd, srb10_lba(cmd), in ps3rom_queuecommand_lck()
236 cmd->result = res; in ps3rom_queuecommand_lck()
238 scsi_done(cmd); in ps3rom_queuecommand_lck()
288 cmd = priv->curr_cmd; in ps3rom_interrupt()
299 scsi_set_resid(cmd, scsi_bufflen(cmd) - len); in ps3rom_interrupt()
[all …]
H A Dscsi_trace.c102 cmd = "READ"; in scsi_trace_rw32()
105 cmd = "VERIFY"; in scsi_trace_rw32()
108 cmd = "WRITE"; in scsi_trace_rw32()
111 cmd = "WRITE_SAME"; in scsi_trace_rw32()
158 cmd = "GET_LBA_STATUS"; in scsi_trace_service_action_in()
239 cmd = "SET_PRIORITY"; in scsi_trace_maintenance_out()
242 cmd = "SET_TIMESTAMP"; in scsi_trace_maintenance_out()
272 cmd = "REPORT_ZONES"; in scsi_trace_zbc_in()
301 cmd = "CLOSE_ZONE"; in scsi_trace_zbc_out()
304 cmd = "FINISH_ZONE"; in scsi_trace_zbc_out()
[all …]
/openbmc/qemu/hw/ipmi/
H A Dipmi_bmc_sim.c679 hdl = ipmi_get_handler(ibs, cmd[0] >> 2, cmd[1]); in ipmi_sim_handle_command()
1284 cmd[7] = ipmi_sdr_length(sdrh) - cmd[6]; in get_sdr()
1319 if (cmd[4] != 'C' || cmd[5] != 'L' || cmd[6] != 'R') { in clear_sdr_rep()
1391 offset = (cmd[3] | cmd[4] << 8); in read_fru_data()
1423 offset = (cmd[3] | cmd[4] << 8); in write_fru_data()
1474 } else if ((cmd[7] + cmd[6]) > 16) { in get_sel_entry()
1478 cmd[7] += cmd[6]; in get_sel_entry()
1481 val = cmd[4] | (cmd[5] << 8); in get_sel_entry()
1495 for (; cmd[6] < cmd[7]; cmd[6]++) { in get_sel_entry()
1522 if (cmd[4] != 'C' || cmd[5] != 'L' || cmd[6] != 'R') { in clear_sel()
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_execbuf.c723 cmd->header.size = sizeof(cmd->body); in vmw_rebind_all_dx_query()
1355 memcpy(cmd, &gb_cmd, sizeof(*cmd)); in vmw_cmd_begin_query()
1422 memcpy(cmd, &gb_cmd, sizeof(*cmd)); in vmw_cmd_end_query()
1496 memcpy(cmd, &gb_cmd, sizeof(*cmd)); in vmw_cmd_wait_query()
1928 size = cmd->header.size - sizeof(cmd->body); in vmw_cmd_shader_define()
1930 cmd->body.shid, cmd + 1, cmd->body.type, in vmw_cmd_shader_define()
2019 cmd->body.shid, cmd->body.type); in vmw_cmd_set_shader()
2299 } *cmd; in vmw_cmd_dx_set_vertex_buffers() local
2468 } *cmd; in vmw_cmd_dx_view_define() local
2519 } *cmd; in vmw_cmd_dx_set_so_targets() local
[all …]
H A Dvmwgfx_context.c148 } *cmd; in vmw_hw_context_destroy() local
168 cmd = VMW_CMD_RESERVE(dev_priv, sizeof(*cmd)); in vmw_hw_context_destroy()
173 cmd->header.size = sizeof(cmd->body); in vmw_hw_context_destroy()
251 } *cmd; in vmw_context_init() local
277 cmd->header.size = sizeof(cmd->body); in vmw_context_init()
328 cmd->header.size = sizeof(cmd->body); in vmw_gb_context_create()
358 cmd->header.size = sizeof(cmd->body); in vmw_gb_context_bind()
450 cmd->header.size = sizeof(cmd->body); in vmw_gb_context_destroy()
495 cmd->header.size = sizeof(cmd->body); in vmw_dx_context_create()
525 cmd->header.size = sizeof(cmd->body); in vmw_dx_context_bind()
[all …]
/openbmc/linux/drivers/media/platform/amphion/
H A Dvpu_cmds.c87 cmd = vzalloc(sizeof(*cmd)); in vpu_alloc_cmd()
88 if (!cmd) in vpu_alloc_cmd()
91 cmd->pkt = vzalloc(sizeof(*cmd->pkt)); in vpu_alloc_cmd()
93 vfree(cmd); in vpu_alloc_cmd()
102 vfree(cmd); in vpu_alloc_cmd()
112 return cmd; in vpu_alloc_cmd()
117 if (!cmd) in vpu_free_cmd()
120 atomic_long_set(cmd->last_response_cmd, cmd->key); in vpu_free_cmd()
122 vfree(cmd); in vpu_free_cmd()
174 if (!cmd) in vpu_request_cmd()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dfw.h2745 le32p_replace_bits((__le32 *)cmd, val, BIT(20)); in RTW89_SET_FWCMD_P2P_TYPE()
2750 le32p_replace_bits((__le32 *)cmd, val, BIT(21)); in RTW89_SET_FWCMD_P2P_ALL_SLEP()
2755 *((__le32 *)cmd + 1) = val; in RTW89_SET_FWCMD_NOA_START_TIME()
2760 *((__le32 *)cmd + 2) = val; in RTW89_SET_FWCMD_NOA_INTERVAL()
2765 *((__le32 *)cmd + 3) = val; in RTW89_SET_FWCMD_NOA_DURATION()
2785 le32p_replace_bits((__le32 *)cmd, val, BIT(0)); in RTW89_SET_FWCMD_TSF32_TOGL_BAND()
2790 le32p_replace_bits((__le32 *)cmd, val, BIT(1)); in RTW89_SET_FWCMD_TSF32_TOGL_EN()
2956 le32p_replace_bits((__le32 *)cmd, val, BIT(2)); in RTW89_SET_FWCMD_START_MCC_BTC_IN_GROUP()
3016 le32p_replace_bits((__le32 *)cmd, val, BIT(2)); in RTW89_SET_FWCMD_DEL_MCC_GROUP_PREV_GROUPS()
3065 memcpy((__le32 *)cmd + 1, bitmap, len); in RTW89_SET_FWCMD_MCC_MACID_BITMAP_BITMAP()
[all …]
/openbmc/qemu/hw/display/
H A Dvirtio-gpu-rutabaga.c189 CHECK(res, cmd); in rutabaga_cmd_resource_unref()
257 CHECK(res, cmd); in rutabaga_cmd_resource_flush()
315 CHECK(res, cmd); in rutabaga_cmd_set_scanout()
355 s = iov_to_buf(cmd->elem.out_sg, cmd->elem.out_num, in rutabaga_cmd_submit_3d()
464 CHECK(res, cmd); in rutabaga_cmd_attach_backing()
495 CHECK(res, cmd); in rutabaga_cmd_detach_backing()
664 CHECK(res, cmd); in rutabaga_cmd_resource_map_blob()
731 CHECK(res, cmd); in rutabaga_cmd_resource_unmap_blob()
839 cmd->cmd_hdr.type, cmd->error); in virtio_gpu_rutabaga_process_cmd()
840 virtio_gpu_ctrl_response_nodata(g, cmd, cmd->error); in virtio_gpu_rutabaga_process_cmd()
[all …]
/openbmc/linux/arch/m68k/atari/
H A Datakeyb.c339 ikbd_write(cmd, 2); in ikbd_reset()
352 ikbd_write(cmd, 2); in ikbd_mouse_button_action()
360 ikbd_write(cmd, 1); in ikbd_mouse_rel_pos()
369 ikbd_write(cmd, 5); in ikbd_mouse_abs_pos()
377 ikbd_write(cmd, 3); in ikbd_mouse_kbd_mode()
385 ikbd_write(cmd, 3); in ikbd_mouse_thresh()
394 ikbd_write(cmd, 3); in ikbd_mouse_scale()
402 ikbd_write(cmd, 1); in ikbd_mouse_pos_get()
412 ikbd_write(cmd, 6); in ikbd_mouse_pos_set()
420 ikbd_write(cmd, 1); in ikbd_mouse_y0_bot()
[all …]
/openbmc/linux/drivers/target/
H A Dtarget_core_file.c246 struct se_cmd *cmd; member
258 target_complete_cmd(cmd->cmd, SAM_STAT_CHECK_CONDITION); in cmd_rw_aio_complete()
260 target_complete_cmd(cmd->cmd, SAM_STAT_GOOD); in cmd_rw_aio_complete()
262 kfree(cmd); in cmd_rw_aio_complete()
291 aio_cmd->cmd = cmd; in fd_execute_rw_aio()
403 if (cmd->t_task_lba == 0 && cmd->data_length == 0) { in fd_execute_sync_cache()
441 if (cmd->prot_op) { in fd_execute_write_same()
604 cmd->t_prot_sg, cmd->t_prot_nents, in fd_execute_rw_buffered()
618 rc = sbc_dif_verify(cmd, cmd->t_task_lba, sectors, in fd_execute_rw_buffered()
629 rc = sbc_dif_verify(cmd, cmd->t_task_lba, sectors, in fd_execute_rw_buffered()
[all …]
/openbmc/linux/drivers/comedi/drivers/
H A Damplc_pci224.c484 struct comedi_cmd *cmd = &s->async->cmd; in pci224_ao_start() local
507 struct comedi_cmd *cmd = &s->async->cmd; in pci224_ao_handle_fifo() local
608 struct comedi_cmd *cmd = &s->async->cmd; in pci224_ao_inttrig_start() local
719 cmd->start_arg = COMBINE(cmd->start_arg, 0, in pci224_ao_cmdtest()
765 cmd->stop_arg = in pci224_ao_cmdtest()
771 cmd->stop_arg = in pci224_ao_cmdtest()
796 if (cmd->chanlist && cmd->chanlist_len > 0) in pci224_ao_cmdtest()
833 struct comedi_cmd *cmd = &s->async->cmd; in pci224_ao_cmd() local
841 if (!cmd->chanlist || cmd->chanlist_len == 0) in pci224_ao_cmd()
917 struct comedi_cmd *cmd = &s->async->cmd; in pci224_ao_munge() local
[all …]
H A Dme4000.c586 if (cmd->start_arg) { in me4000_ai_round_cmd_args()
612 if (cmd->convert_arg) { in me4000_ai_round_cmd_args()
654 struct comedi_cmd *cmd = &s->async->cmd; in me4000_ai_do_cmd() local
680 outl(cmd->chanlist_len * cmd->stop_arg, in me4000_ai_do_cmd()
685 outl(cmd->scan_end_arg, in me4000_ai_do_cmd()
771 cmd->chanlist_len = 1; in me4000_ai_do_cmd_test()
779 cmd->start_arg = 2000; in me4000_ai_do_cmd_test()
821 cmd->scan_end_arg = 2000 * cmd->chanlist_len + 31; in me4000_ai_do_cmd_test()
857 cmd->scan_end_arg = 2000 * cmd->chanlist_len + 31; in me4000_ai_do_cmd_test()
901 cmd->scan_end_arg = 1; in me4000_ai_do_cmd_test()
[all …]
/openbmc/linux/tools/testing/selftests/iommu/
H A Diommufd_utils.h51 .size = sizeof(cmd), in _test_cmd_mock_domain()
63 assert(cmd.id != 0); in _test_cmd_mock_domain()
81 .size = sizeof(cmd), in _test_cmd_mock_domain_replace()
109 .size = sizeof(cmd), in _test_cmd_hwpt_alloc()
130 .size = sizeof(cmd), in _test_cmd_access_replace_ioas()
149 .size = sizeof(cmd), in _test_cmd_create_access()
177 .size = sizeof(cmd), in _test_cmd_destroy_access_pages()
194 .size = sizeof(cmd), in _test_ioctl_destroy()
204 .size = sizeof(cmd), in _test_ioctl_ioas_alloc()
233 cmd.iova = *iova; in _test_ioctl_ioas_map()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi-tlv.c1878 ptr += sizeof(*cmd); in ath10k_wmi_tlv_op_gen_init()
2025 ptr += sizeof(*cmd); in ath10k_wmi_tlv_op_gen_start_scan()
2230 ptr += sizeof(*cmd); in ath10k_wmi_tlv_op_gen_vdev_start()
2388 ptr += sizeof(*cmd); in ath10k_wmi_tlv_op_gen_vdev_install_key()
2460 ptr += sizeof(*cmd); in ath10k_wmi_tlv_op_gen_vdev_sta_uapsd()
2549 ptr += sizeof(*cmd); in ath10k_wmi_tlv_op_gen_sta_keepalive()
2719 ptr += sizeof(*cmd); in ath10k_wmi_tlv_op_gen_peer_assoc()
2861 ptr += sizeof(*cmd); in ath10k_wmi_tlv_op_gen_scan_chan_list()
2937 cmd->msdu_id = 0; in ath10k_wmi_tlv_op_gen_beacon_dma()
2939 cmd->flags = 0; in ath10k_wmi_tlv_op_gen_beacon_dma()
[all …]
/openbmc/openbmc/meta-arm/meta-arm/lib/oeqa/runtime/cases/
H A Dftpm.py19 status, output = self.target.run(cmd, timeout=90)
20 self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
23 cmd = "cat /sys/class/tpm/tpm0/tpm_version_major"
24 status, output = self.target.run(cmd, timeout=60)
25 self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
30 status, output = self.target.run(cmd, timeout=60)
31 self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
35 status, output = self.target.run(cmd, timeout=60)
36 self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
40 status, output = self.target.run(cmd, timeout=60)
[all …]
/openbmc/u-boot/common/
H A Dcli.c28 int run_command(const char *cmd, int flag) in run_command() argument
44 return parse_string_outer(cmd, hush_flags); in run_command()
58 return cli_simple_run_command(cmd, flag); in run_command_repeatable()
64 if (parse_string_outer(cmd, in run_command_repeatable()
80 len = strlen(cmd); in run_command_list()
86 need_buff = strchr(cmd, '\n') != NULL; in run_command_list()
93 memcpy(buff, cmd, len); in run_command_list()
179 if (!cmd) { in cli_secure_boot_cmd()
189 cmdtp = find_cmd(cmd); in cli_secure_boot_cmd()
196 rc = (cmdtp->cmd)(cmdtp, 0, 1, (char **)&cmd); in cli_secure_boot_cmd()
[all …]
/openbmc/linux/drivers/firmware/
H A Dqcom_scm-legacy.c81 const struct scm_legacy_command *cmd) in scm_legacy_command_to_response() argument
83 return (void *)cmd + le32_to_cpu(cmd->resp_hdr_offset); in scm_legacy_command_to_response()
95 return (void *)cmd->buf; in scm_legacy_get_command_buffer()
140 struct scm_legacy_command *cmd; in scm_legacy_call() local
152 if (!cmd) in scm_legacy_call()
155 cmd->len = cpu_to_le32(alloc_len); in scm_legacy_call()
156 cmd->buf_offset = cpu_to_le32(sizeof(*cmd)); in scm_legacy_call()
157 cmd->resp_hdr_offset = cpu_to_le32(sizeof(*cmd) + cmd_len); in scm_legacy_call()
158 cmd->id = cpu_to_le32(SCM_LEGACY_FNID(desc->svc, desc->cmd)); in scm_legacy_call()
168 kfree(cmd); in scm_legacy_call()
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Drunqemu.py55 cmd = "%s %s" % (self.cmd_common, self.machine)
62 cmd = "%s %s ext4" % (self.cmd_common, self.machine)
71 cmd = "%s %s iso" % (self.cmd_common, self.machine)
79 cmd = "%s %s" % (self.cmd_common, self.recipe)
88 cmd = "%s %s wic.vmdk" % (self.cmd_common, self.recipe)
97 cmd = "%s %s wic.vdi" % (self.cmd_common, self.recipe)
120 cmd = "%s slirp %s" % (self.cmd_common, self.machine)
139 cmd = "%s %s" % (self.cmd_common, qemuboot_conf)
150 cmd = "%s %s" % (self.cmd_common, rootfs)
202 cmd = "%s %s" % (self.cmd_common, self.qemuboot_conf)
[all …]
/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_adminq.c479 memset(&cmd, 0, sizeof(cmd)); in gve_adminq_configure_device_resources()
500 memset(&cmd, 0, sizeof(cmd)); in gve_adminq_deconfigure_device_resources()
511 memset(&cmd, 0, sizeof(cmd)); in gve_adminq_create_tx_queue()
569 memset(&cmd, 0, sizeof(cmd)); in gve_adminq_create_rx_queue()
637 memset(&cmd, 0, sizeof(cmd)); in gve_adminq_destroy_tx_queue()
669 memset(&cmd, 0, sizeof(cmd)); in gve_adminq_destroy_rx_queue()
780 memset(&cmd, 0, sizeof(cmd)); in gve_adminq_describe_device()
888 memset(&cmd, 0, sizeof(cmd)); in gve_adminq_register_page_list()
912 memset(&cmd, 0, sizeof(cmd)); in gve_adminq_unregister_page_list()
925 memset(&cmd, 0, sizeof(cmd)); in gve_adminq_set_mtu()
[all …]
/openbmc/linux/net/smc/
H A Dsmc_netlink.c38 .cmd = SMC_NETLINK_GET_SYS_INFO,
43 .cmd = SMC_NETLINK_GET_LGR_SMCR,
53 .cmd = SMC_NETLINK_GET_LGR_SMCD,
58 .cmd = SMC_NETLINK_GET_DEV_SMCD,
63 .cmd = SMC_NETLINK_GET_DEV_SMCR,
68 .cmd = SMC_NETLINK_GET_STATS,
78 .cmd = SMC_NETLINK_DUMP_UEID,
83 .cmd = SMC_NETLINK_ADD_UEID,
89 .cmd = SMC_NETLINK_REMOVE_UEID,
95 .cmd = SMC_NETLINK_FLUSH_UEID,
[all …]

12345678910>>...263