Searched refs:requested_clk_khz (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/ |
H A D | dce112_clk_mgr.c | 70 int dce112_set_clock(struct clk_mgr *clk_mgr_base, int requested_clk_khz) in dce112_set_clock() argument 77 int actual_clock = requested_clk_khz; in dce112_set_clock() 82 requested_clk_khz = max(requested_clk_khz, in dce112_set_clock() 85 dce_clk_params.target_clock_frequency = requested_clk_khz; in dce112_set_clock() 96 if (requested_clk_khz == 0) in dce112_set_clock() 124 int dce112_set_dispclk(struct clk_mgr_internal *clk_mgr, int requested_clk_khz) in dce112_set_dispclk() argument 130 int actual_clock = requested_clk_khz; in dce112_set_dispclk() 135 if (requested_clk_khz > 0) in dce112_set_dispclk() 136 requested_clk_khz = max(requested_clk_khz, in dce112_set_dispclk() 139 dce_clk_params.target_clock_frequency = requested_clk_khz; in dce112_set_dispclk() [all …]
|
H A D | dce112_clk_mgr.h | 35 int dce112_set_clock(struct clk_mgr *clk_mgr_base, int requested_clk_khz); 36 int dce112_set_dispclk(struct clk_mgr_internal *clk_mgr, int requested_clk_khz);
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_clk_mgr.c | 248 int requested_clk_khz) in dce_set_clock() argument 253 int actual_clock = requested_clk_khz; in dce_set_clock() 257 if (requested_clk_khz > 0) in dce_set_clock() 258 requested_clk_khz = max(requested_clk_khz, in dce_set_clock() 262 pxl_clk_params.target_pixel_clock_100hz = requested_clk_khz * 10; in dce_set_clock() 279 if (requested_clk_khz == 0) in dce_set_clock() 288 int dce112_set_clock(struct clk_mgr *clk_mgr, int requested_clk_khz) in dce112_set_clock() argument 295 int actual_clock = requested_clk_khz; in dce112_set_clock() 300 if (requested_clk_khz > 0) in dce112_set_clock() 301 requested_clk_khz = max(requested_clk_khz, in dce112_set_clock() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/ |
H A D | dce_clk_mgr.c | 231 int requested_clk_khz) in dce_set_clock() argument 236 int actual_clock = requested_clk_khz; in dce_set_clock() 240 if (requested_clk_khz > 0) in dce_set_clock() 241 requested_clk_khz = max(requested_clk_khz, in dce_set_clock() 245 pxl_clk_params.target_pixel_clock_100hz = requested_clk_khz * 10; in dce_set_clock() 262 if (requested_clk_khz == 0) in dce_set_clock()
|
H A D | dce_clk_mgr.h | 52 int requested_clk_khz);
|
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/ |
H A D | dcn401_clk_mgr.c | 564 …et_hard_min_by_freq_optimized(struct clk_mgr_internal *clk_mgr, PPCLK_e clk, int requested_clk_khz) in dcn401_set_hard_min_by_freq_optimized() argument 579 …ctual_clk_khz = dcn401_smu_set_hard_min_by_freq(clk_mgr, clk, khz_to_mhz_floor(requested_clk_khz)); in dcn401_set_hard_min_by_freq_optimized() 581 if (actual_clk_khz < requested_clk_khz) in dcn401_set_hard_min_by_freq_optimized() 582 …actual_clk_khz = dcn401_smu_set_hard_min_by_freq(clk_mgr, clk, khz_to_mhz_ceil(requested_clk_khz)); in dcn401_set_hard_min_by_freq_optimized()
|