Searched refs:num_opps (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.6/drivers/thermal/ |
D | devfreq_cooling.c | 318 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/ |
D | spc.c | 106 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/ |
D | dcn31_hwseq.c | 194 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/ |
D | dcn201_hwseq.c | 169 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/ |
D | dcn32_hwseq.c | 1504 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/ |
D | dcn20_hwseq.c | 295 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/ |
D | dcn10_hw_sequencer.c | 1435 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/ |
D | dc.c | 1082 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()
|