Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hwseq.c1504 uint32_t num_opps, opp_id_src0, opp_id_src1; in dcn32_init_blank() local
1518 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in dcn32_init_blank()
1532 if (num_opps == 2) { in dcn32_init_blank()
1558 if (num_opps == 2) { in dcn32_init_blank()
/Linux-v6.6/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-v6.6/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c1435 uint32_t num_opps = 0; in dcn10_init_pipes() local
1455 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in dcn10_init_pipes()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/core/
Ddc.c1082 uint32_t num_opps, opp_id_src0, opp_id_src1; in phantom_pipe_blank() local
1094 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1); in phantom_pipe_blank()