diff options
author | Alex Elder <elder@linaro.org> | 2022-09-27 01:09:18 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-28 04:42:49 +0300 |
commit | 6bfb753850d3bad78fc2eb6f4e0fa5675055ad97 (patch) | |
tree | 5ed6c13d3bbbaad4f8f1a06345bcbc26332c7911 /.cocciconfig | |
parent | 98e2dd71a826c7d2a6de7a9444b5e3c7824082fe (diff) | |
download | linux-6bfb753850d3bad78fc2eb6f4e0fa5675055ad97.tar.xz |
net: ipa: use IPA register IDs to determine offsets
Expose two inline functions that return the offset for a register
whose ID is provided; one of them takes an additional argument
that's used for registers that are parameterized. These both use
a common helper function __ipa_reg_offset(), which just uses the
offset symbols already defined.
Replace all references to the offset macros defined for IPA
registers with calls to ipa_reg_offset() or ipa_reg_n_offset().
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions