summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-08-19 15:58:59 +0300
committerMark Brown <broonie@kernel.org>2020-08-21 00:38:12 +0300
commit8dd71698607f822c3675c366a8a79bc82f7621f8 (patch)
tree87599015c96bb9faea3612dca074e8db0d7cf8b0 /tools/perf/scripts/python/sctop.py
parent7ffe363bb2a25f0760127657f88243647f49bd5c (diff)
downloadlinux-8dd71698607f822c3675c366a8a79bc82f7621f8.tar.xz
spi: rspi: Clean up Bit Rate Division Setting handling
Add a macro for configuring the Bit Rate Division Setting field in Command Registers, instead of open-coding the same operation using a hardcoded shift. Rename "div" to "brdv", as it is not a plain divider value, but controls a power-of-two divider. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20200819125904.20938-3-geert+renesas@glider.be Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions