Searched refs:num_opps (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/drivers/thermal/ |
| D | devfreq_cooling.c | 423 int ret, num_opps; in devfreq_cooling_gen_tables() local 429 num_opps = dev_pm_opp_get_opp_count(dev); in devfreq_cooling_gen_tables() 432 power_table = kcalloc(num_opps, sizeof(*power_table), in devfreq_cooling_gen_tables() 438 freq_table = kcalloc(num_opps, sizeof(*freq_table), in devfreq_cooling_gen_tables() 445 for (i = 0, freq = ULONG_MAX; i < num_opps; i++, freq--) { in devfreq_cooling_gen_tables() 477 dfc->freq_table_size = num_opps; in devfreq_cooling_gen_tables()
|
| D | cpu_cooling.c | 139 int num_opps = 0, cpu = cpufreq_cdev->policy->cpu, i; in update_freq_table() local 147 num_opps = dev_pm_opp_get_opp_count(dev); in update_freq_table() 148 if (num_opps < 0) in update_freq_table() 149 return num_opps; in update_freq_table() 155 if (num_opps != cpufreq_cdev->max_level + 1) { in update_freq_table()
|
| /Linux-v5.4/arch/arm/mach-vexpress/ |
| D | spc.c | 114 int num_opps[MAX_CLUSTERS]; member 267 if (perf >= info->num_opps[cluster]) in ve_spc_get_performance() 279 int idx, max_opp = info->num_opps[cluster]; in ve_spc_round_performance() 302 int idx, max_opp = info->num_opps[cluster]; in ve_spc_find_performance_index() 422 info->num_opps[cluster] = idx; in ve_spc_populate_opps() 436 max_opp = info->num_opps[cluster]; in ve_init_opp_table()
|
| /Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/ |
| D | dcn20_hwseq.c | 202 uint32_t num_opps, opp_id_src0, opp_id_src1; in dcn20_init_blank() local 215 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in dcn20_init_blank() 219 if (num_opps == 2) { in dcn20_init_blank() 233 if (num_opps == 2) { in dcn20_init_blank()
|