Lines Matching defs:chip_info
67 * @chip_info: chip model specific constants, available modes etc
76 const struct ad5360_chip_info *chip_info;
177 i = channel / st->chip_info->channels_per_group;
178 if (i >= st->chip_info->num_vrefs)
179 i = st->chip_info->num_vrefs - 1;
442 channels = kcalloc(st->chip_info->num_channels,
448 for (i = 0; i < st->chip_info->num_channels; ++i) {
449 channels[i] = st->chip_info->channel_template;
476 st->chip_info = &ad5360_chip_info_tbl[type];
482 indio_dev->num_channels = st->chip_info->num_channels;
492 for (i = 0; i < st->chip_info->num_vrefs; ++i)
495 ret = devm_regulator_bulk_get(&st->spi->dev, st->chip_info->num_vrefs,
502 ret = regulator_bulk_enable(st->chip_info->num_vrefs, st->vref_reg);
517 regulator_bulk_disable(st->chip_info->num_vrefs, st->vref_reg);
533 regulator_bulk_disable(st->chip_info->num_vrefs, st->vref_reg);