Lines Matching defs:chan
108 const struct iio_chan_spec *chan = NULL; in iio_chan_spec_from_name() local
209 struct iio_channel *chan; in __fwnode_iio_channel_get_by_name() local
261 struct iio_channel *chan; in fwnode_iio_channel_get_by_name() local
528 struct iio_channel *chan = &channels[0]; in iio_channel_release_all() local
561 static int iio_channel_read(struct iio_channel *chan, int *val, int *val2, in iio_channel_read()
589 int iio_read_channel_raw(struct iio_channel *chan, int *val) in iio_read_channel_raw()
608 int iio_read_channel_average_raw(struct iio_channel *chan, int *val) in iio_read_channel_average_raw()
627 static int iio_convert_raw_to_processed_unlocked(struct iio_channel *chan, in iio_convert_raw_to_processed_unlocked()
706 int iio_convert_raw_to_processed(struct iio_channel *chan, int raw, in iio_convert_raw_to_processed()
727 int iio_read_channel_attribute(struct iio_channel *chan, int *val, int *val2, in iio_read_channel_attribute()
747 int iio_read_channel_offset(struct iio_channel *chan, int *val, int *val2) in iio_read_channel_offset()
753 int iio_read_channel_processed_scale(struct iio_channel *chan, int *val, in iio_read_channel_processed_scale()
786 int iio_read_channel_processed(struct iio_channel *chan, int *val) in iio_read_channel_processed()
793 int iio_read_channel_scale(struct iio_channel *chan, int *val, int *val2) in iio_read_channel_scale()
799 static int iio_channel_read_avail(struct iio_channel *chan, in iio_channel_read_avail()
810 int iio_read_avail_channel_attribute(struct iio_channel *chan, in iio_read_avail_channel_attribute()
831 int iio_read_avail_channel_raw(struct iio_channel *chan, in iio_read_avail_channel_raw()
848 static int iio_channel_read_max(struct iio_channel *chan, in iio_channel_read_max()
895 int iio_read_max_channel_raw(struct iio_channel *chan, int *val) in iio_read_max_channel_raw()
915 int iio_get_channel_type(struct iio_channel *chan, enum iio_chan_type *type) in iio_get_channel_type()
935 static int iio_channel_write(struct iio_channel *chan, int val, int val2, in iio_channel_write()
942 int iio_write_channel_attribute(struct iio_channel *chan, int val, int val2, in iio_write_channel_attribute()
962 int iio_write_channel_raw(struct iio_channel *chan, int val) in iio_write_channel_raw()
968 unsigned int iio_get_channel_ext_info_count(struct iio_channel *chan) in iio_get_channel_ext_info_count()
984 iio_lookup_ext_info(const struct iio_channel *chan, const char *attr) in iio_lookup_ext_info()
999 ssize_t iio_read_channel_ext_info(struct iio_channel *chan, in iio_read_channel_ext_info()
1013 ssize_t iio_write_channel_ext_info(struct iio_channel *chan, const char *attr, in iio_write_channel_ext_info()