Home
last modified time | relevance | path

Searched refs:scan_single_xfer (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/iio/adc/
Dad7298.c47 struct spi_transfer scan_single_xfer[3]; member
325 st->scan_single_xfer[0].tx_buf = &st->tx_buf[0]; in ad7298_probe()
326 st->scan_single_xfer[0].len = 2; in ad7298_probe()
327 st->scan_single_xfer[0].cs_change = 1; in ad7298_probe()
328 st->scan_single_xfer[1].tx_buf = &st->tx_buf[1]; in ad7298_probe()
329 st->scan_single_xfer[1].len = 2; in ad7298_probe()
330 st->scan_single_xfer[1].cs_change = 1; in ad7298_probe()
331 st->scan_single_xfer[2].rx_buf = &st->rx_buf[0]; in ad7298_probe()
332 st->scan_single_xfer[2].len = 2; in ad7298_probe()
335 spi_message_add_tail(&st->scan_single_xfer[0], &st->scan_single_msg); in ad7298_probe()
[all …]
Dad7923.c57 struct spi_transfer scan_single_xfer[2]; member
299 st->scan_single_xfer[0].tx_buf = &st->tx_buf[0]; in ad7923_probe()
300 st->scan_single_xfer[0].len = 2; in ad7923_probe()
301 st->scan_single_xfer[0].cs_change = 1; in ad7923_probe()
302 st->scan_single_xfer[1].rx_buf = &st->rx_buf[0]; in ad7923_probe()
303 st->scan_single_xfer[1].len = 2; in ad7923_probe()
306 spi_message_add_tail(&st->scan_single_xfer[0], &st->scan_single_msg); in ad7923_probe()
307 spi_message_add_tail(&st->scan_single_xfer[1], &st->scan_single_msg); in ad7923_probe()