Home
last modified time | relevance | path

Searched refs:mon_rng (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/regulator/
H A Dmax5970-regulator.c26 int num_switches, mon_rng, irng, shunt_micro_ohms, lim_uA; member
84 reg = ADC_MASK * lim_uV / data->mon_rng; in max597x_set_vp()
361 u32 *irng, u32 *mon_rng) in max597x_adc_range() argument
389 *mon_rng = MAX5970_MON_MAX_RANGE_UV >> MAX5970_MON(reg, ch); in max597x_adc_range()
467 ret = max597x_adc_range(regmap, i, &max597x->irng[i], &max597x->mon_rng[i]); in max597x_regulator_probe()
472 data->mon_rng = max597x->mon_rng[i]; in max597x_regulator_probe()
/openbmc/linux/include/linux/mfd/
H A Dmax5970.h22 u32 mon_rng[MAX5970_NUM_SWITCHES]; member