Searched refs:lim_uA (Results 1 – 5 of 5) sorted by relevance
/drivers/regulator/ |
D | max5970-regulator.c | 26 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()
|
D | rt5759-regulator.c | 114 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()
|
D | tps65218-regulator.c | 189 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()
|
D | bd9576-regulator.c | 310 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()
|
D | qcom_spmi-regulator.c | 654 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()
|