Lines Matching refs:sel
183 unsigned int sel; in da9063_get_current_limit() local
186 ret = regmap_field_read(regl->ilimit, &sel); in da9063_get_current_limit()
190 if (sel >= rinfo->n_current_limits) in da9063_get_current_limit()
191 sel = rinfo->n_current_limits - 1; in da9063_get_current_limit()
193 return rinfo->current_limits[sel]; in da9063_get_current_limit()
361 int ret, sel; in da9063_set_suspend_voltage() local
363 sel = regulator_map_voltage_linear(rdev, uV, uV); in da9063_set_suspend_voltage()
364 if (sel < 0) in da9063_set_suspend_voltage()
365 return sel; in da9063_set_suspend_voltage()
367 sel <<= ffs(rdev->desc->vsel_mask) - 1; in da9063_set_suspend_voltage()
370 rdev->desc->vsel_mask, sel); in da9063_set_suspend_voltage()