diff options
author | Jacob Keller <[email protected]> | 2022-11-09 15:09:43 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-11-11 10:58:39 +0000 |
commit | a29c132f92ed5af6e7116966b7e9899d4c22783c (patch) | |
tree | e172417a021d91b388a8e1a459ae2cb6b3a389d7 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | a45392071ceeebe85622705a1d7500ed434785a7 (diff) |
ptp: bnxt: convert .adjfreq to .adjfine
When the BNXT_FW_CAP_PTP_RTC flag is not set, the bnxt driver implements
.adjfreq on a cyclecounter in terms of the straightforward "base * ppb / 1
billion" calculation. When BNXT_FW_CAP_PTP_RTC is set, the driver forwards
the ppb value to firmware for configuration.
Convert the driver to the newer .adjfine interface, updating the
cyclecounter calculation to use adjust_by_scaled_ppm to perform the
calculation. Use scaled_ppm_to_ppb when forwarding the correction to
firmware.
Signed-off-by: Jacob Keller <[email protected]>
Cc: Michael Chan <[email protected]>
Cc: Richard Cochran <[email protected]>
Reviewed-by: Pavan Chebbi <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions