Home
last modified time | relevance | path

Searched refs:workmode (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/regulator/
Daxp20x-regulator.c306 static int axp20x_set_dcdc_workmode(struct regulator_dev *rdev, int id, u32 workmode) in axp20x_set_dcdc_workmode() argument
321 workmode <<= ffs(mask) - 1; in axp20x_set_dcdc_workmode()
329 workmode <<= id - AXP22X_DCDC1; in axp20x_set_dcdc_workmode()
338 return regmap_update_bits(rdev->regmap, AXP20X_DCDC_MODE, mask, workmode); in axp20x_set_dcdc_workmode()
352 u32 workmode; in axp20x_regulator_probe() local
416 &workmode); in axp20x_regulator_probe()
418 if (axp20x_set_dcdc_workmode(rdev, i, workmode)) in axp20x_regulator_probe()
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Daxp20x.txt32 - x-powers,dcdc-workmode: 1 for PWM mode, 0 for AUTO (PWM/PFM) mode