Searched refs:spi_trans (Results 1 – 1 of 1) sorted by relevance
26 struct spi_transfer spi_trans; member75 int n_words = (adc->spi_trans.len >> 1) - 1; /* Discard first word */ in adc084s021_adc_conversion()175 adc->spi_trans.len = 2 + (i * sizeof(__be16)); /* Trash + channels */ in adc084s021_buffer_preenable()184 adc->spi_trans.len = 4; /* Trash + single channel */ in adc084s021_buffer_postdisable()221 adc->spi_trans.tx_buf = adc->tx_buf; in adc084s021_probe()222 adc->spi_trans.rx_buf = adc->rx_buf; in adc084s021_probe()223 adc->spi_trans.len = 4; /* Trash + single channel */ in adc084s021_probe()224 spi_message_init_with_transfers(&adc->message, &adc->spi_trans, 1); in adc084s021_probe()