Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/thermal/
Ddevfreq_cooling.c349 int num_opps) in devfreq_cooling_gen_tables() argument
356 dfc->freq_table = kcalloc(num_opps, sizeof(*dfc->freq_table), in devfreq_cooling_gen_tables()
361 for (i = 0, freq = ULONG_MAX; i < num_opps; i++, freq--) { in devfreq_cooling_gen_tables()
402 int err, num_opps; in of_devfreq_cooling_register_power() local
426 num_opps = em_pd_nr_perf_states(dfc->em_pd); in of_devfreq_cooling_register_power()
431 num_opps = dev_pm_opp_get_opp_count(dev); in of_devfreq_cooling_register_power()
433 err = devfreq_cooling_gen_tables(dfc, num_opps); in of_devfreq_cooling_register_power()
438 if (num_opps <= 0) { in of_devfreq_cooling_register_power()
444 dfc->max_state = num_opps - 1; in of_devfreq_cooling_register_power()
/linux-6.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/hwss/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.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
Ddcn35_hwseq.c221 uint32_t num_opps, opp_id_src0, opp_id_src1; in dcn35_init_hw() local
223 num_opps = 1; in dcn35_init_hw()
226 tg->funcs->get_optc_source(tg, &num_opps, in dcn35_init_hw()
231 if (num_opps > 1) { in dcn35_init_hw()
841 uint32_t num_opps = 0; in dcn35_init_pipes() local
861 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in dcn35_init_pipes()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
Ddcn32_hwseq.c1628 uint32_t num_opps, opp_id_src0, opp_id_src1; in dcn32_init_blank() local
1642 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in dcn32_init_blank()
1656 if (num_opps == 2) { in dcn32_init_blank()
1682 if (num_opps == 2) { in dcn32_init_blank()
1710 uint32_t num_opps, opp_id_src0, opp_id_src1; in dcn32_blank_phantom() local
1722 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in dcn32_blank_phantom()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
Ddcn201_hwseq.c172 uint32_t num_opps, opp_id_src0, opp_id_src1; in dcn201_init_blank() local
185 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in dcn201_init_blank()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn20/
Ddcn20_hwseq.c405 uint32_t num_opps, opp_id_src0, opp_id_src1; in dcn20_init_blank() local
418 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in dcn20_init_blank()
430 if (num_opps == 2) { in dcn20_init_blank()
450 if (num_opps == 2) { in dcn20_init_blank()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
Ddcn10_hwseq.c1501 uint32_t num_opps = 0; in dcn10_init_pipes() local
1521 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in dcn10_init_pipes()