aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMaxime Chevallier <maxime.chevallier@bootlin.com>2023-03-24 10:36:38 +0100
committerMark Brown <broonie@kernel.org>2023-03-24 19:02:16 +0000
commit3f58f6dc4d92ed6fae4a4da0d5b091e00ec10fa8 (patch)
tree741a792e7cec9cc8120b081b465a145b21d983bd /tools/perf/scripts/python/export-to-postgresql.py
parente8d018dd0257f744ca50a729e3d042cf2ec9da65 (diff)
downloadlinux-3f58f6dc4d92ed6fae4a4da0d5b091e00ec10fa8.tar.gz
linux-3f58f6dc4d92ed6fae4a4da0d5b091e00ec10fa8.tar.bz2
linux-3f58f6dc4d92ed6fae4a4da0d5b091e00ec10fa8.zip
regmap: add a helper to translate the register address
Register addresses passed to regmap operations can be offset with regmap.reg_base and downshifted with regmap.reg_downshift. Add a helper to apply both these operations and return the translated address, that we can then use to perform the actual register operation ont the underlying bus. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Link: https://lore.kernel.org/r/20230324093644.464704-2-maxime.chevallier@bootlin.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions