Home
last modified time | relevance | path

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

/drivers/iio/adc/
Dad7298.c44 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()
[all …]
Dad7923.c51 struct spi_transfer ring_xfer[5]; member
180 st->ring_xfer[0].tx_buf = &st->tx_buf[0]; in ad7923_update_scan_mode()
181 st->ring_xfer[0].len = len; in ad7923_update_scan_mode()
182 st->ring_xfer[0].cs_change = 1; in ad7923_update_scan_mode()
185 spi_message_add_tail(&st->ring_xfer[0], &st->ring_msg); in ad7923_update_scan_mode()
188 st->ring_xfer[i + 1].rx_buf = &st->rx_buf[i]; in ad7923_update_scan_mode()
189 st->ring_xfer[i + 1].len = 2; in ad7923_update_scan_mode()
190 st->ring_xfer[i + 1].cs_change = 1; in ad7923_update_scan_mode()
191 spi_message_add_tail(&st->ring_xfer[i + 1], &st->ring_msg); in ad7923_update_scan_mode()
194 st->ring_xfer[i + 1].cs_change = 0; in ad7923_update_scan_mode()
Dti-adc108s102.c64 struct spi_transfer ring_xfer; member
131 st->ring_xfer.tx_buf = &st->tx_buf[0]; in adc108s102_update_scan_mode()
132 st->ring_xfer.rx_buf = &st->rx_buf[0]; in adc108s102_update_scan_mode()
133 st->ring_xfer.len = cmds * sizeof(st->tx_buf[0]); in adc108s102_update_scan_mode()
135 spi_message_init_with_transfers(&st->ring_msg, &st->ring_xfer, 1); in adc108s102_update_scan_mode()
154 st->ring_xfer.len - sizeof(st->rx_buf[1]), in adc108s102_trigger_handler()
Dti-ads7950.c68 struct spi_transfer ring_xfer; member
299 st->ring_xfer.len = len * 2; in ti_ads7950_update_scan_mode()
568 st->ring_xfer.tx_buf = &st->tx_buf[0]; in ti_ads7950_probe()
569 st->ring_xfer.rx_buf = &st->rx_buf[0]; in ti_ads7950_probe()
572 spi_message_add_tail(&st->ring_xfer, &st->ring_msg); in ti_ads7950_probe()