Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/iio/
H A Dbackend.h8 struct iio_backend;
42 int (*enable)(struct iio_backend *back);
43 void (*disable)(struct iio_backend *back);
44 int (*chan_enable)(struct iio_backend *back, unsigned int chan);
45 int (*chan_disable)(struct iio_backend *back, unsigned int chan);
46 int (*data_format_set)(struct iio_backend *back, unsigned int chan,
48 struct iio_buffer *(*request_buffer)(struct iio_backend *back,
50 void (*free_buffer)(struct iio_backend *back,
60 struct iio_backend *back,
63 void *iio_backend_get_priv(const struct iio_backend *conv);
[all …]
/openbmc/linux/drivers/iio/
H A Dindustrialio-backend.c47 struct iio_backend { struct
60 struct iio_backend *back; argument
81 struct iio_backend *__back = back; \
92 struct iio_backend *__back = back; \
212 struct iio_backend *back, in devm_iio_backend_request_buffer()
236 struct iio_backend *back = arg; in iio_backend_release()
284 struct iio_backend *back; in devm_iio_backend_get()
335 struct iio_backend *
339 struct iio_backend *back; in __devm_iio_backend_get_from_fwnode_lookup()
370 struct iio_backend *back = arg; in iio_backend_unregister()
[all …]
/openbmc/linux/drivers/iio/adc/
H A Dadi-axi-adc.c64 static int axi_adc_enable(struct iio_backend *back) in axi_adc_enable()
79 static void axi_adc_disable(struct iio_backend *back) in axi_adc_disable()
86 static int axi_adc_data_format_set(struct iio_backend *back, unsigned int chan, in axi_adc_data_format_set()
107 static int axi_adc_chan_enable(struct iio_backend *back, unsigned int chan) in axi_adc_chan_enable()
115 static int axi_adc_chan_disable(struct iio_backend *back, unsigned int chan) in axi_adc_chan_disable()
123 static struct iio_buffer *axi_adc_request_buffer(struct iio_backend *back, in axi_adc_request_buffer()
149 static void axi_adc_free_buffer(struct iio_backend *back, in axi_adc_free_buffer()
H A Dad9467.c117 struct iio_backend *back;