Home
last modified time | relevance | path

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

/drivers/regulator/
Dmax5970-regulator.c26 int num_switches, mon_rng, irng, shunt_micro_ohms, lim_uA; member
172 if (vthfst > data->irng) { in max597x_set_ocp()
177 val = div_u64(mul_u32_u32(0xFF, vthfst), data->irng); in max597x_set_ocp()
361 u32 *irng, u32 *mon_rng) in max597x_adc_range() argument
372 *irng = 100000; /* 100 mV */ in max597x_adc_range()
375 *irng = 50000; /* 50 mV */ in max597x_adc_range()
378 *irng = 25000; /* 25 mV */ in max597x_adc_range()
467 ret = max597x_adc_range(regmap, i, &max597x->irng[i], &max597x->mon_rng[i]); in max597x_regulator_probe()
471 data->irng = max597x->irng[i]; in max597x_regulator_probe()