Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/touchscreen/
H A Dcyttsp4_spi.c29 #define CY_SPI_CMD_BYTES 2 macro
34 #define CY_SPI_DATA_BUF_SIZE (CY_SPI_CMD_BYTES + CY_SPI_DATA_SIZE)
43 u8 rd_buf[CY_SPI_CMD_BYTES]; in cyttsp_spi_xfer()
54 memset(rd_buf, 0, CY_SPI_CMD_BYTES); in cyttsp_spi_xfer()
60 memcpy(wr_buf + CY_SPI_CMD_BYTES, buf, length); in cyttsp_spi_xfer()
74 xfer[0].len = length + CY_SPI_CMD_BYTES; in cyttsp_spi_xfer()
107 for (i = 0; i < CY_SPI_CMD_BYTES; i++) in cyttsp_spi_xfer()
H A Dcyttsp_spi.c27 #define CY_SPI_CMD_BYTES 4 macro
32 #define CY_SPI_DATA_BUF_SIZE (CY_SPI_CMD_BYTES + CY_SPI_DATA_SIZE)
60 memcpy(wr_buf + CY_SPI_CMD_BYTES, buf, length); in cyttsp_spi_xfer()
73 xfer[0].len = length + CY_SPI_CMD_BYTES; in cyttsp_spi_xfer()
78 xfer[0].len = CY_SPI_CMD_BYTES; in cyttsp_spi_xfer()
107 for (i = 0; i < CY_SPI_CMD_BYTES; i++) in cyttsp_spi_xfer()