Lines Matching refs:pmic
101 switch (wm8350->pmic.isink_A_dcdc) { in wm8350_isink_enable()
109 1 << (wm8350->pmic.isink_A_dcdc - in wm8350_isink_enable()
117 switch (wm8350->pmic.isink_B_dcdc) { in wm8350_isink_enable()
125 1 << (wm8350->pmic.isink_B_dcdc - in wm8350_isink_enable()
145 switch (wm8350->pmic.isink_A_dcdc) { in wm8350_isink_disable()
149 1 << (wm8350->pmic.isink_A_dcdc - in wm8350_isink_disable()
159 switch (wm8350->pmic.isink_B_dcdc) { in wm8350_isink_disable()
163 1 << (wm8350->pmic.isink_B_dcdc - in wm8350_isink_disable()
311 val | wm8350->pmic.dcdc1_hib_mode); in wm8350_dcdc_set_suspend_enable()
317 val | wm8350->pmic.dcdc3_hib_mode); in wm8350_dcdc_set_suspend_enable()
323 val | wm8350->pmic.dcdc4_hib_mode); in wm8350_dcdc_set_suspend_enable()
329 val | wm8350->pmic.dcdc6_hib_mode); in wm8350_dcdc_set_suspend_enable()
349 wm8350->pmic.dcdc1_hib_mode = val & WM8350_DCDC_HIB_MODE_MASK; in wm8350_dcdc_set_suspend_disable()
355 wm8350->pmic.dcdc3_hib_mode = val & WM8350_DCDC_HIB_MODE_MASK; in wm8350_dcdc_set_suspend_disable()
361 wm8350->pmic.dcdc4_hib_mode = val & WM8350_DCDC_HIB_MODE_MASK; in wm8350_dcdc_set_suspend_disable()
367 wm8350->pmic.dcdc6_hib_mode = val & WM8350_DCDC_HIB_MODE_MASK; in wm8350_dcdc_set_suspend_disable()
439 hib_mode = &wm8350->pmic.dcdc1_hib_mode; in wm8350_dcdc_set_suspend_mode()
442 hib_mode = &wm8350->pmic.dcdc3_hib_mode; in wm8350_dcdc_set_suspend_mode()
445 hib_mode = &wm8350->pmic.dcdc4_hib_mode; in wm8350_dcdc_set_suspend_mode()
448 hib_mode = &wm8350->pmic.dcdc6_hib_mode; in wm8350_dcdc_set_suspend_mode()
1119 wm8350->pmic.dcdc1_hib_mode = val & WM8350_DCDC_HIB_MODE_MASK; in wm8350_regulator_probe()
1123 wm8350->pmic.dcdc3_hib_mode = val & WM8350_DCDC_HIB_MODE_MASK; in wm8350_regulator_probe()
1127 wm8350->pmic.dcdc4_hib_mode = val & WM8350_DCDC_HIB_MODE_MASK; in wm8350_regulator_probe()
1131 wm8350->pmic.dcdc6_hib_mode = val & WM8350_DCDC_HIB_MODE_MASK; in wm8350_regulator_probe()
1179 if (wm8350->pmic.pdev[reg]) in wm8350_register_regulator()
1183 reg > wm8350->pmic.max_dcdc) in wm8350_register_regulator()
1186 reg > wm8350->pmic.max_isink) in wm8350_register_regulator()
1193 wm8350->pmic.pdev[reg] = pdev; in wm8350_register_regulator()
1207 wm8350->pmic.pdev[reg] = NULL; in wm8350_register_regulator()
1237 if (lednum >= ARRAY_SIZE(wm8350->pmic.led) || lednum < 0) { in wm8350_register_led()
1242 led = &wm8350->pmic.led[lednum]; 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()