Home
last modified time | relevance | path

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

/drivers/staging/iio/meter/
Dade7758_ring.c152 st->ring_xfer[0].tx_buf = &st->tx_buf[0]; in ade7758_configure_ring()
153 st->ring_xfer[0].len = 1; in ade7758_configure_ring()
154 st->ring_xfer[0].bits_per_word = 8; in ade7758_configure_ring()
155 st->ring_xfer[0].delay_usecs = 4; in ade7758_configure_ring()
156 st->ring_xfer[1].rx_buf = &st->rx_buf[1]; in ade7758_configure_ring()
157 st->ring_xfer[1].len = 3; in ade7758_configure_ring()
158 st->ring_xfer[1].bits_per_word = 8; in ade7758_configure_ring()
159 st->ring_xfer[1].cs_change = 1; in ade7758_configure_ring()
161 st->ring_xfer[2].tx_buf = &st->tx_buf[4]; in ade7758_configure_ring()
162 st->ring_xfer[2].len = 1; in ade7758_configure_ring()
[all …]
Dade7758.h122 struct spi_transfer ring_xfer[4]; member
/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()