Home
last modified time | relevance | path

Searched refs:cmd (Results 651 – 675 of 6803) sorted by relevance

1...<<21222324252627282930>>...273

/openbmc/linux/drivers/mmc/host/
H A Dwbsd.c304 cmd->error = -EILSEQ; in wbsd_get_short_reply()
329 cmd->resp[i] = in wbsd_get_long_reply()
331 cmd->resp[i] |= in wbsd_get_long_reply()
333 cmd->resp[i] |= in wbsd_get_long_reply()
335 cmd->resp[i] |= in wbsd_get_long_reply()
359 cmd->error = 0; in wbsd_send_command()
755 cmd = mrq->cmd; in wbsd_request()
767 if (cmd->data) { in wbsd_request()
805 if (cmd->data) { in wbsd_request()
819 if (cmd->data && !cmd->error) { in wbsd_request()
[all …]
H A Dtifm_sd.c374 if (cmd->data && (cmd->data->flags & MMC_DATA_READ)) in tifm_sd_exec()
378 cmd->opcode, cmd->arg, cmd_mask); in tifm_sd_exec()
400 struct mmc_command *cmd = host->req->cmd; in tifm_sd_check_status() local
402 if (cmd->error) in tifm_sd_check_status()
408 if (cmd->data) { in tifm_sd_check_status()
409 if (cmd->data->error) { in tifm_sd_check_status()
512 cmd = host->req->cmd; in tifm_sd_card_event()
522 if (cmd->data) { in tifm_sd_card_event()
538 cmd->error = cmd_error; in tifm_sd_card_event()
544 cmd->error = cmd_error; in tifm_sd_card_event()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_cmd_parser.c130 } cmd; member
820 u32 curr = desc->cmd.value & desc->cmd.mask; in validate_cmds_sorted()
1085 if (((cmd_header ^ desc->cmd.value) & desc->cmd.mask) == 0) in find_cmd_in_table()
1108 if (((cmd_header ^ desc->cmd.value) & desc->cmd.mask) == 0) in find_cmd()
1239 return desc->cmd.value == (cmd & desc->cmd.mask); in cmd_desc_is()
1333 *cmd, in check_cmd()
1464 if (IS_ERR(cmd)) { in intel_engine_cmd_parser()
1466 return PTR_ERR(cmd); in intel_engine_cmd_parser()
1503 *cmd, in intel_engine_cmd_parser()
1505 batch_end - cmd); in intel_engine_cmd_parser()
[all …]
/openbmc/linux/drivers/scsi/
H A Dwd719x.c191 struct scsi_cmnd *cmd = scb->cmd; in wd719x_finish_cmd() local
198 scsi_dma_unmap(cmd); in wd719x_finish_cmd()
202 cmd->result = result << 16; in wd719x_finish_cmd()
203 scsi_done(cmd); in wd719x_finish_cmd()
214 scb->cmd = cmd; in wd719x_queuecommand()
218 scb->lun = cmd->device->lun; in wd719x_queuecommand()
221 memcpy(scb->CDB, cmd->cmnd, cmd->cmd_len); in wd719x_queuecommand()
298 scsi_done(cmd); in wd719x_queuecommand()
477 cmd->device->lun, scsi_cmd_to_rq(cmd)->tag, in wd719x_abort()
515 return wd719x_reset(cmd, WD719X_CMD_RESET, cmd->device->id); in wd719x_dev_reset()
[all …]
/openbmc/qemu/hw/misc/
H A Dmac_via.c418 int cmd, sector, addr; in via1_rtc_update() local
455 if (v1s->cmd == REG_EMPTY) { in via1_rtc_update()
460 if (cmd == REG_INVALID) { in via1_rtc_update()
466 switch (cmd & 0x7f) { in via1_rtc_update()
494 v1s->cmd = cmd; in via1_rtc_update()
506 v1s->cmd = cmd; in via1_rtc_update()
565 g_assert(REG_PRAM_SECT <= v1s->cmd && v1s->cmd <= REG_PRAM_SECT_LAST); in via1_rtc_update()
572 v1s->cmd = REG_EMPTY; in via1_rtc_update()
640 uint8_t cmd = data & 0xc; in adb_via_send_len() local
643 switch (cmd) { in adb_via_send_len()
[all …]
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drs-fw.c138 struct iwl_tlc_config_cmd_v4 *cmd) in rs_fw_vht_set_enabled_rates() argument
198 struct iwl_tlc_config_cmd_v4 *cmd) in rs_fw_he_set_enabled_rates() argument
289 struct iwl_tlc_config_cmd_v4 *cmd) in rs_fw_eht_set_enabled_rates() argument
371 struct iwl_tlc_config_cmd_v4 *cmd) in rs_fw_set_supp_rates() argument
385 cmd->non_ht_rates = cpu_to_le16(supp); in rs_fw_set_supp_rates()
386 cmd->mode = IWL_TLC_MNG_MODE_NON_HT; in rs_fw_set_supp_rates()
390 cmd->mode = IWL_TLC_MNG_MODE_EHT; in rs_fw_set_supp_rates()
392 sband_eht_cap, cmd); in rs_fw_set_supp_rates()
394 cmd->mode = IWL_TLC_MNG_MODE_HE; in rs_fw_set_supp_rates()
397 cmd->mode = IWL_TLC_MNG_MODE_VHT; in rs_fw_set_supp_rates()
[all …]
/openbmc/fb-ipmi-oem/include/
H A Dcommandutils.hpp73 inline static void printRegistration(unsigned int netfn, unsigned int cmd) in printRegistration() argument
78 << netfn << "], Cmd:[0x" << cmd << "]\n"; in printRegistration()
83 ipmi_netfn_t netfn, ipmi_cmd_t cmd, ipmi_context_t context, in ipmiPrintAndRegister() argument
86 printRegistration(netfn, cmd); in ipmiPrintAndRegister()
87 ipmi_register_callback(netfn, cmd, context, handler, priv); in ipmiPrintAndRegister()
90 inline static void printCommand(unsigned int netfn, unsigned int cmd) in printCommand() argument
95 << netfn << "], Cmd:[0x" << cmd << "]\n"; in printCommand()
/openbmc/linux/fs/autofs/
H A Ddev-ioctl.c66 param->ver_major, param->ver_minor, cmd); in check_dev_ioctl_version()
115 err = check_dev_ioctl_version(cmd, param); in validate_dev_ioctl()
118 "supplied for cmd(0x%08x)\n", cmd); in validate_dev_ioctl()
127 cmd); in validate_dev_ioctl()
134 cmd); in validate_dev_ioctl()
138 unsigned int inr = _IOC_NR(cmd); in validate_dev_ioctl()
564 #define cmd_idx(cmd) (cmd - _IOC_NR(AUTOFS_DEV_IOCTL_IOC_FIRST)) argument
584 unsigned int idx = cmd_idx(cmd); in lookup_dev_ioctl()
599 unsigned int cmd_first, cmd; in _autofs_dev_ioctl() local
604 cmd = _IOC_NR(command); in _autofs_dev_ioctl()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D03059 self.vm.cmd('block-stream', device='drive0')
95 self.vm.cmd('block-stream', device='drive0')
108 self.vm.cmd('block-job-resume', device='drive0')
169 self.vm.cmd('blockdev-add',
290 self.vm.cmd('block-stream', device='node4',
390 self.vm.cmd('block-commit', device='drive0',
412 self.vm.cmd('block-commit', device='drive0',
417 self.vm.cmd('block-stream', device='node4',
610 self.vm.cmd('block-stream', device='drive0')
667 self.vm.cmd('block-stream', device='drive0')
[all …]
H A D20547 self.vm.cmd('nbd-server-start', addr=address)
48 self.vm.cmd('nbd-server-add', device='drive0', name='exp')
105 self.assertReadOk(qio.cmd('read 0 512'))
110 self.assertReadOk(qio.cmd('read 0 512'))
127 self.assertReadOk(qio.cmd('read 0 512'))
132 self.assertReadFailed(qio.cmd('read 0 512'))
139 self.assertReadOk(qio.cmd('read 0 512'))
144 self.assertReadOk(qio.cmd('read 0 512'))
150 self.assertReadFailed(qio.cmd('read 0 512'))
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/
H A Dspi.c428 cmd = 0xf0; in spi_data_write()
429 cmd |= order; in spi_data_write()
497 c->cmd_type = cmd; in wilc_spi_single_read()
590 c->cmd_type = cmd; in wilc_spi_write_cmd()
667 c->cmd_type = cmd; in wilc_spi_dma_rw()
668 if (cmd == CMD_DMA_WRITE || cmd == CMD_DMA_READ) { in wilc_spi_dma_rw()
677 } else if (cmd == CMD_DMA_EXT_WRITE || cmd == CMD_DMA_EXT_READ) { in wilc_spi_dma_rw()
689 cmd); in wilc_spi_dma_rw()
722 if (cmd == CMD_DMA_WRITE || cmd == CMD_DMA_EXT_WRITE) in wilc_spi_dma_rw()
788 if (cmd != CMD_TERMINATE && cmd != CMD_REPEAT && cmd != CMD_RESET) in wilc_spi_special_cmd()
[all …]
/openbmc/u-boot/drivers/mmc/
H A Dpxa_mmc_gen.c105 if (cmd->resp_type & MMC_RSP_BUSY) in pxa_mmc_start_cmd()
109 switch (cmd->resp_type) { in pxa_mmc_start_cmd()
125 writel(cmd->cmdidx, &regs->cmd); in pxa_mmc_start_cmd()
126 writel(cmd->cmdarg >> 16, &regs->argh); in pxa_mmc_start_cmd()
127 writel(cmd->cmdarg & 0xffff, &regs->argl); in pxa_mmc_start_cmd()
161 cmd->response[i] = (a << 24) | (b << 8) | (c >> 8); in pxa_mmc_cmd_done()
169 && cmd->resp_type & MMC_RSP_CRC) { in pxa_mmc_cmd_done()
171 if (cmd->resp_type & MMC_RSP_136 in pxa_mmc_cmd_done()
172 && cmd->response[0] & (1 << 31)) in pxa_mmc_cmd_done()
290 ret = pxa_mmc_start_cmd(mmc, cmd, cmdat); in pxa_mmc_request()
[all …]
H A Dtmio-common.c119 if ((cmd->cmdidx != MMC_CMD_SEND_TUNING_BLOCK) && in tmio_sd_check_error()
147 ret = tmio_sd_check_error(dev, cmd); in tmio_sd_wait_for_irq()
190 ret = tmio_sd_wait_for_irq(dev, cmd, TMIO_SD_INFO2, in tmio_sd_pio_read_one_block()
269 ret = tmio_sd_pio_read_one_block(dev, cmd, dest, in tmio_sd_pio_xfer()
272 ret = tmio_sd_pio_write_one_block(dev, cmd, src, in tmio_sd_pio_xfer()
426 tmio_sd_writel(priv, cmd->cmdarg, TMIO_SD_ARG); in tmio_sd_send_cmd()
428 tmp = cmd->cmdidx; in tmio_sd_send_cmd()
450 switch (cmd->resp_type) { in tmio_sd_send_cmd()
472 cmd->cmdidx, tmp, cmd->cmdarg); in tmio_sd_send_cmd()
480 if (cmd->resp_type & MMC_RSP_136) { in tmio_sd_send_cmd()
[all …]
/openbmc/linux/drivers/net/ethernet/amd/pds_core/
H A Ddev.c104 memset_io(&pdsc->cmd_regs->cmd, 0, sizeof(pdsc->cmd_regs->cmd)); in pdsc_devcmd_clean()
184 memcpy_toio(&pdsc->cmd_regs->cmd, cmd, sizeof(*cmd)); in pdsc_devcmd_locked()
186 err = pdsc_devcmd_wait(pdsc, cmd->opcode, max_seconds); in pdsc_devcmd_locked()
196 int pdsc_devcmd(struct pdsc *pdsc, union pds_core_dev_cmd *cmd, in pdsc_devcmd() argument
202 err = pdsc_devcmd_locked(pdsc, cmd, comp, max_seconds); in pdsc_devcmd()
211 union pds_core_dev_cmd cmd = { in pdsc_devcmd_init() local
215 return pdsc_devcmd(pdsc, &cmd, &comp, pdsc->devcmd_timeout); in pdsc_devcmd_init()
221 union pds_core_dev_cmd cmd = { in pdsc_devcmd_reset() local
225 return pdsc_devcmd(pdsc, &cmd, &comp, pdsc->devcmd_timeout); in pdsc_devcmd_reset()
231 union pds_core_dev_cmd cmd = { in pdsc_devcmd_identify_locked() local
[all …]
/openbmc/pldm/platform-mc/test/
H A Dplatform_manager_test.cpp47 uint8_t cmd = PLDM_GET_PDR; in TEST_F() local
49 pldmCmds[idx] = pldmCmds[idx] | (1 << (cmd % 8)); in TEST_F()
50 cmd = PLDM_GET_PDR_REPOSITORY_INFO; in TEST_F()
51 idx = type * (PLDM_MAX_CMDS_PER_TYPE / 8) + (cmd / 8); in TEST_F()
52 pldmCmds[idx] = pldmCmds[idx] | (1 << (cmd % 8)); in TEST_F()
206 uint8_t cmd = PLDM_GET_PDR; in TEST_F() local
208 pldmCmds[idx] = pldmCmds[idx] | (1 << (cmd % 8)); in TEST_F()
209 cmd = PLDM_GET_PDR_REPOSITORY_INFO; in TEST_F()
211 pldmCmds[idx] = pldmCmds[idx] | (1 << (cmd % 8)); in TEST_F()
364 uint8_t cmd = PLDM_GET_PDR_REPOSITORY_INFO; in TEST_F() local
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_ethtool.c104 cmd->base.port = PORT_TP; in netxen_nic_get_link_ksettings()
129 cmd->base.port = PORT_TP; in netxen_nic_get_link_ksettings()
163 cmd->base.port = PORT_TP; in netxen_nic_get_link_ksettings()
175 cmd->base.port = PORT_MII; in netxen_nic_get_link_ksettings()
190 cmd->base.port = PORT_FIBRE; in netxen_nic_get_link_ksettings()
199 cmd->base.port = PORT_FIBRE; in netxen_nic_get_link_ksettings()
206 cmd->base.port = PORT_TP; in netxen_nic_get_link_ksettings()
226 cmd->base.port = PORT_TP; in netxen_nic_get_link_ksettings()
229 cmd->base.port = -1; in netxen_nic_get_link_ksettings()
251 u32 speed = cmd->base.speed; in netxen_nic_set_link_ksettings()
[all …]
/openbmc/qemu/hw/i386/
H A Damd_iommu.c414 if (extract64(cmd[0], 16, 44) || cmd[1]) { in amdvi_inval_devtab_entry()
424 if (extract64(cmd[0], 16, 16) || extract64(cmd[0], 52, 8) || in amdvi_complete_ppr()
425 extract64(cmd[1], 0, 2) || extract64(cmd[1], 3, 29) in amdvi_complete_ppr()
435 if (extract64(cmd[0], 0, 60) || cmd[1]) { in amdvi_inval_all()
457 if (extract64(cmd[0], 20, 12) || extract64(cmd[0], 48, 12) || in amdvi_inval_pages()
470 if (extract64(cmd[0], 16, 8) || extract64(cmd[0], 52, 8) || in amdvi_prefetch_pages()
471 extract64(cmd[1], 1, 1) || extract64(cmd[1], 3, 1) || in amdvi_prefetch_pages()
482 if (extract64(cmd[0], 16, 44) || cmd[1]) { in amdvi_inval_inttable()
498 if (extract64(cmd[1], 1, 1) || extract64(cmd[1], 3, 1) || in iommu_inval_iotlb()
518 uint64_t cmd[2]; in amdvi_cmdbuf_exec() local
[all …]
/openbmc/linux/tools/perf/tests/
H A Dmake309 printf "%*.*s: %s\n" $(max_width) $(max_width) "$@" "$$cmd" && echo $$cmd > $@ && \
310 ( eval $$cmd ) >> $@ 2>&1; \
319 printf "%*.*s: %s\n" $(max_width) $(max_width) "$@" "$$cmd" && echo $$cmd > $@ && \
320 ( eval $$cmd ) >> $@ 2>&1; \
329 printf "%*.*s: %s\n" $(max_width) $(max_width) "$@" "$$cmd" && echo $$cmd > $@ && \
330 ( eval $$cmd ) >> $@ 2>&1; \
340 printf "%*.*s: %s\n" $(max_width) $(max_width) "$@" "$$cmd" && echo $$cmd > $@ && \
341 ( eval $$cmd ) >> $@ 2>&1 && \
348 echo "- $@: $$cmd" && echo $$cmd > $@ && \
388 echo "- $@: $$cmd" && echo $$cmd && \
[all …]
/openbmc/linux/drivers/crypto/caam/
H A Ddesc_constr.h176 u32 *cmd = desc_end(desc); in append_cmd() local
178 *cmd = cpu_to_caam32(command); in append_cmd()
233 #define APPEND_CMD_RET(cmd, op) \ argument
236 u32 *cmd = desc_end(desc); \
239 return cmd; \
260 #define APPEND_CMD(cmd, op) \ argument
268 #define APPEND_CMD_LEN(cmd, op) \ in APPEND_CMD() argument
281 #define APPEND_CMD_PTR(cmd, op) \ argument
310 #define APPEND_SEQ_PTR_INTLEN(cmd, op) \ argument
325 #define APPEND_CMD_PTR_TO_IMM(cmd, op) \ argument
[all …]
/openbmc/linux/drivers/crypto/ccp/
H A Dccp-dmaengine.c68 list_del(&cmd->entry); in ccp_free_cmd_resources()
141 struct ccp_dma_cmd *cmd; in ccp_issue_next_cmd() local
162 struct ccp_dma_cmd *cmd; in ccp_free_active_cmd() local
166 if (!cmd) in ccp_free_active_cmd()
172 list_del(&cmd->entry); in ccp_free_active_cmd()
322 struct ccp_dma_cmd *cmd; in ccp_alloc_dma_cmd() local
325 if (cmd) in ccp_alloc_dma_cmd()
326 memset(cmd, 0, sizeof(*cmd)); in ccp_alloc_dma_cmd()
328 return cmd; in ccp_alloc_dma_cmd()
363 struct ccp_dma_cmd *cmd; in ccp_create_desc() local
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Dilitek_ts_i2c.c71 u16 cmd; member
103 .buf = cmd, in ilitek_i2c_write_and_read()
216 u16 cmd; in api_protocol_set_cmd() local
222 cmd = ts->ptl_cb_func[idx].cmd; in api_protocol_set_cmd()
236 buf[0] = cmd; in api_protocol_get_ptl_ver()
253 buf[0] = cmd; in api_protocol_get_mcu_ver()
271 buf[0] = cmd; in api_protocol_get_fw_ver()
287 buf[0] = cmd; in api_protocol_get_scrn_res()
306 buf[0] = cmd; in api_protocol_get_tp_res()
327 buf[0] = cmd; in api_protocol_get_ic_mode()
[all …]
/openbmc/linux/drivers/gpu/drm/sti/
H A Dsti_hqvdp.c381 u32 cmd = hqvdp->hqvdp_cmd_paddr; in sti_hqvdp_get_free_cmd() local
388 if ((cmd != curr_cmd) && (cmd != next_cmd)) in sti_hqvdp_get_free_cmd()
409 u32 cmd = hqvdp->hqvdp_cmd_paddr; in sti_hqvdp_get_curr_cmd() local
415 if (cmd == curr_cmd) in sti_hqvdp_get_curr_cmd()
443 if (cmd == next_cmd) in sti_hqvdp_get_next_cmd()
569 int cmd, cmd_offset, infoxp70; in hqvdp_dbg_show() local
620 cmd, virt); in hqvdp_dbg_show()
632 cmd, virt); in hqvdp_dbg_show()
1128 struct sti_hqvdp_cmd *cmd; in sti_hqvdp_atomic_update() local
1215 cmd->top.luma_src_pitch *= 2; in sti_hqvdp_atomic_update()
[all …]
/openbmc/linux/drivers/net/dsa/sja1105/
H A Dsja1105_ptp.c177 priv->info->ptp_cmd_packing(buf, cmd, PACK); in sja1105_ptp_commit()
498 struct sja1105_ptp_cmd cmd = ptp_data->cmd; in sja1105_ptp_reset() local
503 cmd.resptp = 1; in sja1105_ptp_reset()
506 rc = sja1105_ptp_commit(ds, &cmd, SPI_WRITE); in sja1105_ptp_reset()
559 if (ptp_data->cmd.ptpclkadd == mode) in sja1105_ptp_mode_set()
562 ptp_data->cmd.ptpclkadd = mode; in sja1105_ptp_mode_set()
723 struct sja1105_ptp_cmd cmd = ptp_data->cmd; in sja1105_per_out_enable() local
791 cmd.startptpcp = true; in sja1105_per_out_enable()
793 cmd.stopptpcp = true; in sja1105_per_out_enable()
916 ptp_data->cmd.corrclk4ts = true; in sja1105_ptp_clock_register()
[all …]
/openbmc/linux/fs/ext2/
H A Dioctl.c54 long ext2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in ext2_ioctl() argument
61 ext2_debug ("cmd = %u, arg = %lu\n", cmd, arg); in ext2_ioctl()
63 switch (cmd) { in ext2_ioctl()
144 long ext2_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ext2_compat_ioctl() argument
147 switch (cmd) { in ext2_compat_ioctl()
149 cmd = EXT2_IOC_GETVERSION; in ext2_compat_ioctl()
152 cmd = EXT2_IOC_SETVERSION; in ext2_compat_ioctl()
157 return ext2_ioctl(file, cmd, (unsigned long) compat_ptr(arg)); in ext2_compat_ioctl()
/openbmc/linux/drivers/mux/
H A Dadg792a.c23 static int adg792a_write_cmd(struct i2c_client *i2c, u8 cmd, int reset) in adg792a_write_cmd() argument
31 return i2c_smbus_write_byte_data(i2c, cmd, data); in adg792a_write_cmd()
37 u8 cmd; in adg792a_set() local
42 cmd = ADG792A_DISABLE_ALL; in adg792a_set()
44 cmd = ADG792A_MUX_ALL(state); in adg792a_set()
49 cmd = ADG792A_DISABLE(controller); in adg792a_set()
51 cmd = ADG792A_MUX(controller, state); in adg792a_set()
54 return adg792a_write_cmd(i2c, cmd, 0); in adg792a_set()

1...<<21222324252627282930>>...273