commit | c61e4e75b95bda4c6fec134aa9f08b5629b532e6 | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Fri Apr 04 15:55:14 2014 +0200 |
committer | Peter De Schrijver <pdeschrijver@nvidia.com> | Thu Apr 17 14:12:40 2014 +0300 |
tree | d51db378950004f0b606425e24be05da5fc5fa49 | |
parent | d0f02ce3b1685ef6ffe43692034599790f83e7ab [diff] |
clk: tegra: Introduce divider mask and shift helpers Add div{m,n,p}_shift() and div{m,n,p}_mask_shifted() helpers to make the code that modifies the m-, n- and p-divider fields of PLLs shorter and easier to read. Signed-off-by: Thierry Reding <treding@nvidia.com>