Home
last modified time | relevance | path

Searched refs:level_count (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/pmdomain/qcom/
Drpmhpd.c56 size_t level_count; member
705 this_active_corner = pd->level_count - 1; in rpmhpd_aggregate_corner()
706 this_sleep_corner = pd->level_count - 1; in rpmhpd_aggregate_corner()
783 for (i = 0; i < pd->level_count; i++) in rpmhpd_set_performance_state()
791 if (i == pd->level_count) in rpmhpd_set_performance_state()
814 buf = cmd_db_read_aux_data(rpmhpd->res_name, &rpmhpd->level_count); in rpmhpd_update_level_mapping()
819 rpmhpd->level_count >>= 1; in rpmhpd_update_level_mapping()
821 if (rpmhpd->level_count > RPMH_ARC_MAX_LEVELS) in rpmhpd_update_level_mapping()
824 for (i = 0; i < rpmhpd->level_count; i++) { in rpmhpd_update_level_mapping()
839 rpmhpd->level_count = i; in rpmhpd_update_level_mapping()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c1803 uint32_t level_count = 0, freq = 0; in navi10_get_clock_by_type_with_latency() local
1811 ret = smu_v11_0_get_dpm_level_count(smu, clk_type, &level_count); in navi10_get_clock_by_type_with_latency()
1815 level_count = min(level_count, (uint32_t)MAX_NUM_CLOCKS); in navi10_get_clock_by_type_with_latency()
1816 clocks->num_levels = level_count; in navi10_get_clock_by_type_with_latency()
1818 for (i = 0; i < level_count; i++) { in navi10_get_clock_by_type_with_latency()
Dsmu_v11_0.c2048 uint32_t level_count = 0; in smu_v11_0_get_dpm_level_range() local
2067 &level_count); in smu_v11_0_get_dpm_level_range()
2073 level_count - 1, in smu_v11_0_get_dpm_level_range()
/linux-6.12.1/drivers/hid/
Dhid-logitech-hidpp.c1277 unsigned int level_count, flags; in hidpp20_batterylevel_get_battery_info() local
1290 level_count = params[0]; in hidpp20_batterylevel_get_battery_info()
1293 if (level_count < 10 || !(flags & FLAG_BATTERY_LEVEL_MILEAGE)) in hidpp20_batterylevel_get_battery_info()