diff options
author | Alex Elder <elder@linaro.org> | 2023-02-13 10:22:26 -0600 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-02-14 20:39:38 -0800 |
commit | 330ce9d3462e825c44368f58c32d2e2fcf819128 (patch) | |
tree | 97f7becb47431ee2e31b81ff2934590c33511af1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f50ca7cef7c7ceff2b66b610ac5ab17aac36df6a (diff) |
net: ipa: define more fields for GSI registers
Beyond the CH_C_QOS register, two other registers whose offset is
related to channel number have fields within them.
Define the fields within the CH_C_CNTXT_0 GSI register, using an
enumerated type to identify the register's fields, and define an
array of field masks to use for that register's reg structure.
For the CH_C_CNTXT_1 GSI register, ch_c_cntxt_1_length_encode()
previously hid the difference in bit width in the channel ring
length field. Instead, define a new field CH_R_LENGTH and encode
the ring size with reg_encode().
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions