Home
last modified time | relevance | path

Searched refs:cmd2 (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/scsi/
H A Dscsi_debugfs.c39 struct scsi_cmnd *cmd2; in scsi_cmd_list_info() local
43 list_for_each_entry(cmd2, &shost->eh_abort_list, eh_entry) in scsi_cmd_list_info()
44 if (cmd == cmd2) in scsi_cmd_list_info()
47 list_for_each_entry(cmd2, &shost->eh_cmd_q, eh_entry) in scsi_cmd_list_info()
48 if (cmd == cmd2) in scsi_cmd_list_info()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_context.c385 } *cmd2; in vmw_gb_context_unbind() local
395 submit_size = sizeof(*cmd2) + (readback ? sizeof(*cmd1) : 0); in vmw_gb_context_unbind()
403 cmd2 = (void *) cmd; in vmw_gb_context_unbind()
409 cmd2 = (void *) (&cmd1[1]); in vmw_gb_context_unbind()
411 cmd2->header.id = SVGA_3D_CMD_BIND_GB_CONTEXT; in vmw_gb_context_unbind()
412 cmd2->header.size = sizeof(cmd2->body); in vmw_gb_context_unbind()
413 cmd2->body.cid = res->id; in vmw_gb_context_unbind()
414 cmd2->body.mobid = SVGA3D_INVALID_ID; in vmw_gb_context_unbind()
594 } *cmd2; in vmw_dx_context_unbind() local
611 submit_size = sizeof(*cmd2) + (readback ? sizeof(*cmd1) : 0); in vmw_dx_context_unbind()
[all …]
H A Dvmwgfx_surface.c1164 } *cmd2; in vmw_gb_surface_create() local
1200 cmd_len = sizeof(cmd2->body); in vmw_gb_surface_create()
1201 submit_len = sizeof(*cmd2); in vmw_gb_surface_create()
1209 cmd2 = (typeof(cmd2))cmd; in vmw_gb_surface_create()
1249 cmd2->header.id = cmd_id; in vmw_gb_surface_create()
1250 cmd2->header.size = cmd_len; in vmw_gb_surface_create()
1251 cmd2->body.sid = srf->res.id; in vmw_gb_surface_create()
1252 cmd2->body.surfaceFlags = metadata->flags; in vmw_gb_surface_create()
1253 cmd2->body.format = metadata->format; in vmw_gb_surface_create()
1254 cmd2->body.numMipLevels = metadata->mip_levels[0]; in vmw_gb_surface_create()
[all …]
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-cmd-queue.h428 uint64_t cmd2) in cvmx_cmd_queue_write2() argument
461 ptr[1] = cmd2; in cvmx_cmd_queue_write2()
488 *ptr++ = cmd2; in cvmx_cmd_queue_write2()
499 new_buffer[0] = cmd2; in cvmx_cmd_queue_write2()
528 uint64_t cmd2, in cvmx_cmd_queue_write3() argument
562 ptr[1] = cmd2; in cvmx_cmd_queue_write3()
590 *ptr++ = cmd2; in cvmx_cmd_queue_write3()
604 *ptr++ = cmd2; in cvmx_cmd_queue_write3()
/linux/drivers/mtd/nand/raw/
H A Dvf610_nfc.c328 u32 cmd1, u32 cmd2, u32 trfr_sz) in vf610_nfc_run() argument
338 vf610_nfc_write(nfc, NFC_FLASH_CMD2, cmd2); in vf610_nfc_run()
342 col, row, cmd1, cmd2, trfr_sz); in vf610_nfc_run()
364 u32 col = 0, row = 0, cmd1 = 0, cmd2 = 0, code = 0; in vf610_nfc_cmd() local
378 cmd2 |= instr->ctx.cmd.opcode << CMD_BYTE1_SHIFT; in vf610_nfc_cmd()
442 cmd2 |= code << CMD_CODE_SHIFT; in vf610_nfc_cmd()
444 vf610_nfc_run(nfc, col, row, cmd1, cmd2, trfr_sz); in vf610_nfc_cmd()
555 u32 row = 0, cmd1 = 0, cmd2 = 0, code = 0; in vf610_nfc_read_page() local
560 cmd2 |= NAND_CMD_READ0 << CMD_BYTE1_SHIFT; in vf610_nfc_read_page()
568 cmd2 |= code << CMD_CODE_SHIFT; in vf610_nfc_read_page()
[all …]
/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_nic.c59 ih2 = (struct octeon_instr_ih2 *)&sc->cmd.cmd2.ih2; in octeon_alloc_soft_command_resp()
60 rdp = (struct octeon_instr_rdp *)&sc->cmd.cmd2.rdp; in octeon_alloc_soft_command_resp()
61 irh = (struct octeon_instr_irh *)&sc->cmd.cmd2.irh; in octeon_alloc_soft_command_resp()
76 sc->cmd.cmd2.rptr = sc->dmarptr; in octeon_alloc_soft_command_resp()
H A Drequest_manager.c647 ih2 = (struct octeon_instr_ih2 *)&sc->cmd.cmd2.ih2; in octeon_prepare_soft_command()
658 irh = (struct octeon_instr_irh *)&sc->cmd.cmd2.irh; in octeon_prepare_soft_command()
664 sc->cmd.cmd2.ossp[0] = ossp0; in octeon_prepare_soft_command()
665 sc->cmd.cmd2.ossp[1] = ossp1; in octeon_prepare_soft_command()
668 rdp = (struct octeon_instr_rdp *)&sc->cmd.cmd2.rdp; in octeon_prepare_soft_command()
716 ih2 = (struct octeon_instr_ih2 *)&sc->cmd.cmd2.ih2; in octeon_send_soft_command()
719 sc->cmd.cmd2.dptr = sc->dmadptr; in octeon_send_soft_command()
721 irh = (struct octeon_instr_irh *)&sc->cmd.cmd2.irh; in octeon_send_soft_command()
726 sc->cmd.cmd2.rptr = sc->dmarptr; in octeon_send_soft_command()
H A Docteon_nic.h130 ih2 = (struct octeon_instr_ih2 *)&cmd->cmd2.ih2; in octnet_prepare_pci_cmd_o2()
157 irh = (struct octeon_instr_irh *)&cmd->cmd2.irh; in octnet_prepare_pci_cmd_o2()
H A Docteon_iq.h258 struct octeon_instr2_64B cmd2; member
H A Dlio_main.c2270 (&sc->cmd.cmd2.ih2))->dlengsz; in send_nic_timestamp_pkt()
2397 ndata.cmd.cmd2.dptr = dptr; in liquidio_xmit()
2473 ndata.cmd.cmd2.dptr = dptr; in liquidio_xmit()
2484 irh = (struct octeon_instr_irh *)&ndata.cmd.cmd2.irh; in liquidio_xmit()
2485 tx_info = (union tx_info *)&ndata.cmd.cmd2.ossp[0]; in liquidio_xmit()
/linux/drivers/net/ethernet/sunplus/
H A Dspl2sw_desc.c24 rx_desc[j].cmd2 = (j == comm->rx_desc_num[i] - 1) ? in spl2sw_rx_descs_flush()
43 comm->tx_desc[i].cmd2 = 0; in spl2sw_tx_descs_clean()
75 rx_desc[j].cmd2 = 0; in spl2sw_rx_descs_clean()
154 rx_desc[j].cmd2 = (j == comm->rx_desc_num[i] - 1) ? in spl2sw_rx_descs_init()
H A Dspl2sw_int.c76 desc->cmd2 = (rx_pos == comm->rx_desc_num[queue] - 1) ? in spl2sw_rx_poll()
89 desc->cmd2 = (rx_pos == comm->rx_desc_num[queue] - 1) ? in spl2sw_rx_poll()
101 desc->cmd2 = (rx_pos == comm->rx_desc_num[queue] - 1) ? in spl2sw_rx_poll()
H A Dspl2sw_define.h211 u32 cmd2; member
/linux/drivers/comedi/drivers/
H A Dni_labpc_common.c114 devpriv->cmd2 &= ~(CMD2_SWTRIG | CMD2_HWTRIG | CMD2_PRETRIG); in labpc_cancel()
115 devpriv->write_byte(dev, devpriv->cmd2, CMD2_REG); in labpc_cancel()
753 devpriv->cmd2 |= CMD2_TBSEL; in labpc_ai_cmd()
755 devpriv->cmd2 &= ~(CMD2_SWTRIG | CMD2_HWTRIG | CMD2_PRETRIG); in labpc_ai_cmd()
757 devpriv->cmd2 |= CMD2_HWTRIG; in labpc_ai_cmd()
759 devpriv->cmd2 |= CMD2_SWTRIG; in labpc_ai_cmd()
761 devpriv->cmd2 |= (CMD2_HWTRIG | CMD2_PRETRIG); in labpc_ai_cmd()
763 devpriv->write_byte(dev, devpriv->cmd2, CMD2_REG); in labpc_ai_cmd()
925 devpriv->cmd2 &= ~CMD2_LDAC(channel); in labpc_ao_insn_write()
926 devpriv->write_byte(dev, devpriv->cmd2, CMD2_REG); in labpc_ao_insn_write()
[all …]
H A Dni_labpc.h31 unsigned int cmd2; member
/linux/drivers/gpio/
H A Dgpio-cgbc.c29 u8 cmd0, u8 cmd1, u8 cmd2, u8 *value) in cgbc_gpio_cmd() argument
31 u8 cmd[3] = {cmd0, cmd1, cmd2}; in cgbc_gpio_cmd()
/linux/sound/usb/line6/
H A Dtoneport.c62 static int toneport_send_cmd(struct usb_device *usbdev, int cmd1, int cmd2);
125 static int toneport_send_cmd(struct usb_device *usbdev, int cmd1, int cmd2) in toneport_send_cmd() argument
131 cmd1, cmd2, NULL, 0, LINE6_TIMEOUT, in toneport_send_cmd()
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-trans.c338 u8 cmd2 = name->cmd_id; in iwl_hcmd_names_cmp() local
340 return (*cmd1 - cmd2); in iwl_hcmd_names_cmp()
/linux/arch/arm/boot/dts/ti/omap/
H A Dmotorola-mapphone-handset.dtsi153 /* cmd2 0x4a100142 uart3_rts_sd.gpio_142 f28 */
/linux/drivers/gpu/drm/panel/
H A Dpanel-sitronix-st7701.c195 static void st7701_switch_cmd_bkx(struct st7701 *st7701, bool cmd2, u8 bkx) in st7701_switch_cmd_bkx() argument
199 if (cmd2) in st7701_switch_cmd_bkx()
/linux/drivers/mmc/host/
H A Dvub300.c1801 u8 cmd2 = 0xFF & (cmd->arg >> 8); in examine_cyclic_buffer() local
1807 cmd2 == rf->command_byte[2] && in examine_cyclic_buffer()
1829 cmd2 == r->command_byte[2] && in examine_cyclic_buffer()
/linux/drivers/video/fbdev/mmp/hw/
H A Dmmp_ctrl.h1070 u32 cmd2; member
/linux/drivers/iommu/amd/
H A Diommu.c3063 struct iommu_cmd cmd, cmd2; in iommu_flush_irt_and_complete() local
3070 build_completion_wait(&cmd2, iommu, data); in iommu_flush_irt_and_complete()
3076 ret = __iommu_queue_command_sync(iommu, &cmd2, false); in iommu_flush_irt_and_complete()