Lines Matching refs:xfers
34 struct spi_transfer *xfers; in ad7879_spi_xfer() local
41 xfers = spi_data = kzalloc(sizeof(*xfers) * (count + 2), GFP_KERNEL); in ad7879_spi_xfer()
57 ++xfers; in ad7879_spi_xfer()
58 xfers[0].tx_buf = command; in ad7879_spi_xfer()
59 xfers[0].len = 2; in ad7879_spi_xfer()
60 spi_message_add_tail(&xfers[0], &msg); in ad7879_spi_xfer()
61 ++xfers; in ad7879_spi_xfer()
65 xfers[idx].rx_buf = &rx_buf[idx]; in ad7879_spi_xfer()
67 xfers[idx].tx_buf = &tx_buf[idx]; in ad7879_spi_xfer()
68 xfers[idx].len = 2; in ad7879_spi_xfer()
69 spi_message_add_tail(&xfers[idx], &msg); in ad7879_spi_xfer()