Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.h247 double dml32_RoundToDFSGranularity(double Clock, bool round_up, double VCOSpeed);
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A 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()
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A 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);
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A Ddisplay_mode_vba_314.c175 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed);
176 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed);
1482 static double RoundToDFSGranularityUp(double Clock, double VCOSpeed) argument
1484 return VCOSpeed * 4 / dml_floor(VCOSpeed * 4 / Clock, 1);
1487 static double RoundToDFSGranularityDown(double Clock, double VCOSpeed) argument
1489 return VCOSpeed * 4 / dml_ceil(VCOSpeed * 4.0 / Clock, 1);