aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFrank Oltmanns <[email protected]>2023-06-17 15:10:40 +0200
committerStephen Boyd <[email protected]>2023-10-12 14:02:17 -0700
commit2e9abc6ec108370ad341f98d0e05e02e4e165b5a (patch)
treed4b1d1fa5ce6078fba5271467b7a9133515a51e2 /tools/perf/scripts/python
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
clk: fractional-divider: Improve approximation when zero based and export
Consider the CLK_FRAC_DIVIDER_ZERO_BASED flag when finding the best approximation for m and n. By doing so, increase the range of valid values for the numerator and denominator by 1. Furthermore, export the approximation function so that users of this function can be compiled as modules. Cc: A.s. Dong <[email protected]> Signed-off-by: Frank Oltmanns <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions