Home
last modified time | relevance | path

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

/linux/drivers/iio/adc/
H A Dti-adc084s021.c26 struct spi_transfer spi_trans; member
75 int n_words = (adc->spi_trans.len >> 1) - 1; /* Discard first word */ in adc084s021_adc_conversion()
174 adc->spi_trans.len = 2 + (i * sizeof(__be16)); /* Trash + channels */ in adc084s021_buffer_preenable()
183 adc->spi_trans.len = 4; /* Trash + single channel */ in adc084s021_buffer_postdisable()
220 adc->spi_trans.tx_buf = adc->tx_buf; in adc084s021_probe()
221 adc->spi_trans.rx_buf = adc->rx_buf; in adc084s021_probe()
222 adc->spi_trans.len = 4; /* Trash + single channel */ in adc084s021_probe()
223 spi_message_init_with_transfers(&adc->message, &adc->spi_trans, 1); in adc084s021_probe()