aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ipa/ipa_table.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-09-26 17:09:20 -0500
committerJakub Kicinski <kuba@kernel.org>2022-09-27 18:42:50 -0700
commit82a06807453a6c0c282b3238f28164970100ffcd (patch)
treeaa0c847fc814dcd5d756f4a69417b47bf1f1823c /drivers/net/ipa/ipa_table.c
parentnet: ipa: add per-version IPA register definition files (diff)
downloadlinux-dev-82a06807453a6c0c282b3238f28164970100ffcd.tar.xz
linux-dev-82a06807453a6c0c282b3238f28164970100ffcd.zip
net: ipa: use ipa_reg[] array for register offsets
Use the array of register descriptors assigned at initialization time to determine the offset (and where used, stride) for IPA registers. Issue a warning if an offset is requested for a register that's not valid for the current system. Remove all IPE_REG_*_OFFSET macros, as well as inline static functions that returned register offsets. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ipa/ipa_table.c')
0 files changed, 0 insertions, 0 deletions