Lines Matching full:iio_backend

10 struct iio_backend;
72 * struct iio_backend_ops - operations structure for an 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,
109 int (*iodelay_set)(struct iio_backend *back, unsigned int chan,
111 int (*data_sample_trigger)(struct iio_backend *back,
113 struct iio_buffer *(*request_buffer)(struct iio_backend *back,
115 void (*free_buffer)(struct iio_backend *back,
117 int (*extend_chan_spec)(struct iio_backend *back,
119 int (*ext_info_set)(struct iio_backend *back, uintptr_t private,
122 int (*ext_info_get)(struct iio_backend *back, uintptr_t private,
124 int (*read_raw)(struct iio_backend *back,
127 int (*debugfs_print_chan_status)(struct iio_backend *back,
130 int (*debugfs_reg_access)(struct iio_backend *back, unsigned int reg,
135 * struct iio_backend_info - info structure for an iio_backend
144 int iio_backend_chan_enable(struct iio_backend *back, unsigned int chan);
145 int iio_backend_chan_disable(struct iio_backend *back, unsigned int chan);
146 int devm_iio_backend_enable(struct device *dev, struct iio_backend *back);
147 int iio_backend_enable(struct iio_backend *back);
148 void iio_backend_disable(struct iio_backend *back);
149 int iio_backend_data_format_set(struct iio_backend *back, unsigned int chan,
151 int iio_backend_data_source_set(struct iio_backend *back, unsigned int chan,
153 int iio_backend_set_sampling_freq(struct iio_backend *back, unsigned int chan,
155 int iio_backend_test_pattern_set(struct iio_backend *back,
158 int iio_backend_chan_status(struct iio_backend *back, unsigned int chan,
160 int iio_backend_iodelay_set(struct iio_backend *back, unsigned int lane,
162 int iio_backend_data_sample_trigger(struct iio_backend *back,
165 struct iio_backend *back,
172 int iio_backend_read_raw(struct iio_backend *back,
175 int iio_backend_extend_chan_spec(struct iio_backend *back,
177 void *iio_backend_get_priv(const struct iio_backend *conv);
178 struct iio_backend *devm_iio_backend_get(struct device *dev, const char *name);
179 struct iio_backend *devm_iio_backend_fwnode_get(struct device *dev,
182 struct iio_backend *
189 static inline int iio_backend_read_scale(struct iio_backend *back, in iio_backend_read_scale()
196 static inline int iio_backend_read_offset(struct iio_backend *back, in iio_backend_read_offset()
204 ssize_t iio_backend_debugfs_print_chan_status(struct iio_backend *back,
207 void iio_backend_debugfs_add(struct iio_backend *back,