Lines Matching refs:subgroup
556 static u64 pm_translate_signal_group_number_on_island2(u64 subgroup) in pm_translate_signal_group_number_on_island2() argument
559 if (subgroup == 2) in pm_translate_signal_group_number_on_island2()
560 subgroup = 3; in pm_translate_signal_group_number_on_island2()
562 if (subgroup <= 6) in pm_translate_signal_group_number_on_island2()
563 return PM_ISLAND2_BASE_SIGNAL_GROUP_NUMBER + subgroup; in pm_translate_signal_group_number_on_island2()
564 else if (subgroup == 7) in pm_translate_signal_group_number_on_island2()
570 static u64 pm_translate_signal_group_number_on_island3(u64 subgroup) in pm_translate_signal_group_number_on_island3() argument
573 switch (subgroup) { in pm_translate_signal_group_number_on_island3()
577 subgroup += 2; in pm_translate_signal_group_number_on_island3()
580 subgroup = 8; in pm_translate_signal_group_number_on_island3()
585 return PM_ISLAND3_BASE_SIGNAL_GROUP_NUMBER + subgroup; in pm_translate_signal_group_number_on_island3()
588 static u64 pm_translate_signal_group_number_on_island4(u64 subgroup) in pm_translate_signal_group_number_on_island4() argument
590 return PM_ISLAND4_BASE_SIGNAL_GROUP_NUMBER + subgroup; in pm_translate_signal_group_number_on_island4()
593 static u64 pm_translate_signal_group_number_on_island5(u64 subgroup) in pm_translate_signal_group_number_on_island5() argument
596 switch (subgroup) { in pm_translate_signal_group_number_on_island5()
598 subgroup = 4; in pm_translate_signal_group_number_on_island5()
601 subgroup = 6; in pm_translate_signal_group_number_on_island5()
606 return PM_ISLAND5_BASE_SIGNAL_GROUP_NUMBER + subgroup; in pm_translate_signal_group_number_on_island5()
609 static u64 pm_translate_signal_group_number_on_island6(u64 subgroup, in pm_translate_signal_group_number_on_island6() argument
612 switch (subgroup) { in pm_translate_signal_group_number_on_island6()
616 subgroup += 1; in pm_translate_signal_group_number_on_island6()
643 if (subgroup <= 5) in pm_translate_signal_group_number_on_island6()
644 return (PM_ISLAND6_BASE_SIGNAL_GROUP_NUMBER + subgroup); in pm_translate_signal_group_number_on_island6()
646 return (PM_ISLAND6_BASE_SIGNAL_GROUP_NUMBER + subgroup in pm_translate_signal_group_number_on_island6()
650 static u64 pm_translate_signal_group_number_on_island7(u64 subgroup) in pm_translate_signal_group_number_on_island7() argument
652 return PM_ISLAND7_BASE_SIGNAL_GROUP_NUMBER + subgroup; in pm_translate_signal_group_number_on_island7()
655 static u64 pm_translate_signal_group_number_on_island8(u64 subgroup) in pm_translate_signal_group_number_on_island8() argument
657 return PM_ISLAND8_BASE_SIGNAL_GROUP_NUMBER + subgroup; in pm_translate_signal_group_number_on_island8()
663 u64 subgroup; in pm_signal_group_to_ps3_lv1_signal_group() local
666 subgroup = 0; in pm_signal_group_to_ps3_lv1_signal_group()
673 subgroup = group - 20; in pm_signal_group_to_ps3_lv1_signal_group()
676 subgroup = group - 30; in pm_signal_group_to_ps3_lv1_signal_group()
679 subgroup = group - 40; in pm_signal_group_to_ps3_lv1_signal_group()
682 subgroup = group - 50; in pm_signal_group_to_ps3_lv1_signal_group()
685 subgroup = group - 60; in pm_signal_group_to_ps3_lv1_signal_group()
688 subgroup = group - 70; in pm_signal_group_to_ps3_lv1_signal_group()
691 subgroup = group - 80; in pm_signal_group_to_ps3_lv1_signal_group()
695 subgroup = group - 200; in pm_signal_group_to_ps3_lv1_signal_group()
698 subgroup = 5; in pm_signal_group_to_ps3_lv1_signal_group()
703 subgroup = 5; in pm_signal_group_to_ps3_lv1_signal_group()
709 return pm_translate_signal_group_number_on_island2(subgroup); in pm_signal_group_to_ps3_lv1_signal_group()
711 return pm_translate_signal_group_number_on_island3(subgroup); in pm_signal_group_to_ps3_lv1_signal_group()
713 return pm_translate_signal_group_number_on_island4(subgroup); in pm_signal_group_to_ps3_lv1_signal_group()
715 return pm_translate_signal_group_number_on_island5(subgroup); in pm_signal_group_to_ps3_lv1_signal_group()
717 return pm_translate_signal_group_number_on_island6(subgroup, in pm_signal_group_to_ps3_lv1_signal_group()
720 return pm_translate_signal_group_number_on_island7(subgroup); in pm_signal_group_to_ps3_lv1_signal_group()
722 return pm_translate_signal_group_number_on_island8(subgroup); in pm_signal_group_to_ps3_lv1_signal_group()