Lines Matching refs:chip_info
154 const struct ad7793_chip_info *chip_info; member
236 if (!(st->chip_info->flags & AD7793_FLAG_HAS_CLKSEL) && in ad7793_check_platform_data()
240 if (!(st->chip_info->flags & AD7793_FLAG_HAS_REFSEL) && in ad7793_check_platform_data()
244 if (!(st->chip_info->flags & AD7793_FLAG_HAS_VBIAS) && in ad7793_check_platform_data()
248 if (!(st->chip_info->flags & AD7793_HAS_EXITATION_CURRENT) && in ad7793_check_platform_data()
281 if (id != st->chip_info->id) { in ad7793_setup()
290 if (st->chip_info->flags & AD7793_FLAG_HAS_CLKSEL) in ad7793_setup()
292 if (st->chip_info->flags & AD7793_FLAG_HAS_REFSEL) in ad7793_setup()
294 if (st->chip_info->flags & AD7793_FLAG_HAS_VBIAS) in ad7793_setup()
296 if (pdata->buffered || !(st->chip_info->flags & AD7793_FLAG_HAS_BUFFER)) in ad7793_setup()
299 (st->chip_info->flags & AD7793_FLAG_HAS_VBIAS)) in ad7793_setup()
306 if (!(st->chip_info->flags & AD7793_FLAG_HAS_GAIN)) in ad7793_setup()
317 if (st->chip_info->flags & AD7793_HAS_EXITATION_CURRENT) { in ad7793_setup()
332 >> (st->chip_info->channels[0].scan_type.realbits - in ad7793_setup()
458 *val = st->chip_info in ad7793_read_raw()
505 if (val == st->chip_info->sample_freq_avail[i]) in ad7793_write_raw()
824 st->chip_info = in ad7793_probe()
829 indio_dev->channels = st->chip_info->channels; in ad7793_probe()
830 indio_dev->num_channels = st->chip_info->num_channels; in ad7793_probe()
831 indio_dev->info = st->chip_info->iio_info; in ad7793_probe()