Lines Matching refs:lim
310 static int qcom_labibb_set_ocp(struct regulator_dev *rdev, int lim,
322 if (lim || severity != REGULATOR_SEVERITY_PROT || !enable)
565 struct labibb_current_limits *lim = &vreg->uA_limits;
569 if (min_uA < lim->uA_min || max_uA < lim->uA_min)
573 int uA_limit = (lim->uA_step * i) + lim->uA_min;
587 mask = desc->csel_mask | lim->ovr_val;
589 val = (u32)sel | lim->ovr_val;
599 struct labibb_current_limits *lim = &vreg->uA_limits;
608 return (cur_step * lim->uA_step) + lim->uA_min;