Lines Matching full:iio_backend
50 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()
233 EXPORT_SYMBOL_NS_GPL(iio_backend_debugfs_add, IIO_BACKEND);
249 ssize_t iio_backend_debugfs_print_chan_status(struct iio_backend *back, in iio_backend_debugfs_print_chan_status()
259 EXPORT_SYMBOL_NS_GPL(iio_backend_debugfs_print_chan_status, IIO_BACKEND);
269 int iio_backend_chan_enable(struct iio_backend *back, unsigned int chan) in iio_backend_chan_enable()
273 EXPORT_SYMBOL_NS_GPL(iio_backend_chan_enable, IIO_BACKEND);
283 int iio_backend_chan_disable(struct iio_backend *back, unsigned int chan) in iio_backend_chan_disable()
287 EXPORT_SYMBOL_NS_GPL(iio_backend_chan_disable, IIO_BACKEND);
298 void iio_backend_disable(struct iio_backend *back) in iio_backend_disable()
302 EXPORT_SYMBOL_NS_GPL(iio_backend_disable, IIO_BACKEND);
311 int iio_backend_enable(struct iio_backend *back) in iio_backend_enable()
315 EXPORT_SYMBOL_NS_GPL(iio_backend_enable, IIO_BACKEND);
325 int devm_iio_backend_enable(struct device *dev, struct iio_backend *back) in devm_iio_backend_enable()
335 EXPORT_SYMBOL_NS_GPL(devm_iio_backend_enable, IIO_BACKEND);
349 int iio_backend_data_format_set(struct iio_backend *back, unsigned int chan, in iio_backend_data_format_set()
357 EXPORT_SYMBOL_NS_GPL(iio_backend_data_format_set, IIO_BACKEND);
371 int iio_backend_data_source_set(struct iio_backend *back, unsigned int chan, in iio_backend_data_source_set()
379 EXPORT_SYMBOL_NS_GPL(iio_backend_data_source_set, IIO_BACKEND);
390 int iio_backend_set_sampling_freq(struct iio_backend *back, unsigned int chan, in iio_backend_set_sampling_freq()
395 EXPORT_SYMBOL_NS_GPL(iio_backend_set_sampling_freq, IIO_BACKEND);
409 int iio_backend_test_pattern_set(struct iio_backend *back, in iio_backend_test_pattern_set()
418 EXPORT_SYMBOL_NS_GPL(iio_backend_test_pattern_set, IIO_BACKEND);
432 int iio_backend_chan_status(struct iio_backend *back, unsigned int chan, in iio_backend_chan_status()
437 EXPORT_SYMBOL_NS_GPL(iio_backend_chan_status, IIO_BACKEND);
455 int iio_backend_iodelay_set(struct iio_backend *back, unsigned int lane, in iio_backend_iodelay_set()
460 EXPORT_SYMBOL_NS_GPL(iio_backend_iodelay_set, IIO_BACKEND);
473 int iio_backend_data_sample_trigger(struct iio_backend *back, in iio_backend_data_sample_trigger()
481 EXPORT_SYMBOL_NS_GPL(iio_backend_data_sample_trigger, IIO_BACKEND);
506 struct iio_backend *back, in devm_iio_backend_request_buffer()
526 EXPORT_SYMBOL_NS_GPL(devm_iio_backend_request_buffer, IIO_BACKEND);
539 int iio_backend_read_raw(struct iio_backend *back, in iio_backend_read_raw()
545 EXPORT_SYMBOL_NS_GPL(iio_backend_read_raw, IIO_BACKEND);
547 static struct iio_backend *iio_backend_from_indio_dev_parent(const struct device *dev) in iio_backend_from_indio_dev_parent()
549 struct iio_backend *back = ERR_PTR(-ENODEV), *iter; in iio_backend_from_indio_dev_parent()
592 struct iio_backend *back; in iio_backend_ext_info_get()
607 EXPORT_SYMBOL_NS_GPL(iio_backend_ext_info_get, IIO_BACKEND);
629 struct iio_backend *back; in iio_backend_ext_info_set()
637 EXPORT_SYMBOL_NS_GPL(iio_backend_ext_info_set, IIO_BACKEND);
650 int iio_backend_extend_chan_spec(struct iio_backend *back, in iio_backend_extend_chan_spec()
680 EXPORT_SYMBOL_NS_GPL(iio_backend_extend_chan_spec, IIO_BACKEND);
684 struct iio_backend *back = arg; in iio_backend_release()
689 static int __devm_iio_backend_get(struct device *dev, struct iio_backend *back) in __devm_iio_backend_get()
721 static struct iio_backend *__devm_iio_backend_fwnode_get(struct device *dev, const char *name, in __devm_iio_backend_fwnode_get()
725 struct iio_backend *back; in __devm_iio_backend_fwnode_get()
774 struct iio_backend *devm_iio_backend_get(struct device *dev, const char *name) in devm_iio_backend_get()
778 EXPORT_SYMBOL_NS_GPL(devm_iio_backend_get, IIO_BACKEND);
791 struct iio_backend *devm_iio_backend_fwnode_get(struct device *dev, in devm_iio_backend_fwnode_get()
797 EXPORT_SYMBOL_NS_GPL(devm_iio_backend_fwnode_get, IIO_BACKEND);
811 struct iio_backend *
815 struct iio_backend *back; in __devm_iio_backend_get_from_fwnode_lookup()
832 EXPORT_SYMBOL_NS_GPL(__devm_iio_backend_get_from_fwnode_lookup, IIO_BACKEND);
838 void *iio_backend_get_priv(const struct iio_backend *back) in iio_backend_get_priv()
842 EXPORT_SYMBOL_NS_GPL(iio_backend_get_priv, IIO_BACKEND);
846 struct iio_backend *back = arg; in iio_backend_unregister()
866 struct iio_backend *back; in devm_iio_backend_register()
891 EXPORT_SYMBOL_NS_GPL(devm_iio_backend_register, IIO_BACKEND);