Home
last modified time | relevance | path

Searched refs:cmd1 (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cotable.c253 } *cmd1; in vmw_cotable_scrub() local
262 submit_size = sizeof(*cmd1); in vmw_cotable_scrub()
266 cmd1 = VMW_FIFO_RESERVE(dev_priv, submit_size); in vmw_cotable_scrub()
267 if (!cmd1) in vmw_cotable_scrub()
272 cmd0 = (void *) cmd1; in vmw_cotable_scrub()
277 cmd1 = (void *) &cmd0[1]; in vmw_cotable_scrub()
280 cmd1->header.id = SVGA_3D_CMD_DX_SET_COTABLE; in vmw_cotable_scrub()
281 cmd1->header.size = sizeof(cmd1->body); in vmw_cotable_scrub()
282 cmd1->body.cid = vcotbl->ctx->id; in vmw_cotable_scrub()
283 cmd1->body.type = vcotbl->type; in vmw_cotable_scrub()
[all …]
Dvmwgfx_context.c379 } *cmd1; in vmw_gb_context_unbind() local
393 submit_size = sizeof(*cmd2) + (readback ? sizeof(*cmd1) : 0); in vmw_gb_context_unbind()
403 cmd1 = (void *) cmd; in vmw_gb_context_unbind()
404 cmd1->header.id = SVGA_3D_CMD_READBACK_GB_CONTEXT; in vmw_gb_context_unbind()
405 cmd1->header.size = sizeof(cmd1->body); in vmw_gb_context_unbind()
406 cmd1->body.cid = res->id; in vmw_gb_context_unbind()
407 cmd2 = (void *) (&cmd1[1]); in vmw_gb_context_unbind()
588 } *cmd1; in vmw_dx_context_unbind() local
609 submit_size = sizeof(*cmd2) + (readback ? sizeof(*cmd1) : 0); in vmw_dx_context_unbind()
619 cmd1 = (void *) cmd; in vmw_dx_context_unbind()
[all …]
Dvmwgfx_surface.c1210 } *cmd1; in vmw_gb_surface_bind() local
1220 submit_size = sizeof(*cmd1) + (res->backup_dirty ? sizeof(*cmd2) : 0); in vmw_gb_surface_bind()
1222 cmd1 = VMW_FIFO_RESERVE(dev_priv, submit_size); in vmw_gb_surface_bind()
1223 if (unlikely(!cmd1)) in vmw_gb_surface_bind()
1226 cmd1->header.id = SVGA_3D_CMD_BIND_GB_SURFACE; in vmw_gb_surface_bind()
1227 cmd1->header.size = sizeof(cmd1->body); in vmw_gb_surface_bind()
1228 cmd1->body.sid = res->id; in vmw_gb_surface_bind()
1229 cmd1->body.mobid = bo->mem.start; in vmw_gb_surface_bind()
1231 cmd2 = (void *) &cmd1[1]; in vmw_gb_surface_bind()
1259 } *cmd1; in vmw_gb_surface_unbind() local
[all …]
/Linux-v5.10/drivers/nfc/st21nfca/
Ddep.c63 u8 cmd1; member
75 u8 cmd1; member
88 u8 cmd1; member
97 u8 cmd1; member
104 u8 cmd1; member
161 atr_res->cmd1 = ST21NFCA_NFCIP1_ATR_RES; in st21nfca_tm_send_atr_res()
250 psl_res->cmd1 = ST21NFCA_NFCIP1_PSL_RES; in st21nfca_tm_send_psl_res()
374 u8 cmd0, cmd1; in st21nfca_tm_event_send_data() local
380 cmd1 = skb->data[2]; in st21nfca_tm_event_send_data()
381 switch (cmd1) { in st21nfca_tm_event_send_data()
[all …]
/Linux-v5.10/arch/mips/include/asm/octeon/
Dcvmx-cmd-queue.h427 uint64_t cmd1, in cvmx_cmd_queue_write2() argument
460 ptr[0] = cmd1; in cvmx_cmd_queue_write2()
486 *ptr++ = cmd1; in cvmx_cmd_queue_write2()
527 uint64_t cmd1, in cvmx_cmd_queue_write3() argument
561 ptr[0] = cmd1; in cvmx_cmd_queue_write3()
588 *ptr++ = cmd1; in cvmx_cmd_queue_write3()
/Linux-v5.10/drivers/mtd/nand/raw/
Dvf610_nfc.c327 u32 cmd1, u32 cmd2, u32 trfr_sz) in vf610_nfc_run() argument
336 vf610_nfc_write(nfc, NFC_FLASH_CMD1, cmd1); 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
418 cmd1 |= instr->ctx.cmd.opcode << CMD_BYTE2_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
564 cmd1 |= NAND_CMD_READSTART << CMD_BYTE2_SHIFT; in vf610_nfc_read_page()
570 vf610_nfc_run(nfc, 0, row, cmd1, cmd2, trfr_sz); in vf610_nfc_read_page()
602 u32 row = 0, cmd1 = 0, cmd2 = 0, code = 0; in vf610_nfc_write_page() local
[all …]
Dqcom_nandc.c307 __le32 cmd1; member
403 u32 cmd1, vld; member
627 return &regs->cmd1; in offset_to_nandc_reg()
1187 (nandc->cmd1 & ~(0xFF << READ_ADDR)) in nandc_param()
1192 nandc_set_reg(nandc, NAND_DEV_CMD1_RESTORE, nandc->cmd1); in nandc_param()
2794 nandc->cmd1 = nandc_read(nandc, dev_cmd_reg_addr(nandc, NAND_DEV_CMD1)); in qcom_nandc_setup()
Dmeson_nand.c141 u32 cmd1; member
616 nfc->cmdfifo.rw.cmd1 = cs | NFC_CMD_CLE | NAND_CMD_READSTART; in meson_nfc_rw_cmd_prepare_and_execute()
617 writel(nfc->cmdfifo.rw.cmd1, nfc->reg_base + NFC_REG_CMD); in meson_nfc_rw_cmd_prepare_and_execute()
/Linux-v5.10/drivers/mmc/host/
Dmxs-mmc.c254 u32 ctrl0, cmd0, cmd1; in mxs_mmc_bc() local
258 cmd1 = cmd->arg; in mxs_mmc_bc()
267 ssp->ssp_pio_words[2] = cmd1; in mxs_mmc_bc()
289 u32 ctrl0, cmd0, cmd1; in mxs_mmc_ac() local
300 cmd1 = cmd->arg; in mxs_mmc_ac()
312 ssp->ssp_pio_words[2] = cmd1; in mxs_mmc_ac()
361 u32 ctrl0, cmd0, cmd1, val; in mxs_mmc_adtc() local
416 cmd1 = cmd->arg; in mxs_mmc_adtc()
433 ssp->ssp_pio_words[2] = cmd1; in mxs_mmc_adtc()
Dvub300.c1799 u8 cmd1 = 0xFF & (cmd->arg >> 16); in examine_cyclic_buffer() local
1805 cmd1 == rf->command_byte[1] && in examine_cyclic_buffer()
1827 cmd1 == r->command_byte[1] && in examine_cyclic_buffer()
/Linux-v5.10/include/linux/
Dwait.h403 #define __wait_event_exclusive_cmd(wq_head, condition, cmd1, cmd2) \ argument
405 cmd1; schedule(); cmd2)
409 #define wait_event_exclusive_cmd(wq_head, condition, cmd1, cmd2) \ argument
413 __wait_event_exclusive_cmd(wq_head, condition, cmd1, cmd2); \
416 #define __wait_event_cmd(wq_head, condition, cmd1, cmd2) \ argument
418 cmd1; schedule(); cmd2)
434 #define wait_event_cmd(wq_head, condition, cmd1, cmd2) \ argument
438 __wait_event_cmd(wq_head, condition, cmd1, cmd2); \
/Linux-v5.10/arch/s390/mm/
Dextmem.c567 char cmd1[160]; in segment_save() local
582 sprintf(cmd1, "DEFSEG %s", name); in segment_save()
584 sprintf(cmd1+strlen(cmd1), " %lX-%lX %s", in segment_save()
591 cpcmd(cmd1, NULL, 0, &response); in segment_save()
/Linux-v5.10/drivers/input/touchscreen/
Dwacom_i2c.c44 u8 cmd1[] = { WACOM_CMD_QUERY0, WACOM_CMD_QUERY1, in wacom_query_device() local
52 .len = sizeof(cmd1), in wacom_query_device()
53 .buf = cmd1, in wacom_query_device()
/Linux-v5.10/drivers/staging/comedi/drivers/
Dni_labpc.h30 unsigned int cmd1; member
Dni_labpc_common.c142 devpriv->cmd1 = CMD1_MA(chan); in labpc_ai_set_chan_and_gain()
143 devpriv->cmd1 |= CMD1_GAIN(range); in labpc_ai_set_chan_and_gain()
145 devpriv->write_byte(dev, devpriv->cmd1, CMD1_REG); in labpc_ai_set_chan_and_gain()
678 devpriv->cmd1 |= CMD1_SCANEN; in labpc_ai_cmd()
685 devpriv->write_byte(dev, devpriv->cmd1, CMD1_REG); in labpc_ai_cmd()
1209 devpriv->write_byte(dev, devpriv->cmd1, CMD1_REG); in labpc_common_attach()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.c229 u8 cmd1 = *(u8 *)key; in iwl_hcmd_names_cmp() local
232 return (cmd1 - cmd2); in iwl_hcmd_names_cmp()
/Linux-v5.10/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 * HZ, in toneport_send_cmd()
/Linux-v5.10/arch/mips/alchemy/common/
Ddbdma.c394 u32 cmd0, cmd1, src1, dest1; in au1xxx_dbdma_ring_alloc() local
445 cmd0 = cmd1 = src1 = dest1 = 0; in au1xxx_dbdma_ring_alloc()
560 dtp->dev_id, stp->dev_id, cmd0, cmd1, src0, in au1xxx_dbdma_ring_alloc()
565 dp->dscr_cmd1 = cmd1; in au1xxx_dbdma_ring_alloc()
/Linux-v5.10/drivers/spi/
Dspi-tegra114.c1049 u32 cmd1; in tegra_spi_transfer_one_message() local
1053 cmd1 = tegra_spi_setup_transfer_one(spi, xfer, is_first_msg, in tegra_spi_transfer_one_message()
1062 ret = tegra_spi_start_transfer_one(spi, xfer, cmd1); in tegra_spi_transfer_one_message()
/Linux-v5.10/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.h608 u8 cmd1; member
/Linux-v5.10/drivers/i3c/master/
Di3c-master-cdns.c378 u32 cmd1; member
547 writel(cmd->cmd1 | CMD1_FIFO_CMDID(i), in cdns_i3c_master_start_xfer_locked()
707 ccmd->cmd1 = CMD1_FIFO_CCC(cmd->id); in cdns_i3c_master_send_ccc_cmd()
/Linux-v5.10/drivers/net/ethernet/silan/
Dsc92031.c326 static u32 _sc92031_mii_cmd(void __iomem *port_base, u32 cmd0, u32 cmd1) in _sc92031_mii_cmd() argument
332 iowrite32(cmd1, port_base + Miicmd1); in _sc92031_mii_cmd()
/Linux-v5.10/drivers/net/ethernet/via/
Dvia-rhine.c634 u8 cmd1; in rhine_chip_reset() local
650 cmd1 = ioread8(ioaddr + ChipCmd1); in rhine_chip_reset()
651 netif_info(rp, hw, dev, "Reset %s\n", (cmd1 & Cmd1Reset) ? in rhine_chip_reset()
/Linux-v5.10/drivers/hid/
Dhid-wiimote-core.c124 static inline void wiiproto_keep_rumble(struct wiimote_data *wdata, __u8 *cmd1) in wiiproto_keep_rumble() argument
127 *cmd1 |= 0x01; in wiiproto_keep_rumble()
/Linux-v5.10/arch/arm/boot/dts/
Dmotorola-mapphone-common.dtsi573 /* cmd1 0x4a100096 gpmc_ncs7.gpio_104 d24 */

12