Lines Matching refs:chip_info
41 const struct ad7476_chip_info *chip_info; member
149 *val = (ret >> st->chip_info->channel[0].scan_type.shift) & in ad7476_read_raw()
150 GENMASK(st->chip_info->channel[0].scan_type.realbits - 1, 0); in ad7476_read_raw()
158 scale_uv = st->chip_info->int_vref_uv; in ad7476_read_raw()
315 st->chip_info = in ad7476_probe()
331 if (!st->chip_info->int_vref_uv) in ad7476_probe()
334 if (st->chip_info->has_vref) { in ad7476_probe()
337 if (st->chip_info->int_vref_uv) { in ad7476_probe()
370 if (st->chip_info->has_vdrive) { in ad7476_probe()
386 indio_dev->channels = st->chip_info->channel; in ad7476_probe()
391 indio_dev->channels = st->chip_info->convst_channel; in ad7476_probe()
395 st->xfer.len = st->chip_info->channel[0].scan_type.storagebits / 8; in ad7476_probe()
405 if (st->chip_info->reset) in ad7476_probe()
406 st->chip_info->reset(st); in ad7476_probe()