| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_context.c | 381 } *cmd1; in vmw_gb_context_unbind() local 395 submit_size = sizeof(*cmd2) + (readback ? sizeof(*cmd1) : 0); in vmw_gb_context_unbind() 405 cmd1 = (void *) cmd; in vmw_gb_context_unbind() 406 cmd1->header.id = SVGA_3D_CMD_READBACK_GB_CONTEXT; in vmw_gb_context_unbind() 407 cmd1->header.size = sizeof(cmd1->body); in vmw_gb_context_unbind() 408 cmd1->body.cid = res->id; in vmw_gb_context_unbind() 409 cmd2 = (void *) (&cmd1[1]); in vmw_gb_context_unbind() 590 } *cmd1; in vmw_dx_context_unbind() local 611 submit_size = sizeof(*cmd2) + (readback ? sizeof(*cmd1) : 0); in vmw_dx_context_unbind() 621 cmd1 = (void *) cmd; in vmw_dx_context_unbind() [all …]
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-cmd-queue.h | 427 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/drivers/mtd/nand/raw/ |
| H A D | vf610_nfc.c | 328 u32 cmd1, u32 cmd2, u32 trfr_sz) in vf610_nfc_run() argument 337 vf610_nfc_write(nfc, NFC_FLASH_CMD1, cmd1); 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 419 cmd1 |= instr->ctx.cmd.opcode << CMD_BYTE2_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 565 cmd1 |= NAND_CMD_READSTART << CMD_BYTE2_SHIFT; in vf610_nfc_read_page() 571 vf610_nfc_run(nfc, 0, row, cmd1, cmd2, trfr_sz); in vf610_nfc_read_page() 603 u32 row = 0, cmd1 = 0, cmd2 = 0, code = 0; in vf610_nfc_write_page() local [all …]
|
| H A D | qcom_nandc.c | 1908 nandc->regs->cmd1 = cpu_to_le32((nandc->cmd1 & ~READ_ADDR_MASK) | in qcom_param_page_type_exec() 1915 nandc->regs->orig_cmd1 = cpu_to_le32(nandc->cmd1); in qcom_param_page_type_exec() 1930 qcom_write_reg_dma(nandc, &nandc->regs->cmd1, NAND_DEV_CMD1, 1, NAND_BAM_NEXT_SGL); in qcom_param_page_type_exec() 2067 nandc->cmd1 = nandc_read(nandc, dev_cmd_reg_addr(nandc, NAND_DEV_CMD1)); in qcom_nandc_setup()
|
| H A D | meson_nand.c | 159 u32 cmd1; member 735 nfc->cmdfifo.rw.cmd1 = cs | NFC_CMD_CLE | NAND_CMD_READSTART; in meson_nfc_rw_cmd_prepare_and_execute() 736 writel(nfc->cmdfifo.rw.cmd1, nfc->reg_base + NFC_REG_CMD); in meson_nfc_rw_cmd_prepare_and_execute()
|
| /linux/drivers/net/ethernet/sunplus/ |
| H A D | spl2sw_desc.c | 28 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()
|
| H A D | spl2sw_int.c | 42 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()
|
| H A D | spl2sw_define.h | 210 u32 cmd1; member
|
| /linux/include/linux/ |
| H A D | wait.h | 444 #define __wait_event_exclusive_cmd(wq_head, condition, cmd1, cmd2) \ argument 446 cmd1; schedule(); cmd2) 450 #define wait_event_exclusive_cmd(wq_head, condition, cmd1, cmd2) \ argument 454 __wait_event_exclusive_cmd(wq_head, condition, cmd1, cmd2); \ 457 #define __wait_event_cmd(wq_head, condition, cmd1, cmd2) \ argument 459 cmd1; schedule(); cmd2) 475 #define wait_event_cmd(wq_head, condition, cmd1, cmd2) \ argument 479 __wait_event_cmd(wq_head, condition, cmd1, cmd2); \
|
| /linux/drivers/gpio/ |
| H A D | gpio-cgbc.c | 29 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/drivers/comedi/drivers/ |
| H A D | ni_labpc.h | 30 unsigned int cmd1; member
|
| H A D | ni_labpc_common.c | 146 devpriv->cmd1 = CMD1_MA(chan); in labpc_ai_set_chan_and_gain() 147 devpriv->cmd1 |= CMD1_GAIN(range); in labpc_ai_set_chan_and_gain() 149 devpriv->write_byte(dev, devpriv->cmd1, CMD1_REG); in labpc_ai_set_chan_and_gain() 682 devpriv->cmd1 |= CMD1_SCANEN; in labpc_ai_cmd() 689 devpriv->write_byte(dev, devpriv->cmd1, CMD1_REG); in labpc_ai_cmd() 1217 devpriv->write_byte(dev, devpriv->cmd1, CMD1_REG); in labpc_common_attach()
|
| /linux/sound/usb/line6/ |
| H A D | toneport.c | 62 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/arch/mips/alchemy/common/ |
| H A D | dbdma.c | 395 u32 cmd0, cmd1, src1, dest1; in au1xxx_dbdma_ring_alloc() local 446 cmd0 = cmd1 = src1 = dest1 = 0; in au1xxx_dbdma_ring_alloc() 561 dtp->dev_id, stp->dev_id, cmd0, cmd1, src0, in au1xxx_dbdma_ring_alloc() 566 dp->dscr_cmd1 = cmd1; in au1xxx_dbdma_ring_alloc()
|
| /linux/drivers/i3c/master/ |
| H A D | renesas-i3c.c | 358 u32 cmd1; in renesas_i3c_start_xfer_locked() local 379 cmd1 = cmd->len == 0 ? 0 : *(u32 *)cmd->tx_buf; in renesas_i3c_start_xfer_locked() 381 cmd1 = NCMDQP_DATA_LENGTH(cmd->len); in renesas_i3c_start_xfer_locked() 384 renesas_writel(i3c->regs, NCMDQP, cmd1); in renesas_i3c_start_xfer_locked() 389 cmd1 = NCMDQP_DATA_LENGTH(cmd->len); in renesas_i3c_start_xfer_locked() 391 renesas_writel(i3c->regs, NCMDQP, cmd1); in renesas_i3c_start_xfer_locked()
|
| H A D | adi-i3c-master.c | 87 u32 cmd1; member 225 writel(cmd->cmd1, master->regs + REG_CMD_FIFO); in adi_i3c_master_start_xfer_locked() 342 ccmd->cmd1 = REG_CMD_FIFO_1_CCC(cmd->id); in adi_i3c_master_send_ccc_cmd()
|
| H A D | i3c-master-cdns.c | 380 u32 cmd1; member 536 writel(cmd->cmd1 | CMD1_FIFO_CMDID(i), in cdns_i3c_master_start_xfer_locked() 696 ccmd->cmd1 = CMD1_FIFO_CCC(cmd->id); in cdns_i3c_master_send_ccc_cmd()
|
| /linux/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-trans.c | 360 const u8 *cmd1 = key; in iwl_hcmd_names_cmp() local 363 return (*cmd1 - cmd2); in iwl_hcmd_names_cmp()
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | motorola-mapphone-handset.dtsi | 150 /* cmd1 0x4a100096 gpmc_ncs7.gpio_104 d24 */
|
| /linux/tools/testing/selftests/x86/ |
| H A D | lam.c | 78 #define PAS_CMD(cmd1, cmd2, cmd3) (((cmd3) << 8) | ((cmd2) << 4) | ((cmd1) << 0)) argument
|
| /linux/drivers/spi/ |
| H A D | spi-tegra114.c | 1044 u32 cmd1; in tegra_spi_transfer_one_message() local 1048 cmd1 = tegra_spi_setup_transfer_one(spi, xfer, is_first_msg, in tegra_spi_transfer_one_message() 1057 ret = tegra_spi_start_transfer_one(spi, xfer, cmd1); in tegra_spi_transfer_one_message()
|
| /linux/drivers/net/ethernet/silan/ |
| H A D | sc92031.c | 326 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/drivers/net/ethernet/via/ |
| H A D | via-rhine.c | 634 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/drivers/mmc/host/ |
| H A D | vub300.c | 1798 u8 cmd1 = 0xFF & (cmd->arg >> 16); in examine_cyclic_buffer() local 1804 cmd1 == rf->command_byte[1] && in examine_cyclic_buffer() 1826 cmd1 == r->command_byte[1] && in examine_cyclic_buffer()
|
| /linux/drivers/hid/ |
| H A D | hid-wiimote-core.c | 124 static inline void wiiproto_keep_rumble(struct wiimote_data *wdata, __u8 *cmd1) in wiiproto_keep_rumble() argument 127 *cmd1 |= 0x01; in wiiproto_keep_rumble()
|