Home
last modified time | relevance | path

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

/linux/include/linux/iio/
H A Dbackend.h10 struct iio_backend;
94 int (*enable)(struct iio_backend *back);
95 void (*disable)(struct iio_backend *back);
96 int (*chan_enable)(struct iio_backend *back, unsigned int chan);
97 int (*chan_disable)(struct iio_backend *back, unsigned int chan);
98 int (*data_format_set)(struct iio_backend *back, unsigned int chan,
100 int (*data_source_set)(struct iio_backend *back, unsigned int chan,
102 int (*set_sample_rate)(struct iio_backend *back, unsigned int chan,
104 int (*test_pattern_set)(struct iio_backend *back,
107 int (*chan_status)(struct iio_backend *back, unsigned int chan,
[all …]
/linux/drivers/iio/
H A Dindustrialio-backend.c50 struct iio_backend { struct
72 struct iio_backend *back; argument
83 struct iio_backend *____back = back; \
93 struct iio_backend *__back = back; \
104 struct iio_backend *__back = back; \
118 struct iio_backend *__back = back; \
133 struct iio_backend *back = file->private_data; in iio_backend_debugfs_read_reg()
152 struct iio_backend *back = file->private_data; in iio_backend_debugfs_write_reg()
188 struct iio_backend *back = file->private_data; in iio_backend_debugfs_read_name()
207 void iio_backend_debugfs_add(struct iio_backend *back, in iio_backend_debugfs_add()
[all …]
/linux/drivers/iio/adc/
H A Dadi-axi-adc.c90 static int axi_adc_enable(struct iio_backend *back) in axi_adc_enable()
117 static void axi_adc_disable(struct iio_backend *back) in axi_adc_disable()
125 static int axi_adc_data_format_set(struct iio_backend *back, unsigned int chan, in axi_adc_data_format_set()
146 static int axi_adc_data_sample_trigger(struct iio_backend *back, in axi_adc_data_sample_trigger()
163 static int axi_adc_iodelays_set(struct iio_backend *back, unsigned int lane, in axi_adc_iodelays_set()
192 static int axi_adc_test_pattern_set(struct iio_backend *back, in axi_adc_test_pattern_set()
234 static int axi_adc_chan_status(struct iio_backend *back, unsigned int chan, in axi_adc_chan_status()
253 static int axi_adc_debugfs_print_chan_status(struct iio_backend *back, in axi_adc_debugfs_print_chan_status()
277 static int axi_adc_chan_enable(struct iio_backend *back, unsigned int chan) in axi_adc_chan_enable()
285 static int axi_adc_chan_disable(struct iio_backend *back, unsigned int chan) in axi_adc_chan_disable()
[all …]
H A Dsd_adc_modulator.c35 static int iio_sd_mod_enable(struct iio_backend *backend) in iio_sd_mod_enable()
45 static void iio_sd_mod_disable(struct iio_backend *backend) in iio_sd_mod_disable()
53 static int iio_sd_mod_read(struct iio_backend *backend, struct iio_chan_spec const *chan, int *val, in iio_sd_mod_read()
H A Dstm32-dfsdm-adc.c82 struct iio_backend **backend;
678 struct iio_backend *backend; in stm32_dfsdm_generic_channel_parse_of()
H A Dad9467.c161 struct iio_backend *back;
/linux/drivers/iio/dac/
H A Dadi-axi-dac.c85 static int axi_dac_enable(struct iio_backend *back) in axi_dac_enable()
110 static void axi_dac_disable(struct iio_backend *back) in axi_dac_disable()
118 static struct iio_buffer *axi_dac_request_buffer(struct iio_backend *back, in axi_dac_request_buffer()
131 static void axi_dac_free_buffer(struct iio_backend *back, in axi_dac_free_buffer()
376 static int axi_dac_ext_info_set(struct iio_backend *back, uintptr_t private, in axi_dac_ext_info_set()
400 static int axi_dac_ext_info_get(struct iio_backend *back, uintptr_t private, in axi_dac_ext_info_get()
433 static int axi_dac_extend_chan(struct iio_backend *back, in axi_dac_extend_chan()
449 static int axi_dac_data_source_set(struct iio_backend *back, unsigned int chan, in axi_dac_data_source_set()
469 static int axi_dac_set_sample_rate(struct iio_backend *back, unsigned int chan, in axi_dac_set_sample_rate()
510 static int axi_dac_reg_access(struct iio_backend *back, unsigned int reg, in axi_dac_reg_access()
H A Dad9739a.c74 struct iio_backend *back;