Searched refs:level_count (Results 1 – 5 of 5) sorted by relevance
51 size_t level_count; member427 for (i = 0; i < pd->level_count; i++) in rpmhpd_set_performance_state()435 if (i == pd->level_count) in rpmhpd_set_performance_state()462 buf = cmd_db_read_aux_data(rpmhpd->res_name, &rpmhpd->level_count); in rpmhpd_update_level_mapping()467 rpmhpd->level_count >>= 1; in rpmhpd_update_level_mapping()469 if (rpmhpd->level_count > RPMH_ARC_MAX_LEVELS) in rpmhpd_update_level_mapping()472 for (i = 0; i < rpmhpd->level_count; i++) { in rpmhpd_update_level_mapping()480 rpmhpd->level_count = i; in rpmhpd_update_level_mapping()
1592 uint32_t level_count = 0, freq = 0; in navi10_get_clock_by_type_with_latency() local1600 ret = smu_v11_0_get_dpm_level_count(smu, clk_type, &level_count); in navi10_get_clock_by_type_with_latency()1604 level_count = min(level_count, (uint32_t)MAX_NUM_CLOCKS); in navi10_get_clock_by_type_with_latency()1605 clocks->num_levels = level_count; in navi10_get_clock_by_type_with_latency()1607 for (i = 0; i < level_count; i++) { in navi10_get_clock_by_type_with_latency()
2077 uint32_t level_count = 0; in smu_v11_0_get_dpm_level_range() local2096 &level_count); in smu_v11_0_get_dpm_level_range()2102 level_count - 1, in smu_v11_0_get_dpm_level_range()
1835 uint32_t level_count = 0; in smu_v13_0_get_dpm_level_range() local1854 &level_count); in smu_v13_0_get_dpm_level_range()1860 level_count - 1, in smu_v13_0_get_dpm_level_range()
1156 unsigned int level_count, flags; in hidpp20_batterylevel_get_battery_info() local1169 level_count = params[0]; in hidpp20_batterylevel_get_battery_info()1172 if (level_count < 10 || !(flags & FLAG_BATTERY_LEVEL_MILEAGE)) in hidpp20_batterylevel_get_battery_info()