Lines Matching refs:dcdc

266 	int sel, volt_reg, dcdc = rdev_get_id(rdev);  in wm8350_dcdc_set_suspend_voltage()  local
269 dev_dbg(wm8350->dev, "%s %d mV %d\n", __func__, dcdc, uV / 1000); in wm8350_dcdc_set_suspend_voltage()
271 switch (dcdc) { in wm8350_dcdc_set_suspend_voltage()
303 int dcdc = rdev_get_id(rdev); in wm8350_dcdc_set_suspend_enable() local
306 switch (dcdc) { in wm8350_dcdc_set_suspend_enable()
343 int dcdc = rdev_get_id(rdev); in wm8350_dcdc_set_suspend_disable() local
346 switch (dcdc) { in wm8350_dcdc_set_suspend_disable()
383 int dcdc = rdev_get_id(rdev); in wm8350_dcdc25_set_suspend_enable() local
386 switch (dcdc) { in wm8350_dcdc25_set_suspend_enable()
408 int dcdc = rdev_get_id(rdev); in wm8350_dcdc25_set_suspend_disable() local
411 switch (dcdc) { in wm8350_dcdc25_set_suspend_disable()
434 int dcdc = rdev_get_id(rdev); in wm8350_dcdc_set_suspend_mode() local
437 switch (dcdc) { in wm8350_dcdc_set_suspend_mode()
571 int wm8350_dcdc_set_slot(struct wm8350 *wm8350, int dcdc, u16 start, in wm8350_dcdc_set_slot() argument
578 __func__, dcdc, start, stop); in wm8350_dcdc_set_slot()
584 switch (dcdc) { in wm8350_dcdc_set_slot()
654 int wm8350_dcdc25_set_mode(struct wm8350 *wm8350, int dcdc, u16 mode, in wm8350_dcdc25_set_mode() argument
659 dev_dbg(wm8350->dev, "%s %d mode: %s %s\n", __func__, dcdc, in wm8350_dcdc25_set_mode()
662 switch (dcdc) { in wm8350_dcdc25_set_mode()
691 static int force_continuous_enable(struct wm8350 *wm8350, int dcdc, int enable) in force_continuous_enable() argument
695 switch (dcdc) { in force_continuous_enable()
724 int dcdc = rdev_get_id(rdev); in wm8350_dcdc_set_mode() local
727 if (dcdc < WM8350_DCDC_1 || dcdc > WM8350_DCDC_6) in wm8350_dcdc_set_mode()
730 if (dcdc == WM8350_DCDC_2 || dcdc == WM8350_DCDC_5) in wm8350_dcdc_set_mode()
733 val = 1 << (dcdc - WM8350_DCDC_1); in wm8350_dcdc_set_mode()
740 force_continuous_enable(wm8350, dcdc, 1); in wm8350_dcdc_set_mode()
746 force_continuous_enable(wm8350, dcdc, 0); in wm8350_dcdc_set_mode()
750 force_continuous_enable(wm8350, dcdc, 0); in wm8350_dcdc_set_mode()
756 force_continuous_enable(wm8350, dcdc, 0); in wm8350_dcdc_set_mode()
767 int dcdc = rdev_get_id(rdev); in wm8350_dcdc_get_mode() local
772 switch (dcdc) { in wm8350_dcdc_get_mode()
789 mask = 1 << (dcdc - WM8350_DCDC_1); in wm8350_dcdc_get_mode()
855 int dcdc = rdev_get_id(rdev), mode; in wm8350_dcdc_get_optimum_mode() local
857 switch (dcdc) { in wm8350_dcdc_get_optimum_mode()
1230 int wm8350_register_led(struct wm8350 *wm8350, int lednum, int dcdc, int isink, in wm8350_register_led() argument
1276 ret = wm8350_register_regulator(wm8350, dcdc, &led->dcdc_init); in wm8350_register_led()
1284 wm8350->pmic.isink_A_dcdc = dcdc; in wm8350_register_led()
1287 wm8350->pmic.isink_B_dcdc = dcdc; in wm8350_register_led()