Lines Matching refs:ss_divider_index
561 if (pl->ss_divider_index == 0 || pl->ds_divider_index == 0) { in sumo_program_power_level()
565 sumo_set_ss_dividers(rdev, index, pl->ss_divider_index); in sumo_program_power_level()
1063 ps->levels[0].ss_divider_index = in sumo_patch_thermal_state()
1069 if (ps->levels[0].ds_divider_index > ps->levels[0].ss_divider_index + 1) in sumo_patch_thermal_state()
1070 ps->levels[0].ds_divider_index = ps->levels[0].ss_divider_index + 1; in sumo_patch_thermal_state()
1072 if (ps->levels[0].ss_divider_index == ps->levels[0].ds_divider_index) { in sumo_patch_thermal_state()
1073 if (ps->levels[0].ss_divider_index > 1) in sumo_patch_thermal_state()
1074 ps->levels[0].ss_divider_index = ps->levels[0].ss_divider_index - 1; in sumo_patch_thermal_state()
1077 if (ps->levels[0].ss_divider_index == 0) in sumo_patch_thermal_state()
1081 ps->levels[0].ss_divider_index = 0; in sumo_patch_thermal_state()
1117 ps->levels[i].ss_divider_index = in sumo_apply_state_adjust_rules()
1123 if (ps->levels[i].ds_divider_index > ps->levels[i].ss_divider_index + 1) in sumo_apply_state_adjust_rules()
1124 ps->levels[i].ds_divider_index = ps->levels[i].ss_divider_index + 1; in sumo_apply_state_adjust_rules()
1126 if (ps->levels[i].ss_divider_index == ps->levels[i].ds_divider_index) { in sumo_apply_state_adjust_rules()
1127 if (ps->levels[i].ss_divider_index > 1) in sumo_apply_state_adjust_rules()
1128 ps->levels[i].ss_divider_index = ps->levels[i].ss_divider_index - 1; in sumo_apply_state_adjust_rules()
1131 if (ps->levels[i].ss_divider_index == 0) in sumo_apply_state_adjust_rules()
1135 ps->levels[i].ss_divider_index = 0; in sumo_apply_state_adjust_rules()
1446 pl->ss_divider_index = 4; in sumo_parse_pplib_clock_info()
1735 pi->boot_pl.ss_divider_index = 0; in sumo_construct_boot_and_acpi_state()