dcdcfreq         1005 drivers/regulator/axp20x-regulator.c static int axp20x_set_dcdc_freq(struct platform_device *pdev, u32 dcdcfreq)
dcdcfreq         1050 drivers/regulator/axp20x-regulator.c 	if (dcdcfreq == 0)
dcdcfreq         1051 drivers/regulator/axp20x-regulator.c 		dcdcfreq = def;
dcdcfreq         1053 drivers/regulator/axp20x-regulator.c 	if (dcdcfreq < min) {
dcdcfreq         1054 drivers/regulator/axp20x-regulator.c 		dcdcfreq = min;
dcdcfreq         1059 drivers/regulator/axp20x-regulator.c 	if (dcdcfreq > max) {
dcdcfreq         1060 drivers/regulator/axp20x-regulator.c 		dcdcfreq = max;
dcdcfreq         1065 drivers/regulator/axp20x-regulator.c 	dcdcfreq = (dcdcfreq - min) / step;
dcdcfreq         1068 drivers/regulator/axp20x-regulator.c 				  AXP20X_FREQ_DCDC_MASK, dcdcfreq);
dcdcfreq         1075 drivers/regulator/axp20x-regulator.c 	u32 dcdcfreq = 0;
dcdcfreq         1085 drivers/regulator/axp20x-regulator.c 		of_property_read_u32(regulators, "x-powers,dcdc-freq", &dcdcfreq);
dcdcfreq         1086 drivers/regulator/axp20x-regulator.c 		ret = axp20x_set_dcdc_freq(pdev, dcdcfreq);