Home
last modified time | relevance | path

Searched refs:ring_xfer (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/iio/adc/
Dad7298.c46 struct spi_transfer ring_xfer[10]; member
125 st->ring_xfer[0].tx_buf = &st->tx_buf[0]; in ad7298_update_scan_mode()
126 st->ring_xfer[0].len = 2; in ad7298_update_scan_mode()
127 st->ring_xfer[0].cs_change = 1; in ad7298_update_scan_mode()
128 st->ring_xfer[1].tx_buf = &st->tx_buf[1]; in ad7298_update_scan_mode()
129 st->ring_xfer[1].len = 2; in ad7298_update_scan_mode()
130 st->ring_xfer[1].cs_change = 1; in ad7298_update_scan_mode()
133 spi_message_add_tail(&st->ring_xfer[0], &st->ring_msg); in ad7298_update_scan_mode()
134 spi_message_add_tail(&st->ring_xfer[1], &st->ring_msg); in ad7298_update_scan_mode()
137 st->ring_xfer[i + 2].rx_buf = &st->rx_buf[i]; in ad7298_update_scan_mode()
[all …]
Dad7923.c56 struct spi_transfer ring_xfer[5]; member
147 st->ring_xfer[0].tx_buf = &st->tx_buf[0]; in ad7923_update_scan_mode()
148 st->ring_xfer[0].len = len; in ad7923_update_scan_mode()
149 st->ring_xfer[0].cs_change = 1; in ad7923_update_scan_mode()
152 spi_message_add_tail(&st->ring_xfer[0], &st->ring_msg); in ad7923_update_scan_mode()
155 st->ring_xfer[i + 1].rx_buf = &st->rx_buf[i]; in ad7923_update_scan_mode()
156 st->ring_xfer[i + 1].len = 2; in ad7923_update_scan_mode()
157 st->ring_xfer[i + 1].cs_change = 1; in ad7923_update_scan_mode()
158 spi_message_add_tail(&st->ring_xfer[i + 1], &st->ring_msg); in ad7923_update_scan_mode()
161 st->ring_xfer[i + 1].cs_change = 0; in ad7923_update_scan_mode()
Dti-adc108s102.c71 struct spi_transfer ring_xfer; member
138 st->ring_xfer.tx_buf = &st->tx_buf[0]; in adc108s102_update_scan_mode()
139 st->ring_xfer.rx_buf = &st->rx_buf[0]; in adc108s102_update_scan_mode()
140 st->ring_xfer.len = cmds * sizeof(st->tx_buf[0]); in adc108s102_update_scan_mode()
142 spi_message_init_with_transfers(&st->ring_msg, &st->ring_xfer, 1); in adc108s102_update_scan_mode()
Dti-ads7950.c54 struct spi_transfer ring_xfer[TI_ADS7950_MAX_CHAN + 2]; member
259 st->ring_xfer[i].tx_buf = &st->tx_buf[i]; in ti_ads7950_update_scan_mode()
261 st->ring_xfer[i].rx_buf = &st->rx_buf[i - 2]; in ti_ads7950_update_scan_mode()
262 st->ring_xfer[i].len = 2; in ti_ads7950_update_scan_mode()
263 st->ring_xfer[i].cs_change = 1; in ti_ads7950_update_scan_mode()
266 st->ring_xfer[len - 1].cs_change = 0; in ti_ads7950_update_scan_mode()
268 spi_message_init_with_transfers(&st->ring_msg, st->ring_xfer, len); in ti_ads7950_update_scan_mode()