Home
last modified time | relevance | path

Searched refs:opp_count (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/drivers/devfreq/
H A Dimx8m-ddrc.c347 int i, opp_count; in imx8m_ddrc_check_opps() local
350 opp_count = dev_pm_opp_get_opp_count(dev); in imx8m_ddrc_check_opps()
351 if (opp_count < 0) in imx8m_ddrc_check_opps()
352 return opp_count; in imx8m_ddrc_check_opps()
353 for (i = 0, freq = 0; i < opp_count; ++i, ++freq) { in imx8m_ddrc_check_opps()
/kernel/linux/linux-6.6/drivers/devfreq/
H A 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()
/kernel/linux/linux-6.6/drivers/soc/mediatek/
H A Dmtk-svs.c392 * @opp_count: bank opp count
454 u32 opp_count; member
519 for (i = 0; i < svsb->opp_count; i++) { in svs_sync_bank_volts_from_opp()
555 opp_stop = svsb->opp_count; in svs_adjust_pm_opp_volts()
558 opp_stop = svsb->opp_count; in svs_adjust_pm_opp_volts()
580 opp_stop = svsb->opp_count; in svs_adjust_pm_opp_volts()
760 for (i = 0; i < svsb->opp_count; i++) { in svs_status_debug_show()
870 u32 middle_index = (svsb->opp_count / 2); in svs_get_bank_volts_v3()
891 /* volt[turn_pt] + volt[j] ~ volt[opp_count - 1] */ in svs_get_bank_volts_v3()
892 j = svsb->opp_count in svs_get_bank_volts_v3()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_optc.c232 optc1->opp_count = 1; in optc2_set_odm_bypass()
273 optc1->opp_count = opp_cnt; in optc2_set_odm_combine()
360 (h_blank_start - 200 - 1) / optc1->opp_count, in optc2_lock_doublebuffer_enable()
H A Ddcn20_hwseq.c1434 int opp_count = dc->res_pool->pipe_count; in dcn20_update_dchubp_dpp() local
1436 for (opp_inst = 0; opp_inst < opp_count; opp_inst++) { in dcn20_update_dchubp_dpp()
/kernel/linux/linux-5.10/drivers/memory/samsung/
H A Dexynos5422-dmc.c123 * @opp_count: number of 'opp' elements
164 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()
424 for (idx = dmc->opp_count - 1; idx >= 0; idx--) in exynos5_dram_change_timings()
1023 aligned_freq = dmc->opp[dmc->opp_count - 1].freq_hz; in exynos5_dmc_align_init_freq()
1231 for (idx = 0; idx < dmc->opp_count; id in of_get_dram_timings()
[all...]
/kernel/linux/linux-6.6/drivers/memory/samsung/
H A Dexynos5422-dmc.c123 * @opp_count: number of 'opp' elements
164 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; id in of_get_dram_timings()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn314/
H A Ddcn314_hwseq.c160 unsigned int opp_count = 1; in get_odm_config() local
174 opp_instances[opp_count] = odm_pipe->stream_res.opp->inst; in get_odm_config()
175 opp_count++; in get_odm_config()
178 return opp_count; in get_odm_config()
H A Ddcn314_optc.c103 optc1->opp_count = opp_cnt; in optc314_set_odm_combine()
184 optc1->opp_count = 1; in optc314_set_odm_bypass()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_optc.c91 optc1->opp_count = opp_cnt; in optc31_set_odm_combine()
232 optc1->opp_count = 1; in optc3_init_odm()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_optc.c98 optc1->opp_count = opp_cnt; in optc32_set_odm_combine()
200 optc1->opp_count = 1; in optc32_set_odm_bypass()
H A Ddcn32_hwseq.c1067 unsigned int opp_count = 1; in get_odm_config() local
1081 opp_instances[opp_count] = odm_pipe->stream_res.opp->inst; in get_odm_config()
1082 opp_count++; in get_odm_config()
1085 return opp_count; in get_odm_config()
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/
H A Dperf.c152 u32 opp_count; member
397 p->perf_dom->opp_count++; in iter_perf_levels_process_response()
433 if (perf_dom->opp_count) in scmi_perf_describe_levels_get()
434 sort(perf_dom->opp, perf_dom->opp_count, in scmi_perf_describe_levels_get()
826 for (idx = 0; idx < dom->opp_count; idx++) { in scmi_dvfs_device_opps_add()
861 return dom->opp[dom->opp_count - 1].trans_latency_us * 1000; in scmi_dvfs_transition_latency_get()
933 for (opp = dom->opp, idx = 0; idx < dom->opp_count; idx++, opp++) { in scmi_dvfs_est_power_get()
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/
H A Dperf.c155 u32 opp_count; member
315 perf_dom->opp_count = tot_opp_cnt; in scmi_perf_describe_levels_get()
658 for (opp = dom->opp, idx = 0; idx < dom->opp_count; idx++, opp++) { in scmi_dvfs_device_opps_add()
687 return dom->opp[dom->opp_count - 1].trans_latency_us * 1000; in scmi_dvfs_transition_latency_get()
728 for (opp = dom->opp, idx = 0; idx < dom->opp_count; idx++, opp++) { in scmi_dvfs_est_power_get()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_optc.c185 optc1->opp_count = 1; in optc2_set_odm_bypass()
226 optc1->opp_count = opp_cnt; in optc2_set_odm_combine()
435 (h_blank_start - 200 - 1) / optc1->opp_count, in optc2_lock_doublebuffer_enable()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_optc.c202 optc1->opp_count = 1; in optc3_set_odm_bypass()
260 optc1->opp_count = opp_cnt; in optc3_set_odm_combine()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_optc.c215 optc1->opp_count = 1; in optc3_set_odm_bypass()
273 optc1->opp_count = opp_cnt; in optc3_set_odm_combine()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_trace.h675 __field(int, opp_count)
693 __entry->opp_count = optc_state->opp_count;
706 TP_printk("%s: %s()+%d: optc_instance=%d opp_count=%d max_h_total=%d max_v_total=%d "
714 __entry->opp_count,
/kernel/linux/linux-5.10/drivers/firmware/
H A Darm_scpi.c302 u8 opp_count; member
634 info->count = buf.opp_count; in scpi_dvfs_get_info()
/kernel/linux/linux-6.6/drivers/firmware/
H A Darm_scpi.c302 u8 opp_count; member
634 info->count = buf.opp_count; in scpi_dvfs_get_info()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_optc.c288 if (optc1_is_two_pixels_per_containter(&patched_crtc_timing) || optc1->opp_count == 2) in optc1_program_timing()
304 if (optc1->opp_count == 4) in optc1_program_timing()
H A Ddcn10_optc.h564 int opp_count; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_optc.c300 if (optc1_is_two_pixels_per_containter(&patched_crtc_timing) || optc1->opp_count == 2) in optc1_program_timing()
315 if (optc1->opp_count == 4) in optc1_program_timing()
H A Ddcn10_optc.h574 int opp_count; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c3482 int opp_count = dc->res_pool->pipe_count; in wait_for_outstanding_hw_updates() local
3502 for (opp_inst = 0; opp_inst < opp_count; opp_inst++) { in wait_for_outstanding_hw_updates()

Completed in 52 milliseconds