Lines Matching refs:sel
125 unsigned int sel; in da9062_get_current_limit() local
128 ret = regmap_field_read(regl->ilimit, &sel); in da9062_get_current_limit()
132 if (sel >= rinfo->n_current_limits) in da9062_get_current_limit()
133 sel = rinfo->n_current_limits - 1; in da9062_get_current_limit()
135 return rinfo->current_limits[sel]; in da9062_get_current_limit()
303 int ret, sel; in da9062_set_suspend_voltage() local
305 sel = regulator_map_voltage_linear(rdev, uv, uv); in da9062_set_suspend_voltage()
306 if (sel < 0) in da9062_set_suspend_voltage()
307 return sel; in da9062_set_suspend_voltage()
309 sel <<= ffs(rdev->desc->vsel_mask) - 1; in da9062_set_suspend_voltage()
312 rdev->desc->vsel_mask, sel); in da9062_set_suspend_voltage()