Lines Matching refs:xfer
51 struct spi_transfer xfer[2]; in cyttsp_spi_xfer() local
73 memset(xfer, 0, sizeof(xfer)); in cyttsp_spi_xfer()
80 xfer[0].tx_buf = wr_buf; in cyttsp_spi_xfer()
81 xfer[0].rx_buf = rd_buf; in cyttsp_spi_xfer()
84 xfer[0].len = length + CY_SPI_CMD_BYTES; in cyttsp_spi_xfer()
85 spi_message_add_tail(&xfer[0], &msg); in cyttsp_spi_xfer()
89 xfer[0].len = CY_SPI_RD_HEADER_BYTES; in cyttsp_spi_xfer()
90 spi_message_add_tail(&xfer[0], &msg); in cyttsp_spi_xfer()
92 xfer[1].rx_buf = buf; in cyttsp_spi_xfer()
93 xfer[1].len = length; in cyttsp_spi_xfer()
94 spi_message_add_tail(&xfer[1], &msg); in cyttsp_spi_xfer()
105 __func__, retval, xfer[1].len, op); in cyttsp_spi_xfer()