Home
last modified time | relevance | path

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

/linux/drivers/regulator/
H A Daxp20x-regulator.c1304 static int axp20x_set_dcdc_freq(struct platform_device *pdev, u32 dcdcfreq) in axp20x_set_dcdc_freq() argument
1347 if (dcdcfreq != 0) { in axp20x_set_dcdc_freq()
1360 if (dcdcfreq == 0) in axp20x_set_dcdc_freq()
1361 dcdcfreq = def; in axp20x_set_dcdc_freq()
1363 if (dcdcfreq < min) { in axp20x_set_dcdc_freq()
1364 dcdcfreq = min; in axp20x_set_dcdc_freq()
1369 if (dcdcfreq > max) { in axp20x_set_dcdc_freq()
1370 dcdcfreq = max; in axp20x_set_dcdc_freq()
1375 dcdcfreq = (dcdcfreq - min) / step; in axp20x_set_dcdc_freq()
1378 AXP20X_FREQ_DCDC_MASK, dcdcfreq); in axp20x_set_dcdc_freq()
[all …]