Searched refs:ad7194_channels (Results 1 – 1 of 1) sorted by relevance
1213 struct iio_chan_spec *ad7194_channels; in ad7194_parse_channels() local1229 ad7194_channels = devm_kcalloc(dev, num_channels, in ad7194_parse_channels()1230 sizeof(*ad7194_channels), GFP_KERNEL); in ad7194_parse_channels()1231 if (!ad7194_channels) in ad7194_parse_channels()1234 indio_dev->channels = ad7194_channels; in ad7194_parse_channels()1251 *ad7194_channels = ad7194_chan_diff; in ad7194_parse_channels()1252 ad7194_channels->scan_index = index++; in ad7194_parse_channels()1253 ad7194_channels->channel = ain[0]; in ad7194_parse_channels()1254 ad7194_channels->channel2 = ain[1]; in ad7194_parse_channels()1255 ad7194_channels->address = AD7194_DIFF_CH(ain[0], ain[1]); in ad7194_parse_channels()[all …]