summaryrefslogtreecommitdiffstats
path: root/lib/lmb.c
diff options
context:
space:
mode:
authorOskar Schirmer <os@emlix.com>2009-06-11 14:51:15 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-11 08:51:08 -0700
commit8759ef32d992fc6c0bcbe40fca7aa302190918a5 (patch)
tree316df64d3456597bf7f8ef7508654c82faf6a5fe /lib/lmb.c
parent9f322ad064f9210e7d472dfe77e702274d5c9dba (diff)
downloadop-kernel-dev-8759ef32d992fc6c0bcbe40fca7aa302190918a5.zip
op-kernel-dev-8759ef32d992fc6c0bcbe40fca7aa302190918a5.tar.gz
lib: isolate rational fractions helper function
Provide a helper function to determine optimum numerator denominator value pairs taking into account restricted register size. Useful especially with PLL and other clock configurations. Signed-off-by: Oskar Schirmer <os@emlix.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/lmb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud