Home
last modified time | relevance | path

Searched refs:cmd (Results 426 – 450 of 6803) sorted by relevance

1...<<11121314151617181920>>...273

/openbmc/linux/drivers/net/ethernet/toshiba/
H A Dps3_gelic_wireless.c157 if (cmd_info[cmd->cmd].pre_arg) { in gelic_eurus_sync_cmd_worker()
170 cmd->cmd, arg1, arg2, in gelic_eurus_sync_cmd_worker()
171 &cmd->tag, &cmd->size); in gelic_eurus_sync_cmd_worker()
180 if (cmd_info[cmd->cmd].post_arg) { in gelic_eurus_sync_cmd_worker()
197 __func__, cmd->status, cmd->cmd_status, cmd->size); in gelic_eurus_sync_cmd_worker()
217 cmd->cmd = eurus_cmd; in gelic_eurus_sync_cmd()
1408 if (cmd && !cmd->status && !cmd->cmd_status) { in gelic_wl_get_wireless_stats()
1478 if (!cmd || cmd->status || cmd->cmd_status) { in gelic_wl_start_scan()
1528 if (!cmd || cmd->status || cmd->cmd_status) { in gelic_wl_scan_complete_event()
1951 if (!cmd || cmd->status || cmd->cmd_status) { in gelic_wl_associate_bss()
[all …]
/openbmc/qemu/tests/migration/guestperf/
H A Dengine.py80 info = vm.cmd("query-migrate")
114 vcpus = src.cmd("query-cpus-fast")
138 resp = src.cmd("migrate-set-parameters",
153 resp = src.cmd("migrate-set-parameters",
156 resp = src.cmd("migrate-set-parameters",
165 resp = src.cmd("migrate-set-parameters",
223 resp = src.cmd("migrate", uri=connect_uri)
248 dst.cmd("cont")
276 src.cmd("migrate_cancel")
282 src.cmd("migrate_cancel")
[all …]
/openbmc/linux/drivers/pci/controller/
H A Dpci-ixp4xx.c220 u32 n, cmd, val; in ixp4xx_crp_read_config() local
223 cmd = where & ~3; in ixp4xx_crp_read_config()
258 u32 n, cmd, val; in ixp4xx_crp_write_config() local
262 if (cmd == 0xffffffff) in ixp4xx_crp_write_config()
264 cmd |= where & ~3; in ixp4xx_crp_write_config()
265 cmd |= CRP_AD_CBE_WRITE; in ixp4xx_crp_write_config()
297 u32 n, addr, val, cmd; in ixp4xx_pci_read_config() local
304 if (cmd == 0xffffffff) in ixp4xx_pci_read_config()
308 cmd |= NP_CMD_CONFIGREAD; in ixp4xx_pci_read_config()
344 u32 n, addr, val, cmd; in ixp4xx_pci_write_config() local
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Dmelfas_mip4.c249 u8 cmd[2]; in mip4_query_device() local
265 error = mip4_i2c_xfer(ts, cmd, sizeof(cmd), in mip4_query_device()
277 error = mip4_i2c_xfer(ts, cmd, sizeof(cmd), buf, 2); in mip4_query_device()
294 error = mip4_i2c_xfer(ts, cmd, sizeof(cmd), in mip4_query_device()
316 error = mip4_i2c_xfer(ts, cmd, sizeof(cmd), buf, 14); in mip4_query_device()
347 error = mip4_i2c_xfer(ts, cmd, sizeof(cmd), buf, 7); in mip4_query_device()
588 u8 cmd[2]; in mip4_interrupt() local
595 error = mip4_i2c_xfer(ts, cmd, sizeof(cmd), ts->buf, 1); in mip4_interrupt()
714 .buf = cmd, in mip4_bl_read_status()
883 u8 cmd[6]; in mip4_bl_program_page() local
[all …]
/openbmc/linux/drivers/mmc/host/
H A Dalcor.c269 host->cmd = cmd; in alcor_send_cmd()
273 cmd->opcode, cmd->arg); in alcor_send_cmd()
300 if (!cmd->data && cmd->busy_timeout) in alcor_send_cmd()
387 if (host->cmd) { in alcor_err_irq()
419 if (!host->cmd) in alcor_cmd_irq_done()
423 struct mmc_command *cmd = host->cmd; in alcor_cmd_irq_done() local
428 cmd->resp[1] = in alcor_cmd_irq_done()
430 cmd->resp[2] = in alcor_cmd_irq_done()
435 cmd->resp[1], cmd->resp[2], cmd->resp[3]); in alcor_cmd_irq_done()
558 if (host->cmd) in alcor_cd_irq()
[all …]
H A Dlitex_mmc.c282 if (cmd->flags & MMC_RSP_136) in litex_mmc_response_len()
286 if (cmd->flags & MMC_RSP_BUSY) in litex_mmc_response_len()
342 struct mmc_command *cmd = mrq->cmd; in litex_mmc_request() local
354 cmd->error = -ENOMEDIUM; in litex_mmc_request()
379 if (cmd->error) { in litex_mmc_request()
389 cmd->error = litex_mmc_send_cmd(host, cmd->opcode, cmd->arg, in litex_mmc_request()
393 if (cmd->error) { in litex_mmc_request()
400 cmd->resp[0] = host->resp[3]; in litex_mmc_request()
403 cmd->resp[0] = host->resp[0]; in litex_mmc_request()
404 cmd->resp[1] = host->resp[1]; in litex_mmc_request()
[all …]
/openbmc/linux/drivers/net/mdio/
H A Dmdio-ipq4019.c61 unsigned int cmd; in ipq4019_mdio_read_c45() local
81 writel(cmd, priv->membase + MDIO_CMD_REG); in ipq4019_mdio_read_c45()
89 writel(cmd, priv->membase + MDIO_CMD_REG); in ipq4019_mdio_read_c45()
102 unsigned int cmd; in ipq4019_mdio_read_c22() local
116 cmd = MDIO_CMD_ACCESS_START | MDIO_CMD_ACCESS_CODE_READ; in ipq4019_mdio_read_c22()
119 writel(cmd, priv->membase + MDIO_CMD_REG); in ipq4019_mdio_read_c22()
134 unsigned int cmd; in ipq4019_mdio_write_c45() local
153 writel(cmd, priv->membase + MDIO_CMD_REG); in ipq4019_mdio_write_c45()
162 writel(cmd, priv->membase + MDIO_CMD_REG); in ipq4019_mdio_write_c45()
176 unsigned int cmd; in ipq4019_mdio_write_c22() local
[all …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_so.c74 u32 cmd[]; /* Immutable */ member
168 } *cmd; in vmw_view_create() local
177 if (!cmd) { in vmw_view_create()
182 memcpy(cmd, &view->cmd, view->cmd_size); in vmw_view_create()
186 cmd->body.sid = view->srf->id; in vmw_view_create()
211 } *cmd; in vmw_view_destroy() local
219 cmd = VMW_CMD_CTX_RESERVE(dev_priv, sizeof(*cmd), view->ctx->id); in vmw_view_destroy()
220 if (!cmd) in vmw_view_destroy()
224 cmd->header.size = sizeof(cmd->body); in vmw_view_destroy()
315 const void *cmd, in vmw_view_add() argument
[all …]
/openbmc/linux/drivers/net/ethernet/amd/pds_core/
H A Dauxbus.c20 union pds_core_adminq_cmd cmd = {}; in pds_client_register() local
24 cmd.client_reg.opcode = PDS_AQ_CMD_CLIENT_REG; in pds_client_register()
25 strscpy(cmd.client_reg.devname, devname, in pds_client_register()
26 sizeof(cmd.client_reg.devname)); in pds_client_register()
28 err = pdsc_adminq_post(pf, &cmd, &comp, false); in pds_client_register()
60 union pds_core_adminq_cmd cmd = {}; in pds_client_unregister() local
63 cmd.client_unreg.opcode = PDS_AQ_CMD_CLIENT_UNREG; in pds_client_unregister()
66 err = pdsc_adminq_post(pf, &cmd, &comp, false); in pds_client_unregister()
98 union pds_core_adminq_cmd cmd = {}; in pds_client_adminq_cmd() local
114 cmd.client_request.opcode = PDS_AQ_CMD_CLIENT_CMD; in pds_client_adminq_cmd()
[all …]
/openbmc/linux/drivers/scsi/
H A Dsd_zbc.c154 unsigned char cmd[16]; in sd_zbc_do_report_zones() local
158 memset(cmd, 0, 16); in sd_zbc_do_report_zones()
159 cmd[0] = ZBC_IN; in sd_zbc_do_report_zones()
160 cmd[1] = ZI_REPORT_ZONES; in sd_zbc_do_report_zones()
490 cmd->cmd_len = 16; in sd_zbc_setup_zone_mgmt_cmnd()
491 memset(cmd->cmnd, 0, cmd->cmd_len); in sd_zbc_setup_zone_mgmt_cmnd()
492 cmd->cmnd[0] = ZBC_OUT; in sd_zbc_setup_zone_mgmt_cmnd()
493 cmd->cmnd[1] = op; in sd_zbc_setup_zone_mgmt_cmnd()
495 cmd->cmnd[14] = 0x1; in sd_zbc_setup_zone_mgmt_cmnd()
501 cmd->transfersize = 0; in sd_zbc_setup_zone_mgmt_cmnd()
[all …]
H A Dmesh.c85 #define DEBUG_TARGET(cmd) ((cmd) && ALLOW_DEBUG((cmd)->device->id)) argument
413 scsi_sg_count(cmd), scsi_sglist(cmd), scsi_bufflen(cmd)); in mesh_start_cmd()
561 for (cmd = ms->request_q; ; cmd = (struct scsi_cmnd *) cmd->host_scribble) { in mesh_start()
588 if (cmd) { in mesh_done()
600 if ((cmd->cmnd[0] == 0 || cmd->cmnd[0] == 0x12 || cmd->cmnd[0] == 3) in mesh_done()
1175 if (cmd) in handle_msgin()
1264 if (cmd) { in set_dma_cmds()
1267 mesh_priv(cmd)->this_residual = scsi_bufflen(cmd); in set_dma_cmds()
1349 } else if (cmd && scsi_bufflen(cmd) && in halt_dma()
1356 if (cmd) in halt_dma()
[all …]
H A Dqla1280.c692 sp->cmd = cmd; in qla1280_queuecommand_lck()
741 struct scsi_cmnd *cmd = sp->cmd; in _qla1280_wait_for_single_command() local
780 cmd = sp->cmd; in qla1280_wait_for_pending_commands()
1246 cmd = sp->cmd; in qla1280_done()
2736 struct scsi_cmnd *cmd = sp->cmd; in qla1280_64bit_start_scsi() local
2802 SCSI_BUS_32(cmd), SCSI_TCN_32(cmd), SCSI_LUN_32(cmd)); in qla1280_64bit_start_scsi()
2939 SCSI_BUS_32(cmd), SCSI_TCN_32(cmd), SCSI_LUN_32(cmd)); in qla1280_64bit_start_scsi()
2990 struct scsi_cmnd *cmd = sp->cmd; in qla1280_32bit_start_scsi() local
3617 cmd = sp->cmd; in qla1280_status_entry()
3775 cmd = sp->cmd; in qla1280_abort_isp()
[all …]
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_dev.c343 idev->opcode = cmd->cmd.opcode; in ionic_dev_cmd_go()
348 memcpy_toio(&idev->dev_cmd_regs->cmd, cmd, sizeof(*cmd)); in ionic_dev_cmd_go()
356 union ionic_dev_cmd cmd = { in ionic_dev_cmd_identify() local
366 union ionic_dev_cmd cmd = { in ionic_dev_cmd_init() local
376 union ionic_dev_cmd cmd = { in ionic_dev_cmd_reset() local
386 union ionic_dev_cmd cmd = { in ionic_dev_cmd_port_identify() local
396 union ionic_dev_cmd cmd = { in ionic_dev_cmd_port_init() local
407 union ionic_dev_cmd cmd = { in ionic_dev_cmd_port_reset() local
417 union ionic_dev_cmd cmd = { in ionic_dev_cmd_port_state() local
429 union ionic_dev_cmd cmd = { in ionic_dev_cmd_port_speed() local
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dleon_pci.c67 u16 cmd, oldcmd; in pcibios_enable_device() local
70 pci_read_config_word(dev, PCI_COMMAND, &cmd); in pcibios_enable_device()
71 oldcmd = cmd; in pcibios_enable_device()
79 cmd |= PCI_COMMAND_IO; in pcibios_enable_device()
81 cmd |= PCI_COMMAND_MEMORY; in pcibios_enable_device()
84 if (cmd != oldcmd) { in pcibios_enable_device()
85 pci_info(dev, "enabling device (%04x -> %04x)\n", oldcmd, cmd); in pcibios_enable_device()
86 pci_write_config_word(dev, PCI_COMMAND, cmd); in pcibios_enable_device()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dgp10b.c41 struct nv_pmu_acr_bootstrap_multiple_falcons_cmd cmd = { in gp10b_pmu_acr_bootstrap_multiple_falcons() local
42 .cmd.hdr.unit_id = NV_PMU_UNIT_ACR, in gp10b_pmu_acr_bootstrap_multiple_falcons()
43 .cmd.hdr.size = sizeof(cmd), in gp10b_pmu_acr_bootstrap_multiple_falcons()
44 .cmd.cmd_type = NV_PMU_ACR_CMD_BOOTSTRAP_MULTIPLE_FALCONS, in gp10b_pmu_acr_bootstrap_multiple_falcons()
52 ret = nvkm_falcon_cmdq_send(pmu->hpq, &cmd.cmd.hdr, in gp10b_pmu_acr_bootstrap_multiple_falcons()
56 if (ret != cmd.falcon_mask) in gp10b_pmu_acr_bootstrap_multiple_falcons()
/openbmc/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.c121 #define SYM_UCMD_PTR(cmd) ((struct sym_ucmd *)scsi_cmd_priv(cmd)) argument
122 #define SYM_SOFTC_PTR(cmd) sym_get_hcb(cmd->device->host) argument
135 scsi_done(cmd); in sym_xpt_done()
171 struct scsi_cmnd *cmd = cp->cmd; in sym_set_cam_result_error() local
314 memcpy(cp->cdb_buf, cmd->cmnd, cmd->cmd_len); in sym_setup_cdb()
317 cp->phys.cmd.size = cpu_to_scr(cmd->cmd_len); in sym_setup_cdb()
617 if (cp->cmd == cmd) { in sym_eh_handler()
873 u_long cmd; member
1016 struct sym_usrcmd cmd, *uc = &cmd; in sym_user_command() local
1054 switch(uc->cmd) { in sym_user_command()
[all …]
/openbmc/linux/drivers/fsi/
H A Dfsi-master-ast-cf.c156 cmd->msg <<= (64 - cmd->bits); in msg_finish_cmd()
218 cmd->bits = 0; in build_ar_command()
219 cmd->msg = 0; in build_ar_command()
270 msg_push_crc(cmd); in build_ar_command()
276 cmd->bits = 0; in build_dpoll_command()
277 cmd->msg = 0; in build_dpoll_command()
281 msg_push_crc(cmd); in build_dpoll_command()
287 cmd->bits = 0; in build_epoll_command()
288 cmd->msg = 0; in build_epoll_command()
298 cmd->bits = 0; in build_term_command()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dselect_reuseport.c302 expected.len += cmd ? sizeof(*cmd) : 0; in check_data()
404 cli_fd = send_data(type, family, cmd, cmd ? sizeof(*cmd) : 0, in do_test()
414 cmd ? cmd->reuseport_index : -1, in do_test()
415 cmd ? cmd->pass_on_failure : -1); in do_test()
456 struct cmd cmd = { in test_err_inner_map() local
473 struct cmd cmd = { in test_err_sk_select_port() local
484 struct cmd cmd; in test_pass() local
498 struct cmd cmd = { in test_syncookie() local
532 struct cmd cmd = { in test_pass_on_err() local
547 struct cmd cmd = {}; in test_detach_bpf() local
[all …]
/openbmc/u-boot/drivers/mmc/
H A Dtegra_mmc.c124 struct mmc_cmd *cmd, in tegra_mmc_wait_inhibit() argument
173 debug("cmd->arg: %08x\n", cmd->cmdarg); in tegra_mmc_send_cmd_bounced()
179 if ((cmd->resp_type & MMC_RSP_136) && (cmd->resp_type & MMC_RSP_BUSY)) in tegra_mmc_send_cmd_bounced()
196 else if (cmd->resp_type & MMC_RSP_136) in tegra_mmc_send_cmd_bounced()
198 else if (cmd->resp_type & MMC_RSP_BUSY) in tegra_mmc_send_cmd_bounced()
203 if (cmd->resp_type & MMC_RSP_CRC) in tegra_mmc_send_cmd_bounced()
205 if (cmd->resp_type & MMC_RSP_OPCODE) in tegra_mmc_send_cmd_bounced()
210 debug("cmd: %d\n", cmd->cmdidx); in tegra_mmc_send_cmd_bounced()
243 if (cmd->resp_type & MMC_RSP_136) { in tegra_mmc_send_cmd_bounced()
251 cmd->response[i] |= in tegra_mmc_send_cmd_bounced()
[all …]
/openbmc/linux/drivers/net/
H A Dmdio.c366 cmd->base.mdio_support = in mdio45_ethtool_ksettings_get_npage()
376 cmd->base.port = PORT_TP; in mdio45_ethtool_ksettings_get_npage()
395 cmd->base.port = PORT_OTHER; in mdio45_ethtool_ksettings_get_npage()
403 cmd->base.port = PORT_OTHER; in mdio45_ethtool_ksettings_get_npage()
422 cmd->base.port = PORT_FIBRE; in mdio45_ethtool_ksettings_get_npage()
445 if (cmd->base.autoneg) { in mdio45_ethtool_ksettings_get_npage()
491 cmd->base.speed = speed; in mdio45_ethtool_ksettings_get_npage()
501 if (cmd->base.port == PORT_TP && (cmd->base.speed == SPEED_10000)) { in mdio45_ethtool_ksettings_get_npage()
534 switch (cmd) { in mdio_mii_ioctl()
539 cmd = SIOCGMIIREG; in mdio_mii_ioctl()
[all …]
/openbmc/linux/tools/build/
H A DBuild.include41 echo-cmd = $(if $($(quiet)cmd_$(1)),\
45 # Replace >$< with >$$< to preserve $ when reloading the .cmd file
47 # Replace >#< with >$(pound)< to avoid starting a comment in the .cmd file
51 make-cmd = $(call escsq,$(subst $(pound),$$(pound),$(subst $$,$$$$,$(cmd_$(1)))))
59 # Copy dependency data into .cmd file
69 printf '\n%s\n' 'cmd_$@ := $(make-cmd)' >> $(dot-target).cmd)
74 # dependencies in the cmd file
77 $(echo-cmd) $(cmd_$(1)); \
78 $(dep-cmd))
84 $(echo-cmd) $(cmd_$(1)); \
[all …]
/openbmc/linux/net/wireless/
H A Dwext-priv.c101 if (cmd == dev->wireless_handlers->private_args[i].cmd) { in get_priv_descr_and_size()
109 if (IW_IS_SET(cmd)) { in get_priv_descr_and_size()
146 if (IW_IS_SET(cmd)) { in ioctl_private_iw_point()
160 if (IW_IS_SET(cmd) && (iwp->length != 0)) { in ioctl_private_iw_point()
171 if (!err && IW_IS_GET(cmd)) { in ioctl_private_iw_point()
188 unsigned int cmd, struct iw_request_info *info, in ioctl_private_call() argument
194 extra_size = get_priv_descr_and_size(dev, cmd, &descr); in ioctl_private_call()
201 ret = ioctl_private_iw_point(&iwr->u.data, cmd, descr, in ioctl_private_call()
214 unsigned int cmd, struct iw_request_info *info, in compat_private_call() argument
220 extra_size = get_priv_descr_and_size(dev, cmd, &descr); in compat_private_call()
[all …]
/openbmc/linux/drivers/target/
H A Dtarget_core_ua.c26 target_scsi3_ua_check(struct se_cmd *cmd) in target_scsi3_ua_check() argument
29 struct se_session *sess = cmd->se_sess; in target_scsi3_ua_check()
40 deve = target_nacl_find_deve(nacl, cmd->orig_fe_lun); in target_scsi3_ua_check()
65 switch (cmd->t_task_cdb[0]) { in target_scsi3_ua_check()
196 struct se_device *dev = cmd->se_dev; in core_scsi3_ua_for_check_condition()
198 struct se_session *sess = cmd->se_sess; in core_scsi3_ua_for_check_condition()
213 deve = target_nacl_find_deve(nacl, cmd->orig_fe_lun); in core_scsi3_ua_for_check_condition()
261 cmd->orig_fe_lun, cmd->t_task_cdb[0], *asc, *ascq); in core_scsi3_ua_for_check_condition()
267 struct se_cmd *cmd, in core_scsi3_ua_clear_for_request_sense() argument
272 struct se_session *sess = cmd->se_sess; in core_scsi3_ua_clear_for_request_sense()
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dtargetbuild.py49 cmd = ''
53 cmd = 'export ' + var + '=\"%s\"; %s' % (val, cmd)
55 cmd = cmd + "wget -O %s %s" % (self.localarchive, self.uri)
56 subprocess.check_output(cmd, shell=True)
60 def _run(self, cmd): argument
104 def _run(self, cmd): argument
105 return self.target.run(cmd, 0)[0]
126 subprocess.check_output(cmd, shell=True)
142 def _run(self, cmd): argument
143 self.log("Running . %s; " % self.sdkenv + cmd)
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/falcon/
H A Dcmdq.c61 struct nvfw_falcon_cmd cmd; in nvkm_falcon_cmdq_rewind() local
63 cmd.unit_id = NV_FALCON_CMD_UNIT_ID_REWIND; in nvkm_falcon_cmdq_rewind()
64 cmd.size = sizeof(cmd); in nvkm_falcon_cmdq_rewind()
65 nvkm_falcon_cmdq_push(cmdq, &cmd, cmd.size); in nvkm_falcon_cmdq_rewind()
100 nvkm_falcon_cmdq_write(struct nvkm_falcon_cmdq *cmdq, struct nvfw_falcon_cmd *cmd) in nvkm_falcon_cmdq_write() argument
107 ret = nvkm_falcon_cmdq_open(cmdq, cmd->size); in nvkm_falcon_cmdq_write()
113 nvkm_falcon_cmdq_push(cmdq, cmd, cmd->size); in nvkm_falcon_cmdq_write()
124 nvkm_falcon_cmdq_send(struct nvkm_falcon_cmdq *cmdq, struct nvfw_falcon_cmd *cmd, in nvkm_falcon_cmdq_send() argument
141 cmd->seq_id = seq->id; in nvkm_falcon_cmdq_send()
142 cmd->ctrl_flags = CMD_FLAGS_STATUS | CMD_FLAGS_INTR; in nvkm_falcon_cmdq_send()
[all …]

1...<<11121314151617181920>>...273