Lines Matching refs:ldo
663 int volt_reg, mV = uV / 1000, ldo = rdev_get_id(rdev); in wm8350_ldo_set_suspend_voltage() local
666 dev_dbg(wm8350->dev, "%s %d mV %d\n", __func__, ldo, mV); in wm8350_ldo_set_suspend_voltage()
670 ldo, mV); in wm8350_ldo_set_suspend_voltage()
674 switch (ldo) { in wm8350_ldo_set_suspend_voltage()
701 int volt_reg, ldo = rdev_get_id(rdev); in wm8350_ldo_set_suspend_enable() local
704 switch (ldo) { in wm8350_ldo_set_suspend_enable()
730 int volt_reg, ldo = rdev_get_id(rdev); in wm8350_ldo_set_suspend_disable() local
733 switch (ldo) { in wm8350_ldo_set_suspend_disable()
760 int volt_reg, ldo = rdev_get_id(rdev), mV, min_mV = min_uV / 1000, in wm8350_ldo_set_voltage() local
783 switch (ldo) { in wm8350_ldo_set_voltage()
811 int volt_reg, ldo = rdev_get_id(rdev); in wm8350_ldo_get_voltage_sel() local
813 switch (ldo) { in wm8350_ldo_get_voltage_sel()
890 int wm8350_ldo_set_slot(struct wm8350 *wm8350, int ldo, u16 start, u16 stop) in wm8350_ldo_set_slot() argument
896 __func__, ldo, start, stop); in wm8350_ldo_set_slot()
902 switch (ldo) { in wm8350_ldo_set_slot()
994 int ldo = rdev_get_id(rdev); in wm8350_ldo_enable() local
997 if (ldo < WM8350_LDO_1 || ldo > WM8350_LDO_4) in wm8350_ldo_enable()
1000 shift = (ldo - WM8350_LDO_1) + 8; in wm8350_ldo_enable()
1008 int ldo = rdev_get_id(rdev); in wm8350_ldo_disable() local
1011 if (ldo < WM8350_LDO_1 || ldo > WM8350_LDO_4) in wm8350_ldo_disable()
1014 shift = (ldo - WM8350_LDO_1) + 8; in wm8350_ldo_disable()
1216 int ldo = rdev_get_id(rdev), shift; in wm8350_ldo_is_enabled() local
1218 if (ldo < WM8350_LDO_1 || ldo > WM8350_LDO_4) in wm8350_ldo_is_enabled()
1221 shift = (ldo - WM8350_LDO_1) + 8; in wm8350_ldo_is_enabled()