net: ipa: define GSI interrupt types with enums
authorAlex Elder <elder@linaro.org>
Tue, 10 Nov 2020 21:59:17 +0000 (15:59 -0600)
committerJakub Kicinski <kuba@kernel.org>
Fri, 13 Nov 2020 23:13:40 +0000 (15:13 -0800)
commit6c6358cca6fd62c596acb713ff1cc25646ce0cd4
tree413335c63003061ad0f8c30aa5536e65d673ea29
parent2f51e5758d61d37e517b809051048c6d0118ab41
net: ipa: define GSI interrupt types with enums

Define the GSI global interrupt types with an enumerated type whose
values are the bit positions representing the global interrupt types.

Similarly, define the GSI general interrupt types with an enumerated
type whose values are the bit positions of general interrupt types.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/gsi.c
drivers/net/ipa/gsi_reg.h