Home
last modified time | relevance | path

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

/linux/drivers/regulator/
H A Daxp20x-regulator.c1316 static int axp20x_set_dcdc_freq(struct platform_device *pdev, u32 dcdcfreq) in axp20x_set_dcdc_freq() argument
1360 if (dcdcfreq != 0) { in axp20x_set_dcdc_freq()
1373 if (dcdcfreq == 0) in axp20x_set_dcdc_freq()
1374 dcdcfreq = def; in axp20x_set_dcdc_freq()
1376 if (dcdcfreq < min) { in axp20x_set_dcdc_freq()
1377 dcdcfreq = min; in axp20x_set_dcdc_freq()
1382 if (dcdcfreq > max) { in axp20x_set_dcdc_freq()
1383 dcdcfreq = max; in axp20x_set_dcdc_freq()
1388 dcdcfreq = (dcdcfreq - min) / step; in axp20x_set_dcdc_freq()
1391 AXP20X_FREQ_DCDC_MASK, dcdcfreq); in axp20x_set_dcdc_freq()
[all …]