Home
last modified time | relevance | path

Searched refs:num_opps (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/thermal/
Ddevfreq_cooling.c318 int num_opps) in devfreq_cooling_gen_tables() argument
325 dfc->freq_table = kcalloc(num_opps, sizeof(*dfc->freq_table), in devfreq_cooling_gen_tables()
330 for (i = 0, freq = ULONG_MAX; i < num_opps; i++, freq--) { in devfreq_cooling_gen_tables()
371 int err, num_opps; in of_devfreq_cooling_register_power() local
395 num_opps = em_pd_nr_perf_states(dfc->em_pd); in of_devfreq_cooling_register_power()
400 num_opps = dev_pm_opp_get_opp_count(dev); in of_devfreq_cooling_register_power()
402 err = devfreq_cooling_gen_tables(dfc, num_opps); in of_devfreq_cooling_register_power()
407 if (num_opps <= 0) { in of_devfreq_cooling_register_power()
413 dfc->max_state = num_opps - 1; in of_devfreq_cooling_register_power()
/linux-6.6.21/arch/arm/mach-versatile/
Dspc.c106 int num_opps[MAX_CLUSTERS]; member
259 if (perf >= info->num_opps[cluster]) in ve_spc_get_performance()
271 int idx, max_opp = info->num_opps[cluster]; in ve_spc_round_performance()
294 int idx, max_opp = info->num_opps[cluster]; in ve_spc_find_performance_index()
414 info->num_opps[cluster] = idx; in ve_spc_populate_opps()
428 max_opp = info->num_opps[cluster]; in ve_init_opp_table()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hwseq.c194 uint32_t num_opps, opp_id_src0, opp_id_src1; in dcn31_init_hw() local
196 num_opps = 1; in dcn31_init_hw()
199 tg->funcs->get_optc_source(tg, &num_opps, in dcn31_init_hw()
204 if (num_opps > 1) { in dcn31_init_hw()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hwseq.c1506 uint32_t num_opps, opp_id_src0, opp_id_src1; in dcn32_init_blank() local
1520 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in dcn32_init_blank()
1534 if (num_opps == 2) { in dcn32_init_blank()
1560 if (num_opps == 2) { in dcn32_init_blank()
1588 uint32_t num_opps, opp_id_src0, opp_id_src1; in dcn32_blank_phantom() local
1600 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in dcn32_blank_phantom()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_hwseq.c169 uint32_t num_opps, opp_id_src0, opp_id_src1; in dcn201_init_blank() local
182 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in dcn201_init_blank()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c295 uint32_t num_opps, opp_id_src0, opp_id_src1; in dcn20_init_blank() local
308 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in dcn20_init_blank()
320 if (num_opps == 2) { in dcn20_init_blank()
340 if (num_opps == 2) { in dcn20_init_blank()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c1437 uint32_t num_opps = 0; in dcn10_init_pipes() local
1457 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in dcn10_init_pipes()