Lines Matching defs:num_vrefs
54 * @num_vrefs: number of vref supplies for the chip
61 unsigned int num_vrefs;
124 .num_vrefs = 2,
130 .num_vrefs = 2,
136 .num_vrefs = 2,
142 .num_vrefs = 2,
148 .num_vrefs = 2,
154 .num_vrefs = 3,
160 .num_vrefs = 2,
166 .num_vrefs = 2,
178 if (i >= st->chip_info->num_vrefs)
179 i = st->chip_info->num_vrefs - 1;
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);