Lines Matching refs:pmic
22 #include <linux/mfd/wm8350/pmic.h>
200 switch (wm8350->pmic.isink_A_dcdc) {
208 1 << (wm8350->pmic.isink_A_dcdc -
216 switch (wm8350->pmic.isink_B_dcdc) {
224 1 << (wm8350->pmic.isink_B_dcdc -
244 switch (wm8350->pmic.isink_A_dcdc) {
248 1 << (wm8350->pmic.isink_A_dcdc -
258 switch (wm8350->pmic.isink_B_dcdc) {
262 1 << (wm8350->pmic.isink_B_dcdc -
498 wm8350->pmic.dcdc1_hib_mode);
504 wm8350->pmic.dcdc3_hib_mode);
510 wm8350->pmic.dcdc4_hib_mode);
516 wm8350->pmic.dcdc6_hib_mode);
536 wm8350->pmic.dcdc1_hib_mode = val & WM8350_DCDC_HIB_MODE_MASK;
542 wm8350->pmic.dcdc3_hib_mode = val & WM8350_DCDC_HIB_MODE_MASK;
548 wm8350->pmic.dcdc4_hib_mode = val & WM8350_DCDC_HIB_MODE_MASK;
554 wm8350->pmic.dcdc6_hib_mode = val & WM8350_DCDC_HIB_MODE_MASK;
626 hib_mode = &wm8350->pmic.dcdc1_hib_mode;
629 hib_mode = &wm8350->pmic.dcdc3_hib_mode;
632 hib_mode = &wm8350->pmic.dcdc4_hib_mode;
635 hib_mode = &wm8350->pmic.dcdc6_hib_mode;
1412 wm8350->pmic.dcdc1_hib_mode = val & WM8350_DCDC_HIB_MODE_MASK;
1416 wm8350->pmic.dcdc3_hib_mode = val & WM8350_DCDC_HIB_MODE_MASK;
1420 wm8350->pmic.dcdc4_hib_mode = val & WM8350_DCDC_HIB_MODE_MASK;
1424 wm8350->pmic.dcdc6_hib_mode = val & WM8350_DCDC_HIB_MODE_MASK;
1471 if (wm8350->pmic.pdev[reg])
1475 reg > wm8350->pmic.max_dcdc)
1478 reg > wm8350->pmic.max_isink)
1485 wm8350->pmic.pdev[reg] = pdev;
1499 wm8350->pmic.pdev[reg] = NULL;
1529 if (lednum >= ARRAY_SIZE(wm8350->pmic.led) || lednum < 0) {
1534 led = &wm8350->pmic.led[lednum];
1576 wm8350->pmic.isink_A_dcdc = dcdc;
1579 wm8350->pmic.isink_B_dcdc = dcdc;