Home
last modified time | relevance | path

Searched refs:num_discrete_levels (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dnavi10_ppt.c2269 uint32_t num_discrete_levels = 0; in navi10_get_uclk_dpm_states() local
2279 num_discrete_levels = driver_ppt->DpmDescriptor[PPCLK_UCLK].NumDiscreteLevels; in navi10_get_uclk_dpm_states()
2282 if (num_discrete_levels == 0 || dpm_levels == NULL) in navi10_get_uclk_dpm_states()
2285 *num_states = num_discrete_levels; in navi10_get_uclk_dpm_states()
2286 for (i = 0; i < num_discrete_levels; i++) { in navi10_get_uclk_dpm_states()
H A Dsienna_cichlid_ppt.c1998 uint32_t num_discrete_levels = 0; in sienna_cichlid_get_uclk_dpm_states() local
2009 num_discrete_levels = table_member1[PPCLK_UCLK].NumDiscreteLevels; in sienna_cichlid_get_uclk_dpm_states()
2013 if (num_discrete_levels == 0 || dpm_levels == NULL) in sienna_cichlid_get_uclk_dpm_states()
2016 *num_states = num_discrete_levels; in sienna_cichlid_get_uclk_dpm_states()
2017 for (i = 0; i < num_discrete_levels; i++) { in sienna_cichlid_get_uclk_dpm_states()