Home
last modified time | relevance | path

Searched refs:opp_count (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/devfreq/
Dimx8m-ddrc.c335 int i, opp_count; in imx8m_ddrc_check_opps() local
338 opp_count = dev_pm_opp_get_opp_count(dev); in imx8m_ddrc_check_opps()
339 if (opp_count < 0) in imx8m_ddrc_check_opps()
340 return opp_count; in imx8m_ddrc_check_opps()
341 for (i = 0, freq = 0; i < opp_count; ++i, ++freq) { in imx8m_ddrc_check_opps()
/linux-6.1.9/drivers/soc/mediatek/
Dmtk-svs.c457 u32 opp_count; member
522 for (i = 0; i < svsb->opp_count; i++) { in svs_sync_bank_volts_from_opp()
558 opp_stop = svsb->opp_count; in svs_adjust_pm_opp_volts()
561 opp_stop = svsb->opp_count; in svs_adjust_pm_opp_volts()
582 opp_stop = svsb->opp_count; in svs_adjust_pm_opp_volts()
756 for (i = 0; i < svsb->opp_count; i++) { in svs_status_debug_show()
865 u32 middle_index = (svsb->opp_count / 2); in svs_get_bank_volts_v3()
887 j = svsb->opp_count - 7; in svs_get_bank_volts_v3()
890 for (i = j; i < svsb->opp_count; i++) { in svs_get_bank_volts_v3()
929 for (i = turn_pt; i < svsb->opp_count; i++) { in svs_get_bank_volts_v3()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/
Ddcn314_hwseq.c162 unsigned int opp_count = 1; in get_odm_config() local
176 opp_instances[opp_count] = odm_pipe->stream_res.opp->inst; in get_odm_config()
177 opp_count++; in get_odm_config()
180 return opp_count; in get_odm_config()
Ddcn314_optc.c103 optc1->opp_count = opp_cnt; in optc314_set_odm_combine()
184 optc1->opp_count = 1; in optc314_set_odm_bypass()
/linux-6.1.9/drivers/firmware/arm_scmi/
Dperf.c131 u32 opp_count; member
294 p->perf_dom->opp_count++; in iter_perf_levels_process_response()
329 if (perf_dom->opp_count) in scmi_perf_describe_levels_get()
330 sort(perf_dom->opp, perf_dom->opp_count, in scmi_perf_describe_levels_get()
585 for (opp = dom->opp, idx = 0; idx < dom->opp_count; idx++, opp++) { in scmi_dvfs_device_opps_add()
615 return dom->opp[dom->opp_count - 1].trans_latency_us * 1000; in scmi_dvfs_transition_latency_get()
656 for (opp = dom->opp, idx = 0; idx < dom->opp_count; idx++, opp++) { in scmi_dvfs_est_power_get()
/linux-6.1.9/drivers/memory/samsung/
Dexynos5422-dmc.c164 int opp_count; member
293 for (i = dmc->opp_count - 1; i >= 0; i--) in find_target_freq_idx()
352 dmc->opp_count = dev_pm_opp_get_opp_count(dmc->dev); in exynos5_init_freq_table()
354 dmc->opp = devm_kmalloc_array(dmc->dev, dmc->opp_count, in exynos5_init_freq_table()
359 idx = dmc->opp_count - 1; in exynos5_init_freq_table()
360 for (i = 0, freq = ULONG_MAX; i < dmc->opp_count; i++, freq--) { in exynos5_init_freq_table()
419 for (idx = dmc->opp_count - 1; idx >= 0; idx--) in exynos5_dram_change_timings()
1018 aligned_freq = dmc->opp[dmc->opp_count - 1].freq_hz; in exynos5_dmc_align_init_freq()
1226 for (idx = 0; idx < dmc->opp_count; idx++) { in of_get_dram_timings()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_optc.c178 optc1->opp_count = 1; in optc2_set_odm_bypass()
219 optc1->opp_count = opp_cnt; in optc2_set_odm_combine()
429 (h_blank_start - 200 - 1) / optc1->opp_count, in optc2_lock_doublebuffer_enable()
Ddcn20_hwseq.c1516 int opp_count = dc->res_pool->pipe_count; in dcn20_update_dchubp_dpp() local
1518 for (opp_inst = 0; opp_inst < opp_count; opp_inst++) { in dcn20_update_dchubp_dpp()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_optc.c91 optc1->opp_count = opp_cnt; in optc31_set_odm_combine()
232 optc1->opp_count = 1; in optc3_init_odm()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_optc.c98 optc1->opp_count = opp_cnt; in optc32_set_odm_combine()
190 optc1->opp_count = 1; in optc32_set_odm_bypass()
Ddcn32_hwseq.c1084 unsigned int opp_count = 1; in get_odm_config() local
1098 opp_instances[opp_count] = odm_pipe->stream_res.opp->inst; in get_odm_config()
1099 opp_count++; in get_odm_config()
1102 return opp_count; in get_odm_config()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_optc.c207 optc1->opp_count = 1; in optc3_set_odm_bypass()
265 optc1->opp_count = opp_cnt; in optc3_set_odm_combine()
/linux-6.1.9/drivers/firmware/
Darm_scpi.c302 u8 opp_count; member
634 info->count = buf.opp_count; in scpi_dvfs_get_info()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_optc.c286 if (optc1_is_two_pixels_per_containter(&patched_crtc_timing) || optc1->opp_count == 2) in optc1_program_timing()
301 if (optc1->opp_count == 4) in optc1_program_timing()
Ddcn10_optc.h544 int opp_count; member