Lines Matching refs:chip_info
107 const struct ad5064_chip_info *chip_info; member
206 if (st->chip_info->regmap_type == AD5064_REGMAP_LTC) { in ad5064_sync_powerdown_mode()
210 if (st->chip_info->regmap_type == AD5064_REGMAP_ADI2) in ad5064_sync_powerdown_mode()
308 return st->chip_info->internal_vref; in ad5064_get_vref()
310 i = st->chip_info->shared_vref ? 0 : chan->channel; in ad5064_get_vref()
779 return st->chip_info->shared_vref ? 1 : st->chip_info->num_channels; in ad5064_num_vref()
792 return st->chip_info->shared_vref ? "vref" : ad5064_vref_names[vref]; in ad5064_vref_name()
799 switch (st->chip_info->regmap_type) { in ad5064_set_config()
827 st->chip_info = &ad5064_chip_info_tbl[type]; in ad5064_probe()
837 if (!st->chip_info->internal_vref) in ad5064_probe()
856 indio_dev->channels = st->chip_info->channels; in ad5064_probe()
857 indio_dev->num_channels = st->chip_info->num_channels; in ad5064_probe()
861 for (i = 0; i < st->chip_info->num_channels; ++i) { in ad5064_probe()
972 switch (st->chip_info->regmap_type) { in ad5064_i2c_write()