Home
last modified time | relevance | path

Searched refs:dce_clk_params (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/
Ddce112_clk_mgr.c73 struct bp_set_dce_clock_parameters dce_clk_params; in dce112_set_clock() local
79 memset(&dce_clk_params, 0, sizeof(dce_clk_params)); in dce112_set_clock()
85 dce_clk_params.target_clock_frequency = requested_clk_khz; in dce112_set_clock()
86 dce_clk_params.pll_id = CLOCK_SOURCE_ID_DFS; in dce112_set_clock()
87 dce_clk_params.clock_type = DCECLOCK_TYPE_DISPLAY_CLOCK; in dce112_set_clock()
89 bp->funcs->set_dce_clock(bp, &dce_clk_params); in dce112_set_clock()
90 actual_clock = dce_clk_params.target_clock_frequency; in dce112_set_clock()
101 dce_clk_params.target_clock_frequency = 0; in dce112_set_clock()
102 dce_clk_params.clock_type = DCECLOCK_TYPE_DPREFCLK; in dce112_set_clock()
106 dce_clk_params.flags.USE_GENLOCK_AS_SOURCE_FOR_DPREFCLK = in dce112_set_clock()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clk_mgr.c291 struct bp_set_dce_clock_parameters dce_clk_params; in dce112_set_clock() local
297 memset(&dce_clk_params, 0, sizeof(dce_clk_params)); in dce112_set_clock()
304 dce_clk_params.target_clock_frequency = requested_clk_khz; in dce112_set_clock()
305 dce_clk_params.pll_id = CLOCK_SOURCE_ID_DFS; in dce112_set_clock()
306 dce_clk_params.clock_type = DCECLOCK_TYPE_DISPLAY_CLOCK; in dce112_set_clock()
308 bp->funcs->set_dce_clock(bp, &dce_clk_params); in dce112_set_clock()
309 actual_clock = dce_clk_params.target_clock_frequency; in dce112_set_clock()
318 dce_clk_params.target_clock_frequency = 0; in dce112_set_clock()
319 dce_clk_params.clock_type = DCECLOCK_TYPE_DPREFCLK; in dce112_set_clock()
323 dce_clk_params.flags.USE_GENLOCK_AS_SOURCE_FOR_DPREFCLK = in dce112_set_clock()
[all …]