Home
last modified time | relevance | path

Searched refs:VCOSpeed (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.h247 double dml32_RoundToDFSGranularity(double Clock, bool round_up, double VCOSpeed);
Ddisplay_mode_vba_util_32.c1325 double dml32_RoundToDFSGranularity(double Clock, bool round_up, double VCOSpeed) in dml32_RoundToDFSGranularity() argument
1331 return VCOSpeed * 4.0 / dml_floor(VCOSpeed * 4.0 / Clock, 1.0); in dml32_RoundToDFSGranularity()
1333 return VCOSpeed * 4.0 / dml_ceil(VCOSpeed * 4.0 / Clock, 1.0); in dml32_RoundToDFSGranularity()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_mode_vba_20.c120 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed);
121 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed);
802 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed) in RoundToDFSGranularityUp() argument
804 return VCOSpeed * 4 / dml_floor(VCOSpeed * 4 / Clock, 1); in RoundToDFSGranularityUp()
807 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed) in RoundToDFSGranularityDown() argument
809 return VCOSpeed * 4 / dml_ceil(VCOSpeed * 4 / Clock, 1); in RoundToDFSGranularityDown()
Ddisplay_mode_vba_20v2.c144 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed);
145 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed);
862 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed) in RoundToDFSGranularityUp() argument
864 return VCOSpeed * 4 / dml_floor(VCOSpeed * 4 / Clock, 1); in RoundToDFSGranularityUp()
867 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed) in RoundToDFSGranularityDown() argument
869 return VCOSpeed * 4 / dml_ceil(VCOSpeed * 4 / Clock, 1); in RoundToDFSGranularityDown()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_mode_vba_21.c144 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed);
145 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed);
1067 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed) in RoundToDFSGranularityUp() argument
1069 return VCOSpeed * 4 / dml_floor(VCOSpeed * 4 / Clock, 1); in RoundToDFSGranularityUp()
1072 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed) in RoundToDFSGranularityDown() argument
1074 return VCOSpeed * 4 / dml_ceil(VCOSpeed * 4 / Clock, 1); in RoundToDFSGranularityDown()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_mode_vba_30.c146 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed);
147 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed);
1298 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed) in RoundToDFSGranularityUp() argument
1300 return VCOSpeed * 4 / dml_floor(VCOSpeed * 4 / Clock, 1); in RoundToDFSGranularityUp()
1303 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed) in RoundToDFSGranularityDown() argument
1305 return VCOSpeed * 4 / dml_ceil(VCOSpeed * 4.0 / Clock, 1); in RoundToDFSGranularityDown()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_mode_vba_31.c163 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed);
164 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed);
1462 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed) argument
1464 return VCOSpeed * 4 / dml_floor(VCOSpeed * 4 / Clock, 1);
1467 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed) argument
1469 return VCOSpeed * 4 / dml_ceil(VCOSpeed * 4.0 / Clock, 1);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_mode_vba_314.c172 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed);
173 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed);
1479 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed) argument
1481 return VCOSpeed * 4 / dml_floor(VCOSpeed * 4 / Clock, 1);
1484 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed) argument
1486 return VCOSpeed * 4 / dml_ceil(VCOSpeed * 4.0 / Clock, 1);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddisplay_mode_core.c188 …ic dml_float_t RoundToDFSGranularity(dml_float_t Clock, dml_bool_t round_up, dml_float_t VCOSpeed);
2082 …tic dml_float_t RoundToDFSGranularity(dml_float_t Clock, dml_bool_t round_up, dml_float_t VCOSpeed) in RoundToDFSGranularity() argument
2088 return VCOSpeed * 4.0 / dml_floor(VCOSpeed * 4.0 / Clock, 1.0); in RoundToDFSGranularity()
2090 return VCOSpeed * 4.0 / dml_ceil(VCOSpeed * 4.0 / Clock, 1.0); in RoundToDFSGranularity()