Lines Matching refs:vals
534 int vals[INDIO_MAX_RAW_ELEMENTS]; in iio_channel_read() local
547 vals, &val_len, info); in iio_channel_read()
548 *val = vals[0]; in iio_channel_read()
549 *val2 = vals[1]; in iio_channel_read()
750 const int **vals, int *type, int *length, in iio_channel_read_avail() argument
757 vals, type, length, info); in iio_channel_read_avail()
761 const int **vals, int *length) in iio_read_avail_channel_raw() argument
773 vals, &type, length, IIO_CHAN_INFO_RAW); in iio_read_avail_channel_raw()
790 const int *vals; in iio_channel_read_max() local
797 ret = iio_channel_read_avail(chan, &vals, type, &length, info); in iio_channel_read_max()
802 *val = vals[2]; in iio_channel_read_max()
805 *val = vals[4]; in iio_channel_read_max()
806 *val2 = vals[5]; in iio_channel_read_max()
815 *val = vals[--length]; in iio_channel_read_max()
817 if (vals[--length] > *val) in iio_channel_read_max()
818 *val = vals[length]; in iio_channel_read_max()