Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/soc/mediatek/
Dmtk-svs.c456 u8 opp_count; member
591 for (i = 0; i < bdata->opp_count; i++) { in svs_sync_bank_volts_from_opp()
628 opp_stop = bdata->opp_count; in svs_adjust_pm_opp_volts()
631 opp_stop = bdata->opp_count; in svs_adjust_pm_opp_volts()
653 opp_stop = bdata->opp_count; in svs_adjust_pm_opp_volts()
833 for (i = 0; i < svsb->pdata.opp_count; i++) { in svs_status_debug_show()
943 u32 middle_index = (bdata->opp_count / 2); in svs_get_bank_volts_v3()
965 j = bdata->opp_count - 7; in svs_get_bank_volts_v3()
968 for (i = j; i < bdata->opp_count; i++) { in svs_get_bank_volts_v3()
1007 for (i = turn_pt; i < bdata->opp_count; i++) { in svs_get_bank_volts_v3()
[all …]
/linux-6.12.1/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.12.1/drivers/memory/samsung/
Dexynos5422-dmc.c165 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-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn314/
Ddcn314_optc.c102 optc1->opp_count = opp_cnt; in optc314_set_odm_combine()
183 optc1->opp_count = 1; in optc314_set_odm_bypass()
/linux-6.12.1/drivers/firmware/arm_scmi/
Dperf.c155 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-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn314/
Ddcn314_hwseq.c137 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-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn20/
Ddcn20_optc.c178 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-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn31/
Ddcn31_optc.c89 optc1->opp_count = opp_cnt; in optc31_set_odm_combine()
245 optc1->opp_count = 1; in optc3_init_odm()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn32/
Ddcn32_optc.c97 optc1->opp_count = opp_cnt; in optc32_set_odm_combine()
247 optc1->opp_count = 1; in optc32_set_odm_bypass()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn30/
Ddcn30_optc.c215 optc1->opp_count = 1; in optc3_set_odm_bypass()
271 optc1->opp_count = opp_cnt; in optc3_set_odm_combine()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn401/
Ddcn401_optc.c162 optc1->opp_count = opp_cnt; in optc401_set_odm_combine()
282 optc1->opp_count = 1; in optc401_set_odm_bypass()
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_trace.h675 __field(int, opp_count)
693 __entry->opp_count = optc_state->opp_count;
714 __entry->opp_count,
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Doptc.h52 int opp_count; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
Ddcn35_hwseq.c400 unsigned int opp_count = 1; in get_odm_config() local
414 opp_instances[opp_count] = odm_pipe->stream_res.opp->inst; in get_odm_config()
415 opp_count++; in get_odm_config()
418 return opp_count; in get_odm_config()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn35/
Ddcn35_optc.c109 optc1->opp_count = opp_cnt; in optc35_set_odm_combine()
/linux-6.12.1/drivers/firmware/
Darm_scpi.c305 u8 opp_count; member
637 info->count = buf.opp_count; in scpi_dvfs_get_info()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
Ddcn32_hwseq.c1101 unsigned int opp_count = 1; in get_odm_config() local
1115 opp_instances[opp_count] = odm_pipe->stream_res.opp->inst; in get_odm_config()
1116 opp_count++; in get_odm_config()
1119 return opp_count; in get_odm_config()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_hw_sequencer.c1063 int opp_count = dc->res_pool->res_cap->num_opp; in hwss_wait_for_outstanding_hw_updates() local
1083 for (opp_inst = 0; opp_inst < opp_count; opp_inst++) { in hwss_wait_for_outstanding_hw_updates()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/optc/dcn10/
Ddcn10_optc.c306 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()