Lines Matching refs:curr_channel
514 unsigned i, curr_channel = 0, in ad5592r_alloc_channels() local
544 ad5592r_setup_channel(iio_dev, &channels[curr_channel], in ad5592r_alloc_channels()
546 curr_channel++; in ad5592r_alloc_channels()
550 ad5592r_setup_channel(iio_dev, &channels[curr_channel], in ad5592r_alloc_channels()
552 curr_channel++; in ad5592r_alloc_channels()
556 ad5592r_setup_channel(iio_dev, &channels[curr_channel], in ad5592r_alloc_channels()
558 curr_channel++; in ad5592r_alloc_channels()
559 ad5592r_setup_channel(iio_dev, &channels[curr_channel], in ad5592r_alloc_channels()
561 curr_channel++; in ad5592r_alloc_channels()
569 channels[curr_channel].type = IIO_TEMP; in ad5592r_alloc_channels()
570 channels[curr_channel].channel = 8; in ad5592r_alloc_channels()
571 channels[curr_channel].info_mask_separate = BIT(IIO_CHAN_INFO_RAW) | in ad5592r_alloc_channels()
574 curr_channel++; in ad5592r_alloc_channels()
576 iio_dev->num_channels = curr_channel; in ad5592r_alloc_channels()