Lines Matching refs:ad7194_channels
1213 struct iio_chan_spec *ad7194_channels; in ad7194_parse_channels() local
1229 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()
1268 *ad7194_channels = ad7194_chan; in ad7194_parse_channels()
1269 ad7194_channels->scan_index = index++; in ad7194_parse_channels()
1270 ad7194_channels->channel = ain[0]; in ad7194_parse_channels()
1271 ad7194_channels->address = AD7194_CH(ain[0]); in ad7194_parse_channels()
1273 ad7194_channels++; in ad7194_parse_channels()
1276 *ad7194_channels = ad7194_chan_temp; in ad7194_parse_channels()
1277 ad7194_channels->scan_index = index++; in ad7194_parse_channels()
1278 ad7194_channels->address = AD7194_CH_TEMP; in ad7194_parse_channels()
1279 ad7194_channels++; in ad7194_parse_channels()
1281 *ad7194_channels = ad7194_chan_timestamp; in ad7194_parse_channels()
1282 ad7194_channels->scan_index = index; in ad7194_parse_channels()