Home
last modified time | relevance | path

Searched refs:csel_mask (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.6.21/drivers/regulator/
Dtps65218-regulator.c37 .csel_mask = _cm, \
201 return tps65218_set_bits(tps, dev->desc->csel_reg, dev->desc->csel_mask, in tps65218_pmic_set_input_current_lim()
202 index << __builtin_ctz(dev->desc->csel_mask), in tps65218_pmic_set_input_current_lim()
221 return tps65218_set_bits(tps, dev->desc->csel_reg, dev->desc->csel_mask, in tps65218_pmic_set_current_limit()
222 index << __builtin_ctz(dev->desc->csel_mask), in tps65218_pmic_set_current_limit()
Dmax77650-regulator.c196 .csel_mask = MAX77650_REGULATOR_CURR_LIM_MASK,
226 .csel_mask = MAX77650_REGULATOR_CURR_LIM_MASK,
259 .csel_mask = MAX77650_REGULATOR_CURR_LIM_MASK,
289 .csel_mask = MAX77650_REGULATOR_CURR_LIM_MASK,
319 .csel_mask = MAX77650_REGULATOR_CURR_LIM_MASK,
Drtmv20-regulator.c124 sel <<= ffs(rdev->desc->csel_mask) - 1; in rtmv20_lsw_set_current_limit()
127 rdev->desc->csel_mask, sel); in rtmv20_lsw_set_current_limit()
139 val &= rdev->desc->csel_mask; in rtmv20_lsw_get_current_limit()
140 val >>= ffs(rdev->desc->csel_mask) - 1; in rtmv20_lsw_get_current_limit()
160 .csel_mask = RTMV20_LDCURR_MASK,
Das3722-regulator.c692 desc->csel_mask = AS3722_LDO_ILIMIT_MASK; in as3722_regulator_probe()
729 desc->csel_mask = AS3722_LDO_ILIMIT_MASK; in as3722_regulator_probe()
756 desc->csel_mask = in as3722_regulator_probe()
760 desc->csel_mask = in as3722_regulator_probe()
764 desc->csel_mask = in as3722_regulator_probe()
791 desc->csel_mask = AS3722_LDO_ILIMIT_MASK; in as3722_regulator_probe()
Dda9062-regulator.c371 .desc.csel_mask = DA9062AA_BUCK1_ILIM_MASK,
408 .desc.csel_mask = DA9062AA_BUCK3_ILIM_MASK,
445 .desc.csel_mask = DA9062AA_BUCK4_ILIM_MASK,
618 .desc.csel_mask = DA9062AA_BUCK1_ILIM_MASK,
655 .desc.csel_mask = DA9062AA_BUCK2_ILIM_MASK,
692 .desc.csel_mask = DA9062AA_BUCK3_ILIM_MASK,
729 .desc.csel_mask = DA9062AA_BUCK4_ILIM_MASK,
Dmax8998.c412 sel <<= ffs(rdev->desc->csel_mask) - 1; in max8998_set_current_limit()
415 sel, rdev->desc->csel_mask); in max8998_set_current_limit()
429 val &= rdev->desc->csel_mask; in max8998_get_current_limit()
430 val >>= ffs(rdev->desc->csel_mask) - 1; in max8998_get_current_limit()
498 .csel_mask = _mask, \
Dhelpers.c836 sel <<= ffs(rdev->desc->csel_mask) - 1; in regulator_set_current_limit_regmap()
839 rdev->desc->csel_mask, sel); in regulator_set_current_limit_regmap()
861 val &= rdev->desc->csel_mask; in regulator_get_current_limit_regmap()
862 val >>= ffs(rdev->desc->csel_mask) - 1; in regulator_get_current_limit_regmap()
Dmpq7920.c40 .csel_mask = MPQ7920_MASK_BUCK_ILIM, \
69 .csel_mask = _cmask, \
Dqcom-labibb-regulator.c587 mask = desc->csel_mask | lim->ovr_val; in qcom_labibb_set_current_limit()
606 cur_step &= desc->csel_mask; in qcom_labibb_get_current_limit()
706 .csel_mask = LAB_CURRENT_LIMIT_MASK,
737 .csel_mask = IBB_CURRENT_LIMIT_MASK,
Dqcom_usb_vbus-regulator.c74 qcom_usb_vbus_rdesc.csel_mask = OTG_CURRENT_LIMIT_MASK; in qcom_usb_vbus_regulator_probe()
Dlp873x-regulator.c37 .csel_mask = LP873X_BUCK0_CTRL_2_BUCK0_ILIM,\
Dwm831x-isink.c152 isink->desc.csel_mask = WM831X_CS1_ISEL_MASK, in wm831x_isink_probe()
Dlp87565-regulator.c49 .csel_mask = LP87565_BUCK_CTRL_2_ILIM, \
Dda9210-regulator.c67 .csel_mask = DA9210_BUCK_ILIM_MASK,
Dpf8x00-regulator.c427 .csel_mask = PF8X00_SWXILIM_MASK, \
459 .csel_mask = PF8X00_SWXILIM_MASK, \
Dmp5416.c65 .csel_mask = MP5416_MASK_BUCK ## _id ##_ILIM, \
Dtps65219-regulator.c108 .csel_mask = _cm, \
Dpv88060-regulator.c165 .csel_mask = PV88060_BUCK_ILIM_MASK,\
Dpv88090-regulator.c181 .csel_mask = PV88090_##regl_name##_ILIM_MASK, \
Dlp872x.c655 .csel_mask = LP8725_BUCK_CL_M,
671 .csel_mask = LP8725_BUCK_CL_M,
Dwm8350-regulator.c1072 .csel_mask = WM8350_CS1_ISEL_MASK,
1084 .csel_mask = WM8350_CS2_ISEL_MASK,
Dtps6594-regulator.c96 .csel_mask = _cm, \
Dpv88080-regulator.c475 pv88080_regulator_info[i].desc.csel_mask in pv88080_i2c_probe()
Dda9055-regulator.c380 .csel_mask = (mbits),\
/linux-6.6.21/include/linux/regulator/
Ddriver.h401 unsigned int csel_mask; member

12