Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_cotable.c254 } *cmd1; in vmw_cotable_scrub() local
263 submit_size = sizeof(*cmd1); in vmw_cotable_scrub()
267 cmd1 = VMW_CMD_RESERVE(dev_priv, submit_size); in vmw_cotable_scrub()
268 if (!cmd1) in vmw_cotable_scrub()
273 cmd0 = (void *) cmd1; in vmw_cotable_scrub()
278 cmd1 = (void *) &cmd0[1]; in vmw_cotable_scrub()
281 cmd1->header.id = SVGA_3D_CMD_DX_SET_COTABLE; in vmw_cotable_scrub()
282 cmd1->header.size = sizeof(cmd1->body); in vmw_cotable_scrub()
283 cmd1->body.cid = vcotbl->ctx->id; in vmw_cotable_scrub()
284 cmd1->body.type = vcotbl->type; in vmw_cotable_scrub()
[all …]
Dvmwgfx_context.c377 } *cmd1; in vmw_gb_context_unbind() local
391 submit_size = sizeof(*cmd2) + (readback ? sizeof(*cmd1) : 0); in vmw_gb_context_unbind()
401 cmd1 = (void *) cmd; in vmw_gb_context_unbind()
402 cmd1->header.id = SVGA_3D_CMD_READBACK_GB_CONTEXT; in vmw_gb_context_unbind()
403 cmd1->header.size = sizeof(cmd1->body); in vmw_gb_context_unbind()
404 cmd1->body.cid = res->id; in vmw_gb_context_unbind()
405 cmd2 = (void *) (&cmd1[1]); in vmw_gb_context_unbind()
586 } *cmd1; in vmw_dx_context_unbind() local
607 submit_size = sizeof(*cmd2) + (readback ? sizeof(*cmd1) : 0); in vmw_dx_context_unbind()
617 cmd1 = (void *) cmd; in vmw_dx_context_unbind()
[all …]
Dvmwgfx_surface.c1166 } *cmd1; in vmw_gb_surface_bind() local
1176 submit_size = sizeof(*cmd1) + (res->backup_dirty ? sizeof(*cmd2) : 0); in vmw_gb_surface_bind()
1178 cmd1 = VMW_CMD_RESERVE(dev_priv, submit_size); in vmw_gb_surface_bind()
1179 if (unlikely(!cmd1)) in vmw_gb_surface_bind()
1182 cmd1->header.id = SVGA_3D_CMD_BIND_GB_SURFACE; in vmw_gb_surface_bind()
1183 cmd1->header.size = sizeof(cmd1->body); in vmw_gb_surface_bind()
1184 cmd1->body.sid = res->id; in vmw_gb_surface_bind()
1185 cmd1->body.mobid = bo->resource->start; in vmw_gb_surface_bind()
1187 cmd2 = (void *) &cmd1[1]; in vmw_gb_surface_bind()
1215 } *cmd1; in vmw_gb_surface_unbind() local
[all …]
/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()
241 psl_res->cmd1 = ST21NFCA_NFCIP1_PSL_RES; in st21nfca_tm_send_psl_res()
351 u8 cmd0, cmd1; in st21nfca_tm_event_send_data() local
357 cmd1 = skb->data[2]; in st21nfca_tm_event_send_data()
358 switch (cmd1) { in st21nfca_tm_event_send_data()
[all …]
/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 …]
Dpl35x-nand-controller.c670 u32 addr1 = 0, addr2 = 0, cmd0 = 0, cmd1 = 0, cmd_addr = 0; in pl35x_nand_exec_op() local
685 cmd1 = PL35X_SMC_CMD_PHASE_CMD1(instr->ctx.cmd.opcode); in pl35x_nand_exec_op()
722 cmd_addr |= PL35X_SMC_CMD_PHASE | cmd0 | cmd1 | in pl35x_nand_exec_op()
732 last_flags |= cmd1 | PL35X_SMC_CMD_PHASE_CMD1_VALID; in pl35x_nand_exec_op()
Dqcom_nandc.c321 __le32 cmd1; member
434 u32 cmd1, vld; member
691 return &regs->cmd1; in offset_to_nandc_reg()
1320 (nandc->cmd1 & ~(0xFF << READ_ADDR)) in nandc_param()
1327 nandc_set_reg(chip, NAND_DEV_CMD1_RESTORE, nandc->cmd1); in nandc_param()
3038 nandc->cmd1 = nandc_read(nandc, dev_cmd_reg_addr(nandc, NAND_DEV_CMD1)); in qcom_nandc_setup()
Dmeson_nand.c146 u32 cmd1; member
625 nfc->cmdfifo.rw.cmd1 = cs | NFC_CMD_CLE | NAND_CMD_READSTART; in meson_nfc_rw_cmd_prepare_and_execute()
626 writel(nfc->cmdfifo.rw.cmd1, nfc->reg_base + NFC_REG_CMD); in meson_nfc_rw_cmd_prepare_and_execute()
/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.c1802 u8 cmd1 = 0xFF & (cmd->arg >> 16); in examine_cyclic_buffer() local
1808 cmd1 == rf->command_byte[1] && in examine_cyclic_buffer()
1830 cmd1 == r->command_byte[1] && in examine_cyclic_buffer()
/drivers/net/ethernet/sunplus/
Dspl2sw_desc.c28 rx_desc[j].cmd1 = RXD_OWN; in spl2sw_rx_descs_flush()
41 comm->tx_desc[i].cmd1 = 0; in spl2sw_tx_descs_clean()
73 rx_desc[j].cmd1 = 0; in spl2sw_rx_descs_clean()
158 rx_desc[j].cmd1 = RXD_OWN; in spl2sw_rx_descs_init()
Dspl2sw_int.c42 cmd = desc->cmd1; in spl2sw_rx_poll()
106 desc->cmd1 = RXD_OWN; in spl2sw_rx_poll()
117 if (queue == 1 && !(h_desc->cmd1 & RXD_OWN)) in spl2sw_rx_poll()
154 cmd = comm->tx_desc[tx_done_pos].cmd1; in spl2sw_tx_poll()
Dspl2sw_driver.c75 u32 cmd1; in spl2sw_ethernet_start_xmit() local
110 cmd1 = TXD_OWN | TXD_SOP | TXD_EOP | (mac->to_vlan << 12) | in spl2sw_ethernet_start_xmit()
120 txdesc->cmd1 = cmd1; in spl2sw_ethernet_start_xmit()
Dspl2sw_define.h210 u32 cmd1; member
/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.c210 const u8 *cmd1 = key; in iwl_hcmd_names_cmp() local
213 return (*cmd1 - cmd2); in iwl_hcmd_names_cmp()
/drivers/comedi/drivers/
Dni_labpc.h30 unsigned int cmd1; member
Dni_labpc_common.c141 devpriv->cmd1 = CMD1_MA(chan); in labpc_ai_set_chan_and_gain()
142 devpriv->cmd1 |= CMD1_GAIN(range); in labpc_ai_set_chan_and_gain()
144 devpriv->write_byte(dev, devpriv->cmd1, CMD1_REG); in labpc_ai_set_chan_and_gain()
677 devpriv->cmd1 |= CMD1_SCANEN; in labpc_ai_cmd()
684 devpriv->write_byte(dev, devpriv->cmd1, CMD1_REG); in labpc_ai_cmd()
1208 devpriv->write_byte(dev, devpriv->cmd1, CMD1_REG); in labpc_common_attach()
/drivers/spi/
Dspi-tegra210-quad.c1060 u32 cmd1 = 0, dma_ctl = 0; in tegra_qspi_combined_seq_xfer() local
1097 cmd1 = tegra_qspi_setup_transfer_one(spi, xfer, in tegra_qspi_combined_seq_xfer()
1100 cmd1); in tegra_qspi_combined_seq_xfer()
1128 cmd1 = tegra_qspi_readl in tegra_qspi_combined_seq_xfer()
1131 cmd1 &= ~QSPI_PIO; in tegra_qspi_combined_seq_xfer()
1133 (tqspi, cmd1, in tegra_qspi_combined_seq_xfer()
1203 u32 cmd1; in tegra_qspi_non_combined_seq_xfer() local
1229 cmd1 = tegra_qspi_setup_transfer_one(spi, xfer, is_first_msg); in tegra_qspi_non_combined_seq_xfer()
1231 ret = tegra_qspi_start_transfer_one(spi, xfer, cmd1); in tegra_qspi_non_combined_seq_xfer()
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()
/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.h608 u8 cmd1; member
/drivers/i3c/master/
Di3c-master-cdns.c379 u32 cmd1; member
548 writel(cmd->cmd1 | CMD1_FIFO_CMDID(i), in cdns_i3c_master_start_xfer_locked()
708 ccmd->cmd1 = CMD1_FIFO_CCC(cmd->id); in cdns_i3c_master_send_ccc_cmd()
/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()
/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()
/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()
/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h1069 u32 cmd1; member