Lines Matching refs:ring_xfer
44 struct spi_transfer ring_xfer[10]; member
123 st->ring_xfer[0].tx_buf = &st->tx_buf[0]; in ad7298_update_scan_mode()
124 st->ring_xfer[0].len = 2; in ad7298_update_scan_mode()
125 st->ring_xfer[0].cs_change = 1; in ad7298_update_scan_mode()
126 st->ring_xfer[1].tx_buf = &st->tx_buf[1]; in ad7298_update_scan_mode()
127 st->ring_xfer[1].len = 2; in ad7298_update_scan_mode()
128 st->ring_xfer[1].cs_change = 1; in ad7298_update_scan_mode()
131 spi_message_add_tail(&st->ring_xfer[0], &st->ring_msg); in ad7298_update_scan_mode()
132 spi_message_add_tail(&st->ring_xfer[1], &st->ring_msg); in ad7298_update_scan_mode()
135 st->ring_xfer[i + 2].rx_buf = &st->rx_buf[i]; in ad7298_update_scan_mode()
136 st->ring_xfer[i + 2].len = 2; in ad7298_update_scan_mode()
137 st->ring_xfer[i + 2].cs_change = 1; in ad7298_update_scan_mode()
138 spi_message_add_tail(&st->ring_xfer[i + 2], &st->ring_msg); in ad7298_update_scan_mode()
141 st->ring_xfer[i + 1].cs_change = 0; in ad7298_update_scan_mode()