Home
last modified time | relevance | path

Searched refs:wr_buf (Results 1 – 4 of 4) sorted by relevance

/drivers/input/touchscreen/
Dcyttsp_spi.c49 u8 *wr_buf = &xfer_buf[0]; in cyttsp_spi_xfer() local
60 memset(wr_buf, 0, CY_SPI_DATA_BUF_SIZE); in cyttsp_spi_xfer()
63 wr_buf[0] = 0x00; /* header byte 0 */ in cyttsp_spi_xfer()
64 wr_buf[1] = 0xFF; /* header byte 1 */ in cyttsp_spi_xfer()
65 wr_buf[2] = reg; /* reg index */ in cyttsp_spi_xfer()
66 wr_buf[3] = op; /* r/~w */ in cyttsp_spi_xfer()
68 memcpy(wr_buf + CY_SPI_CMD_BYTES, buf, length); in cyttsp_spi_xfer()
77 xfer[0].tx_buf = wr_buf; in cyttsp_spi_xfer()
Dcyttsp4_spi.c52 u8 *wr_buf = &xfer_buf[0]; in cyttsp_spi_xfer() local
63 memset(wr_buf, 0, CY_SPI_DATA_BUF_SIZE); in cyttsp_spi_xfer()
66 wr_buf[0] = op + (((reg >> 8) & 0x1) ? CY_SPI_A8_BIT : 0); in cyttsp_spi_xfer()
68 wr_buf[1] = reg & 0xFF; in cyttsp_spi_xfer()
70 memcpy(wr_buf + CY_SPI_CMD_BYTES, buf, length); in cyttsp_spi_xfer()
80 xfer[0].tx_buf = wr_buf; in cyttsp_spi_xfer()
Dedt-ft5x06.c121 u16 wr_len, u8 *wr_buf, in edt_ft5x06_ts_readwrite() argument
132 wrmsg[i].buf = wr_buf; in edt_ft5x06_ts_readwrite()
/drivers/media/pci/solo6x10/
Dsolo6x10-p2m.c218 u32 *wr_buf; in solo_p2m_test() local
224 wr_buf = (u32 *)__get_free_pages(GFP_KERNEL, order); in solo_p2m_test()
225 if (wr_buf == NULL) in solo_p2m_test()
230 free_pages((unsigned long)wr_buf, order); in solo_p2m_test()
235 *(wr_buf + i) = (i << 16) | (i + 1); in solo_p2m_test()
238 *(wr_buf + i) = ~((i << 16) | (i + 1)); in solo_p2m_test()
242 if (solo_p2m_dma(solo_dev, 1, wr_buf, base, size, 0, 0)) in solo_p2m_test()
249 if (*(wr_buf + i) != *(rd_buf + i)) in solo_p2m_test()
256 free_pages((unsigned long)wr_buf, order); in solo_p2m_test()