diff options
author | Alex Elder <elder@linaro.org> | 2022-09-26 17:09:23 -0500 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-27 18:42:50 -0700 |
commit | 12c7ea7dfd2c69f1db5bc19a330a5d2a7bfe44e8 (patch) | |
tree | 153b6fa29e5325b0b017f4c0f3634b1b56ef772b /tools/perf/scripts/python/syscall-counts.py | |
parent | a5ad8956f97ae1b97a3dd4923c8972573f2fc028 (diff) |
net: ipa: define COMP_CFG IPA register fields
Create the ipa_reg_comp_cfg_field_id enumerated type, which
identifies the fields for the COMP_CFG IPA register.
Use IPA_REG_FIELDS() to specify the field mask values defined for
this register, for each supported version of IPA.
Use ipa_reg_bit() to build up the value to be written to this
register rather than using the *_FMASK preprocessor symbols.
Remove the definition of the *_FMASK symbols, along with the inline
functions that were used to encode certain fields whose position
and/or width within the register was dependent on IPA version.
Take this opportunity to represent all one-bit fields using BIT(x)
rather than GENMASK(x, x).
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions