Home
last modified time | relevance | path

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

/drivers/regulator/
Dmax5970-regulator.c26 int num_switches, mon_rng, irng, shunt_micro_ohms, lim_uA; member
137 static int max597x_set_ocp(struct regulator_dev *rdev, int lim_uA, in max597x_set_ocp() argument
150 if (lim_uA != 0 && lim_uA != data->lim_uA) in max597x_set_ocp()
151 data->lim_uA = lim_uA; in max597x_set_ocp()
160 div_u64(mul_u32_u32(data->shunt_micro_ohms, data->lim_uA), in max597x_set_ocp()
Drt5759-regulator.c114 static int rt5759_set_ocp(struct regulator_dev *rdev, int lim_uA, int severity, in rt5759_set_ocp() argument
128 if (lim_uA == 0) in rt5759_set_ocp()
129 lim_uA = 10800000; in rt5759_set_ocp()
132 if (lim_uA <= ocp_lvl[i]) in rt5759_set_ocp()
Dtps65218-regulator.c189 int lim_uA) in tps65218_pmic_set_input_current_lim() argument
195 while (index < num_currents && ls3_currents[index] != lim_uA) in tps65218_pmic_set_input_current_lim()
Dbd9576-regulator.c310 static int bd9576_set_ocp(struct regulator_dev *rdev, int lim_uA, int severity, in bd9576_set_ocp() argument
320 if ((lim_uA && !enable) || (!lim_uA && enable)) in bd9576_set_ocp()
378 Vfet = lim_uA/1000 * rfet; in bd9576_set_ocp()
Dqcom_spmi-regulator.c654 static int spmi_regulator_vs_ocp(struct regulator_dev *rdev, int lim_uA, in spmi_regulator_vs_ocp() argument
660 if (lim_uA || !enable || severity != REGULATOR_SEVERITY_PROT) in spmi_regulator_vs_ocp()