Lines Matching refs:sel
186 unsigned int sel; in da9063_get_current_limit() local
189 ret = regmap_field_read(regl->ilimit, &sel); in da9063_get_current_limit()
193 if (sel >= rinfo->n_current_limits) in da9063_get_current_limit()
194 sel = rinfo->n_current_limits - 1; in da9063_get_current_limit()
196 return rinfo->current_limits[sel]; in da9063_get_current_limit()
364 int ret, sel; in da9063_set_suspend_voltage() local
366 sel = regulator_map_voltage_linear(rdev, uV, uV); in da9063_set_suspend_voltage()
367 if (sel < 0) in da9063_set_suspend_voltage()
368 return sel; in da9063_set_suspend_voltage()
370 sel <<= ffs(rdev->desc->vsel_mask) - 1; in da9063_set_suspend_voltage()
373 rdev->desc->vsel_mask, sel); in da9063_set_suspend_voltage()