Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c1041 } *cmd2; in vmw_gb_surface_create() local
1077 cmd_len = sizeof(cmd2->body); in vmw_gb_surface_create()
1078 submit_len = sizeof(*cmd2); in vmw_gb_surface_create()
1086 cmd2 = (typeof(cmd2))cmd; in vmw_gb_surface_create()
1126 cmd2->header.id = cmd_id; in vmw_gb_surface_create()
1127 cmd2->header.size = cmd_len; in vmw_gb_surface_create()
1128 cmd2->body.sid = srf->res.id; in vmw_gb_surface_create()
1129 cmd2->body.surfaceFlags = metadata->flags; in vmw_gb_surface_create()
1130 cmd2->body.format = metadata->format; in vmw_gb_surface_create()
1131 cmd2->body.numMipLevels = metadata->mip_levels[0]; in vmw_gb_surface_create()
[all …]
Dvmwgfx_context.c381 } *cmd2; in vmw_gb_context_unbind() local
391 submit_size = sizeof(*cmd2) + (readback ? sizeof(*cmd1) : 0); in vmw_gb_context_unbind()
399 cmd2 = (void *) cmd; in vmw_gb_context_unbind()
405 cmd2 = (void *) (&cmd1[1]); in vmw_gb_context_unbind()
407 cmd2->header.id = SVGA_3D_CMD_BIND_GB_CONTEXT; in vmw_gb_context_unbind()
408 cmd2->header.size = sizeof(cmd2->body); in vmw_gb_context_unbind()
409 cmd2->body.cid = res->id; in vmw_gb_context_unbind()
410 cmd2->body.mobid = SVGA3D_INVALID_ID; in vmw_gb_context_unbind()
590 } *cmd2; in vmw_dx_context_unbind() local
607 submit_size = sizeof(*cmd2) + (readback ? sizeof(*cmd1) : 0); in vmw_dx_context_unbind()
[all …]
/linux-6.1.9/arch/mips/include/asm/octeon/
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-6.1.9/drivers/mtd/nand/raw/
Dvf610_nfc.c327 u32 cmd1, u32 cmd2, u32 trfr_sz) in vf610_nfc_run() argument
337 vf610_nfc_write(nfc, NFC_FLASH_CMD2, cmd2); in vf610_nfc_run()
341 col, row, cmd1, cmd2, trfr_sz); in vf610_nfc_run()
363 u32 col = 0, row = 0, cmd1 = 0, cmd2 = 0, code = 0; in vf610_nfc_cmd() local
377 cmd2 |= instr->ctx.cmd.opcode << CMD_BYTE1_SHIFT; in vf610_nfc_cmd()
441 cmd2 |= code << CMD_CODE_SHIFT; in vf610_nfc_cmd()
443 vf610_nfc_run(nfc, col, row, cmd1, cmd2, trfr_sz); in vf610_nfc_cmd()
554 u32 row = 0, cmd1 = 0, cmd2 = 0, code = 0; in vf610_nfc_read_page() local
559 cmd2 |= NAND_CMD_READ0 << CMD_BYTE1_SHIFT; in vf610_nfc_read_page()
567 cmd2 |= code << CMD_CODE_SHIFT; in vf610_nfc_read_page()
[all …]
/linux-6.1.9/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.c650 ih2 = (struct octeon_instr_ih2 *)&sc->cmd.cmd2.ih2; in octeon_prepare_soft_command()
661 irh = (struct octeon_instr_irh *)&sc->cmd.cmd2.irh; in octeon_prepare_soft_command()
667 sc->cmd.cmd2.ossp[0] = ossp0; in octeon_prepare_soft_command()
668 sc->cmd.cmd2.ossp[1] = ossp1; in octeon_prepare_soft_command()
671 rdp = (struct octeon_instr_rdp *)&sc->cmd.cmd2.rdp; in octeon_prepare_soft_command()
718 ih2 = (struct octeon_instr_ih2 *)&sc->cmd.cmd2.ih2; in octeon_send_soft_command()
721 sc->cmd.cmd2.dptr = sc->dmadptr; in octeon_send_soft_command()
723 irh = (struct octeon_instr_irh *)&sc->cmd.cmd2.irh; in octeon_send_soft_command()
728 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.c2279 (&sc->cmd.cmd2.ih2))->dlengsz; in send_nic_timestamp_pkt()
2406 ndata.cmd.cmd2.dptr = dptr; in liquidio_xmit()
2482 ndata.cmd.cmd2.dptr = dptr; in liquidio_xmit()
2493 irh = (struct octeon_instr_irh *)&ndata.cmd.cmd2.irh; in liquidio_xmit()
2494 tx_info = (union tx_info *)&ndata.cmd.cmd2.ossp[0]; in liquidio_xmit()
/linux-6.1.9/drivers/net/ethernet/sunplus/
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()
Dspl2sw_driver.c76 u32 cmd2; in spl2sw_ethernet_start_xmit() local
112 cmd2 = skb->len & TXD_BUF_LEN1; in spl2sw_ethernet_start_xmit()
115 cmd2 |= TXD_EOR; in spl2sw_ethernet_start_xmit()
118 txdesc->cmd2 = cmd2; in spl2sw_ethernet_start_xmit()
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()
Dspl2sw_define.h211 u32 cmd2; member
/linux-6.1.9/include/linux/
Dwait.h439 #define __wait_event_exclusive_cmd(wq_head, condition, cmd1, cmd2) \ argument
441 cmd1; schedule(); cmd2)
445 #define wait_event_exclusive_cmd(wq_head, condition, cmd1, cmd2) \ argument
449 __wait_event_exclusive_cmd(wq_head, condition, cmd1, cmd2); \
452 #define __wait_event_cmd(wq_head, condition, cmd1, cmd2) \ argument
454 cmd1; schedule(); cmd2)
470 #define wait_event_cmd(wq_head, condition, cmd1, cmd2) \ argument
474 __wait_event_cmd(wq_head, condition, cmd1, cmd2); \
/linux-6.1.9/drivers/comedi/drivers/
Dni_labpc_common.c109 devpriv->cmd2 &= ~(CMD2_SWTRIG | CMD2_HWTRIG | CMD2_PRETRIG); in labpc_cancel()
110 devpriv->write_byte(dev, devpriv->cmd2, CMD2_REG); in labpc_cancel()
748 devpriv->cmd2 |= CMD2_TBSEL; in labpc_ai_cmd()
750 devpriv->cmd2 &= ~(CMD2_SWTRIG | CMD2_HWTRIG | CMD2_PRETRIG); in labpc_ai_cmd()
752 devpriv->cmd2 |= CMD2_HWTRIG; in labpc_ai_cmd()
754 devpriv->cmd2 |= CMD2_SWTRIG; in labpc_ai_cmd()
756 devpriv->cmd2 |= (CMD2_HWTRIG | CMD2_PRETRIG); in labpc_ai_cmd()
758 devpriv->write_byte(dev, devpriv->cmd2, CMD2_REG); in labpc_ai_cmd()
920 devpriv->cmd2 &= ~CMD2_LDAC(channel); in labpc_ao_insn_write()
921 devpriv->write_byte(dev, devpriv->cmd2, CMD2_REG); in labpc_ao_insn_write()
[all …]
Dni_labpc.h31 unsigned int cmd2; member
/linux-6.1.9/sound/usb/line6/
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-6.1.9/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.c211 u8 cmd2 = name->cmd_id; in iwl_hcmd_names_cmp() local
213 return (*cmd1 - cmd2); in iwl_hcmd_names_cmp()
/linux-6.1.9/arch/s390/mm/
Dextmem.c568 char cmd2[80]; in segment_save() local
589 sprintf(cmd2, "SAVESEG %s", name); in segment_save()
597 cpcmd(cmd2, NULL, 0, &response); in segment_save()
/linux-6.1.9/drivers/md/
Ddm-cache-metadata.c815 struct dm_cache_metadata *cmd, *cmd2; in lookup_or_open() local
828 cmd2 = lookup(bdev); in lookup_or_open()
829 if (cmd2) { in lookup_or_open()
833 return cmd2; in lookup_or_open()
/linux-6.1.9/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.h606 u8 cmd2; member
/linux-6.1.9/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()
/linux-6.1.9/arch/arm/boot/dts/
Dmotorola-mapphone-common.dtsi474 /* cmd2 0x4a100142 uart3_rts_sd.gpio_142 f28 */
/linux-6.1.9/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h1070 u32 cmd2; member