Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/regulator/
Dmax597x-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()
367 u32 *irng, u32 *mon_rng) in max597x_adc_range() argument
378 *irng = 100000; /* 100 mV */ in max597x_adc_range()
381 *irng = 50000; /* 50 mV */ in max597x_adc_range()
384 *irng = 25000; /* 25 mV */ in max597x_adc_range()
455 ret = max597x_adc_range(data->regmap, i, &max597x->irng[i], &max597x->mon_rng[i]); in max597x_regulator_probe()
459 data->irng = max597x->irng[i]; in max597x_regulator_probe()