Home
last modified time | relevance | path

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

12

/linux/drivers/regulator/
H A 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()
H A Dmax77650-regulator.c194 .csel_mask = MAX77650_REGULATOR_CURR_LIM_MASK,
224 .csel_mask = MAX77650_REGULATOR_CURR_LIM_MASK,
257 .csel_mask = MAX77650_REGULATOR_CURR_LIM_MASK,
287 .csel_mask = MAX77650_REGULATOR_CURR_LIM_MASK,
317 .csel_mask = MAX77650_REGULATOR_CURR_LIM_MASK,
H A 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,
H A 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()
H A 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,
H A Dmax8998.c413 sel <<= ffs(rdev->desc->csel_mask) - 1; in max8998_set_current_limit()
416 sel, rdev->desc->csel_mask); in max8998_set_current_limit()
430 val &= rdev->desc->csel_mask; in max8998_get_current_limit()
431 val >>= ffs(rdev->desc->csel_mask) - 1; in max8998_get_current_limit()
499 .csel_mask = _mask, \
H A Dmpq7920.c40 .csel_mask = MPQ7920_MASK_BUCK_ILIM, \
69 .csel_mask = _cmask, \
H A 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,
H A Dhelpers.c853 sel <<= ffs(rdev->desc->csel_mask) - 1; in regulator_set_current_limit_regmap()
856 rdev->desc->csel_mask, sel); in regulator_set_current_limit_regmap()
878 val &= rdev->desc->csel_mask; in regulator_get_current_limit_regmap()
879 val >>= ffs(rdev->desc->csel_mask) - 1; in regulator_get_current_limit_regmap()
H A Dqcom_usb_vbus-regulator.c74 qcom_usb_vbus_rdesc.csel_mask = OTG_CURRENT_LIMIT_MASK; in qcom_usb_vbus_regulator_probe()
H A Dmax77503-regulator.c73 .csel_mask = MAX77503_BIT_CURR_LIM,
H A Dlp873x-regulator.c38 .csel_mask = LP873X_BUCK0_CTRL_2_BUCK0_ILIM,\
H A Dlp87565-regulator.c50 .csel_mask = LP87565_BUCK_CTRL_2_ILIM, \
H A Dda9210-regulator.c67 .csel_mask = DA9210_BUCK_ILIM_MASK,
H A Dwm831x-isink.c152 isink->desc.csel_mask = WM831X_CS1_ISEL_MASK; in wm831x_isink_probe()
H A Dpf8x00-regulator.c427 .csel_mask = PF8X00_SWXILIM_MASK, \
459 .csel_mask = PF8X00_SWXILIM_MASK, \
H A Dmp5416.c65 .csel_mask = MP5416_MASK_BUCK ## _id ##_ILIM, \
H A Dtps65219-regulator.c108 .csel_mask = _cm, \
H A Dpv88060-regulator.c165 .csel_mask = PV88060_BUCK_ILIM_MASK,\
H A Dpv88090-regulator.c181 .csel_mask = PV88090_##regl_name##_ILIM_MASK, \
H A Dlp872x.c655 .csel_mask = LP8725_BUCK_CL_M,
671 .csel_mask = LP8725_BUCK_CL_M,
H A Dwm8350-regulator.c1072 .csel_mask = WM8350_CS1_ISEL_MASK,
1084 .csel_mask = WM8350_CS2_ISEL_MASK,
H A Dpv88080-regulator.c443 pv88080_regulator_info[i].desc.csel_mask in pv88080_i2c_probe()
H A Dda9055-regulator.c379 .csel_mask = (mbits),\
/linux/include/linux/regulator/
H A Ddriver.h399 unsigned int csel_mask; member

12