Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_context.c378 } *cmd2; in vmw_gb_context_unbind() local
388 submit_size = sizeof(*cmd2) + (readback ? sizeof(*cmd1) : 0); in vmw_gb_context_unbind()
396 cmd2 = (void *) cmd; in vmw_gb_context_unbind()
402 cmd2 = (void *) (&cmd1[1]); in vmw_gb_context_unbind()
404 cmd2->header.id = SVGA_3D_CMD_BIND_GB_CONTEXT; in vmw_gb_context_unbind()
405 cmd2->header.size = sizeof(cmd2->body); in vmw_gb_context_unbind()
406 cmd2->body.cid = res->id; in vmw_gb_context_unbind()
407 cmd2->body.mobid = SVGA3D_INVALID_ID; in vmw_gb_context_unbind()
585 } *cmd2; in vmw_dx_context_unbind() local
602 submit_size = sizeof(*cmd2) + (readback ? sizeof(*cmd1) : 0); in vmw_dx_context_unbind()
[all …]
Dvmwgfx_surface.c1041 } *cmd2; in vmw_gb_surface_create() local
1069 cmd_len = sizeof(cmd2->body); in vmw_gb_surface_create()
1070 submit_len = sizeof(*cmd2); in vmw_gb_surface_create()
1078 cmd2 = (typeof(cmd2))cmd; in vmw_gb_surface_create()
1101 cmd2->header.id = cmd_id; in vmw_gb_surface_create()
1102 cmd2->header.size = cmd_len; in vmw_gb_surface_create()
1103 cmd2->body.sid = srf->res.id; in vmw_gb_surface_create()
1104 cmd2->body.surfaceFlags = srf->flags; in vmw_gb_surface_create()
1105 cmd2->body.format = srf->format; in vmw_gb_surface_create()
1106 cmd2->body.numMipLevels = srf->mip_levels[0]; in vmw_gb_surface_create()
[all …]
/drivers/mtd/nand/raw/
Dvf610_nfc.c332 u32 cmd1, u32 cmd2, u32 trfr_sz) in vf610_nfc_run() argument
342 vf610_nfc_write(nfc, NFC_FLASH_CMD2, cmd2); in vf610_nfc_run()
346 col, row, cmd1, cmd2, trfr_sz); in vf610_nfc_run()
368 u32 col = 0, row = 0, cmd1 = 0, cmd2 = 0, code = 0; in vf610_nfc_cmd() local
382 cmd2 |= instr->ctx.cmd.opcode << CMD_BYTE1_SHIFT; in vf610_nfc_cmd()
446 cmd2 |= code << CMD_CODE_SHIFT; in vf610_nfc_cmd()
448 vf610_nfc_run(nfc, col, row, cmd1, cmd2, trfr_sz); in vf610_nfc_cmd()
557 u32 row = 0, cmd1 = 0, cmd2 = 0, code = 0; in vf610_nfc_read_page() local
562 cmd2 |= NAND_CMD_READ0 << CMD_BYTE1_SHIFT; in vf610_nfc_read_page()
570 cmd2 |= code << CMD_CODE_SHIFT; in vf610_nfc_read_page()
[all …]
/drivers/net/ethernet/cavium/liquidio/
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()
Drequest_manager.c654 ih2 = (struct octeon_instr_ih2 *)&sc->cmd.cmd2.ih2; in octeon_prepare_soft_command()
665 irh = (struct octeon_instr_irh *)&sc->cmd.cmd2.irh; in octeon_prepare_soft_command()
671 sc->cmd.cmd2.ossp[0] = ossp0; in octeon_prepare_soft_command()
672 sc->cmd.cmd2.ossp[1] = ossp1; in octeon_prepare_soft_command()
675 rdp = (struct octeon_instr_rdp *)&sc->cmd.cmd2.rdp; in octeon_prepare_soft_command()
722 ih2 = (struct octeon_instr_ih2 *)&sc->cmd.cmd2.ih2; in octeon_send_soft_command()
725 sc->cmd.cmd2.dptr = sc->dmadptr; in octeon_send_soft_command()
727 irh = (struct octeon_instr_irh *)&sc->cmd.cmd2.irh; in octeon_send_soft_command()
732 sc->cmd.cmd2.rptr = sc->dmarptr; in octeon_send_soft_command()
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()
Docteon_iq.h258 struct octeon_instr2_64B cmd2; member
Dlio_main.c2296 (&sc->cmd.cmd2.ih2))->dlengsz; in send_nic_timestamp_pkt()
2421 ndata.cmd.cmd2.dptr = dptr; in liquidio_xmit()
2497 ndata.cmd.cmd2.dptr = dptr; in liquidio_xmit()
2508 irh = (struct octeon_instr_irh *)&ndata.cmd.cmd2.irh; in liquidio_xmit()
2509 tx_info = (union tx_info *)&ndata.cmd.cmd2.ossp[0]; in liquidio_xmit()
/drivers/staging/comedi/drivers/
Dni_labpc_common.c110 devpriv->cmd2 &= ~(CMD2_SWTRIG | CMD2_HWTRIG | CMD2_PRETRIG); in labpc_cancel()
111 devpriv->write_byte(dev, devpriv->cmd2, CMD2_REG); in labpc_cancel()
750 devpriv->cmd2 |= CMD2_TBSEL; in labpc_ai_cmd()
752 devpriv->cmd2 &= ~(CMD2_SWTRIG | CMD2_HWTRIG | CMD2_PRETRIG); in labpc_ai_cmd()
754 devpriv->cmd2 |= CMD2_HWTRIG; in labpc_ai_cmd()
756 devpriv->cmd2 |= CMD2_SWTRIG; in labpc_ai_cmd()
758 devpriv->cmd2 |= (CMD2_HWTRIG | CMD2_PRETRIG); in labpc_ai_cmd()
760 devpriv->write_byte(dev, devpriv->cmd2, CMD2_REG); in labpc_ai_cmd()
922 devpriv->cmd2 &= ~CMD2_LDAC(channel); in labpc_ao_insn_write()
923 devpriv->write_byte(dev, devpriv->cmd2, CMD2_REG); in labpc_ao_insn_write()
[all …]
Dni_labpc.h31 unsigned int cmd2; member
/drivers/input/touchscreen/
Dwacom_i2c.c47 u8 cmd2[] = { WACOM_CMD_THROW0, WACOM_CMD_THROW1 }; in wacom_query_device() local
59 .len = sizeof(cmd2), in wacom_query_device()
60 .buf = cmd2, in wacom_query_device()
/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.c160 u8 cmd2 = name->cmd_id; in iwl_hcmd_names_cmp() local
162 return (cmd1 - cmd2); in iwl_hcmd_names_cmp()
/drivers/md/
Ddm-cache-metadata.c809 struct dm_cache_metadata *cmd, *cmd2; in lookup_or_open() local
822 cmd2 = lookup(bdev); in lookup_or_open()
823 if (cmd2) { in lookup_or_open()
827 return cmd2; in lookup_or_open()
/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.h606 u8 cmd2; member
/drivers/mmc/host/
Dvub300.c1800 u8 cmd2 = 0xFF & (cmd->arg >> 8); in examine_cyclic_buffer() local
1806 cmd2 == rf->command_byte[2] && in examine_cyclic_buffer()
1828 cmd2 == r->command_byte[2] && in examine_cyclic_buffer()
/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h1070 u32 cmd2; member