aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorOswald Buddenhagen <[email protected]>2023-05-14 19:03:20 +0200
committerTakashi Iwai <[email protected]>2023-05-15 22:00:54 +0200
commit60571ac9ea621d3d1404f78bc0f27b709e82f2fd (patch)
tree336c18f2f3d59463c525b72b42a8cd248904acc0 /tools/perf/scripts/python/task-analyzer.py
parent59f038a09c62d77de91387ddcff66e54d99f2ec9 (diff)
ALSA: emu10k1: automate encoding of sub-register definitions
The idea to encode the bitfield manipulation in the register address is quite clever, but doing that by hand is ugly and error-prone. So derive it automatically from the mask instead. Macros cannot #define other macros, so we now declare enums instead. This also adds macros for decoding the register definitions. These will be used by later commits. Signed-off-by: Oswald Buddenhagen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions