Home
last modified time | relevance | path

Searched refs:CY_SPI_CMD_BYTES (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/input/touchscreen/
Dcyttsp4_spi.c39 #define CY_SPI_CMD_BYTES 2 macro
44 #define CY_SPI_DATA_BUF_SIZE (CY_SPI_CMD_BYTES + CY_SPI_DATA_SIZE)
53 u8 rd_buf[CY_SPI_CMD_BYTES]; in cyttsp_spi_xfer()
64 memset(rd_buf, 0, CY_SPI_CMD_BYTES); in cyttsp_spi_xfer()
70 memcpy(wr_buf + CY_SPI_CMD_BYTES, buf, length); in cyttsp_spi_xfer()
84 xfer[0].len = length + CY_SPI_CMD_BYTES; in cyttsp_spi_xfer()
117 for (i = 0; i < CY_SPI_CMD_BYTES; i++) in cyttsp_spi_xfer()
Dcyttsp_spi.c35 #define CY_SPI_CMD_BYTES 4 macro
40 #define CY_SPI_DATA_BUF_SIZE (CY_SPI_CMD_BYTES + CY_SPI_DATA_SIZE)
68 memcpy(wr_buf + CY_SPI_CMD_BYTES, buf, length); in cyttsp_spi_xfer()
81 xfer[0].len = length + CY_SPI_CMD_BYTES; in cyttsp_spi_xfer()
86 xfer[0].len = CY_SPI_CMD_BYTES; in cyttsp_spi_xfer()
115 for (i = 0; i < CY_SPI_CMD_BYTES; i++) in cyttsp_spi_xfer()