Searched refs:opp_count (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/devfreq/ |
H A D | imx8m-ddrc.c | 335 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/drivers/memory/samsung/ |
H A D | exynos5422-dmc.c | 165 int opp_count; member 294 for (i = dmc->opp_count - 1; i >= 0; i--) in find_target_freq_idx() 354 dmc->opp_count = dev_pm_opp_get_opp_count(dev); in exynos5_init_freq_table() 356 dmc->opp = devm_kmalloc_array(dev, dmc->opp_count, in exynos5_init_freq_table() 361 idx = dmc->opp_count - 1; in exynos5_init_freq_table() 362 for (i = 0, freq = ULONG_MAX; i < dmc->opp_count; i++, freq--) { in exynos5_init_freq_table() 421 for (idx = dmc->opp_count - 1; idx >= 0; idx--) in exynos5_dram_change_timings() 1020 aligned_freq = dmc->opp[dmc->opp_count - 1].freq_hz; in exynos5_dmc_align_init_freq() 1221 for (idx = 0; idx < dmc->opp_count; idx++) { in of_get_dram_timings()
|
/linux/drivers/gpu/drm/amd/display/dc/optc/dcn314/ |
H A D | dcn314_optc.c | 102 optc1->opp_count = opp_cnt; in optc314_set_odm_combine() 183 optc1->opp_count = 1; in optc314_set_odm_bypass()
|
/linux/drivers/firmware/arm_scmi/ |
H A D | perf.c | 155 u32 opp_count; member 450 opp = &p->perf_dom->opp[p->perf_dom->opp_count]; in iter_perf_levels_process_response() 462 p->perf_dom->opp_count++; in iter_perf_levels_process_response() 498 if (perf_dom->opp_count) in scmi_perf_describe_levels_get() 499 sort(perf_dom->opp, perf_dom->opp_count, in scmi_perf_describe_levels_get() 888 for (idx = 0; idx < dom->opp_count; idx++) { in scmi_dvfs_device_opps_add() 925 return dom->opp[dom->opp_count - 1].trans_latency_us * 1000; in scmi_dvfs_transition_latency_get() 1014 for (opp = dom->opp, idx = 0; idx < dom->opp_count; idx++, opp++) { in scmi_dvfs_est_power_get()
|
/linux/drivers/gpu/drm/amd/display/dc/optc/dcn20/ |
H A D | dcn20_optc.c | 178 optc1->opp_count = 1; in optc2_set_odm_bypass() 217 optc1->opp_count = opp_cnt; in optc2_set_odm_combine() 426 (h_blank_start - 200 - 1) / optc1->opp_count, in optc2_lock_doublebuffer_enable()
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn314/ |
H A D | dcn314_hwseq.c | 137 unsigned int opp_count = 1; in get_odm_config() local 151 opp_instances[opp_count] = odm_pipe->stream_res.opp->inst; in get_odm_config() 152 opp_count++; in get_odm_config() 155 return opp_count; in get_odm_config()
|
/linux/drivers/gpu/drm/amd/display/dc/optc/dcn31/ |
H A D | dcn31_optc.c | 89 optc1->opp_count = opp_cnt; in optc31_set_odm_combine() 245 optc1->opp_count = 1; in optc3_init_odm()
|
/linux/drivers/gpu/drm/amd/display/dc/optc/dcn401/ |
H A D | dcn401_optc.c | 162 optc1->opp_count = opp_cnt; in optc401_set_odm_combine() 282 optc1->opp_count = 1; in optc401_set_odm_bypass()
|
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | optc.h | 52 int opp_count; member
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/ |
H A D | dcn35_hwseq.c | 401 unsigned int opp_count = 1; in get_odm_config() local 415 opp_instances[opp_count] = odm_pipe->stream_res.opp->inst; in get_odm_config() 416 opp_count++; in get_odm_config() 419 return opp_count; in get_odm_config()
|
/linux/drivers/gpu/drm/amd/display/dc/optc/dcn35/ |
H A D | dcn35_optc.c | 109 optc1->opp_count = opp_cnt; in optc35_set_odm_combine()
|
/linux/drivers/gpu/drm/amd/display/dc/optc/dcn10/ |
H A D | dcn10_optc.c | 306 if (optc->funcs->is_two_pixels_per_container(&patched_crtc_timing) || optc1->opp_count == 2) in optc1_program_timing() 321 if (optc1->opp_count == 4) in optc1_program_timing()
|