Lines Matching full:pl
547 struct sumo_pl *pl, u32 index) in sumo_program_power_level() argument
555 pl->sclk, false, ÷rs); in sumo_program_power_level()
561 sumo_set_vid(rdev, index, pl->vddc_index); in sumo_program_power_level()
563 if (pl->ss_divider_index == 0 || pl->ds_divider_index == 0) { in sumo_program_power_level()
567 sumo_set_ss_dividers(rdev, index, pl->ss_divider_index); in sumo_program_power_level()
568 sumo_set_ds_dividers(rdev, index, pl->ds_divider_index); in sumo_program_power_level()
574 sumo_set_allos_gnb_slow(rdev, index, pl->allow_gnb_slow); in sumo_program_power_level()
577 sumo_set_tdp_limit(rdev, index, pl->sclk_dpm_tdp_limit); in sumo_program_power_level()
1435 struct sumo_pl *pl = &ps->levels[index]; in sumo_parse_pplib_clock_info() local
1440 pl->sclk = sclk; in sumo_parse_pplib_clock_info()
1441 pl->vddc_index = clock_info->sumo.vddcIndex; in sumo_parse_pplib_clock_info()
1442 pl->sclk_dpm_tdp_limit = clock_info->sumo.tdpLimit; in sumo_parse_pplib_clock_info()
1447 pl->ds_divider_index = 5; in sumo_parse_pplib_clock_info()
1448 pl->ss_divider_index = 4; in sumo_parse_pplib_clock_info()
1804 struct sumo_pl *pl = &ps->levels[i]; in sumo_dpm_print_power_state() local
1806 i, pl->sclk, in sumo_dpm_print_power_state()
1807 sumo_convert_voltage_index_to_value(rdev, pl->vddc_index)); in sumo_dpm_print_power_state()
1818 struct sumo_pl *pl; in sumo_dpm_debugfs_print_current_performance_level() local
1824 pl = &pi->boost_pl; in sumo_dpm_debugfs_print_current_performance_level()
1827 current_index, pl->sclk, in sumo_dpm_debugfs_print_current_performance_level()
1828 sumo_convert_voltage_index_to_value(rdev, pl->vddc_index)); in sumo_dpm_debugfs_print_current_performance_level()
1832 pl = &ps->levels[current_index]; in sumo_dpm_debugfs_print_current_performance_level()
1835 current_index, pl->sclk, in sumo_dpm_debugfs_print_current_performance_level()
1836 sumo_convert_voltage_index_to_value(rdev, pl->vddc_index)); in sumo_dpm_debugfs_print_current_performance_level()
1845 struct sumo_pl *pl; in sumo_dpm_get_current_sclk() local
1851 pl = &pi->boost_pl; in sumo_dpm_get_current_sclk()
1852 return pl->sclk; in sumo_dpm_get_current_sclk()
1856 pl = &ps->levels[current_index]; in sumo_dpm_get_current_sclk()
1857 return pl->sclk; in sumo_dpm_get_current_sclk()
1873 struct sumo_pl *pl; in sumo_dpm_get_current_vddc() local
1879 pl = &pi->boost_pl; in sumo_dpm_get_current_vddc()
1883 pl = &ps->levels[current_index]; in sumo_dpm_get_current_vddc()
1885 return sumo_convert_voltage_index_to_value(rdev, pl->vddc_index); in sumo_dpm_get_current_vddc()