Lines Matching defs:chan
105 const struct iio_chan_spec *chan = NULL; in iio_chan_spec_from_name() local
202 struct iio_channel *chan; in __fwnode_iio_channel_get_by_name() local
254 struct iio_channel *chan; in fwnode_iio_channel_get_by_name() local
510 struct iio_channel *chan = &channels[0]; in iio_channel_release_all() local
543 static int iio_channel_read(struct iio_channel *chan, int *val, int *val2, in iio_channel_read()
575 int iio_read_channel_raw(struct iio_channel *chan, int *val) in iio_read_channel_raw()
587 int iio_read_channel_average_raw(struct iio_channel *chan, int *val) in iio_read_channel_average_raw()
599 static int iio_convert_raw_to_processed_unlocked(struct iio_channel *chan, in iio_convert_raw_to_processed_unlocked()
678 int iio_convert_raw_to_processed(struct iio_channel *chan, int raw, in iio_convert_raw_to_processed()
692 int iio_read_channel_attribute(struct iio_channel *chan, int *val, int *val2, in iio_read_channel_attribute()
705 int iio_read_channel_offset(struct iio_channel *chan, int *val, int *val2) in iio_read_channel_offset()
711 int iio_read_channel_processed_scale(struct iio_channel *chan, int *val, in iio_read_channel_processed_scale()
740 int iio_read_channel_processed(struct iio_channel *chan, int *val) in iio_read_channel_processed()
747 int iio_read_channel_scale(struct iio_channel *chan, int *val, int *val2) in iio_read_channel_scale()
753 static int iio_channel_read_avail(struct iio_channel *chan, in iio_channel_read_avail()
768 int iio_read_avail_channel_attribute(struct iio_channel *chan, in iio_read_avail_channel_attribute()
782 int iio_read_avail_channel_raw(struct iio_channel *chan, in iio_read_avail_channel_raw()
799 static int iio_channel_read_max(struct iio_channel *chan, in iio_channel_read_max()
842 int iio_read_max_channel_raw(struct iio_channel *chan, int *val) in iio_read_max_channel_raw()
855 static int iio_channel_read_min(struct iio_channel *chan, in iio_channel_read_min()
898 int iio_read_min_channel_raw(struct iio_channel *chan, int *val) in iio_read_min_channel_raw()
911 int iio_get_channel_type(struct iio_channel *chan, enum iio_chan_type *type) in iio_get_channel_type()
925 static int iio_channel_write(struct iio_channel *chan, int val, int val2, in iio_channel_write()
936 int iio_write_channel_attribute(struct iio_channel *chan, int val, int val2, in iio_write_channel_attribute()
949 int iio_write_channel_raw(struct iio_channel *chan, int val) in iio_write_channel_raw()
955 unsigned int iio_get_channel_ext_info_count(struct iio_channel *chan) in iio_get_channel_ext_info_count()
971 iio_lookup_ext_info(const struct iio_channel *chan, const char *attr) in iio_lookup_ext_info()
986 ssize_t iio_read_channel_ext_info(struct iio_channel *chan, in iio_read_channel_ext_info()
1000 ssize_t iio_write_channel_ext_info(struct iio_channel *chan, const char *attr, in iio_write_channel_ext_info()
1014 ssize_t iio_read_channel_label(struct iio_channel *chan, char *buf) in iio_read_channel_label()