Lines Matching full:offload
19 #include <linux/spi/offload/consumer.h>
62 struct spi_offload *offload; member
169 * Notes on the offload channels:
172 * offload trigger.
173 * - The storagebits value depends on the SPI offload provider. Currently there
280 * sample rate. It requires the SPI controller to have offload support and a
309 adc->offload_msg.offload = adc->offload; in ad7944_3wire_cs_mode_init_offload_msg()
313 return dev_err_probe(dev, ret, "failed to prepare offload msg\n"); in ad7944_3wire_cs_mode_init_offload_msg()
500 ret = spi_offload_trigger_enable(adc->offload, adc->offload_trigger, in ad7944_offload_buffer_postenable()
512 spi_offload_trigger_disable(adc->offload, adc->offload_trigger); in ad7944_offload_buffer_predisable()
787 adc->offload = devm_spi_offload_get(dev, spi, &ad7944_offload_config); in ad7944_probe()
788 ret = PTR_ERR_OR_ZERO(adc->offload); in ad7944_probe()
790 return dev_err_probe(dev, ret, "failed to get offload\n"); in ad7944_probe()
792 /* Fall back to low speed usage when no SPI offload available. */ in ad7944_probe()
814 "offload only supported in single mode\n"); in ad7944_probe()
821 adc->offload, SPI_OFFLOAD_TRIGGER_PERIODIC); in ad7944_probe()
824 "failed to get offload trigger\n"); in ad7944_probe()
832 adc->offload); in ad7944_probe()
835 "failed to get offload RX DMA\n"); in ad7944_probe()
838 * REVISIT: ideally, we would confirm that the offload RX DMA in ad7944_probe()
840 * offload_channels. Right now, the only supported offload in ad7944_probe()