]> www.infradead.org Git - users/willy/xarray.git/commit
net: ipa: expand GSI channel types
authorAlex Elder <elder@linaro.org>
Thu, 25 Mar 2021 14:44:37 +0000 (09:44 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Mar 2021 00:22:30 +0000 (17:22 -0700)
commit2ad6f03b59332cd875d20c52ab18bb6a927a3213
tree99d37e0838ecad8fde6cbc37ceccd61a032f9480
parent42839f9585a00b53691bc56e6a238029f1466959
net: ipa: expand GSI channel types

IPA v4.5 (GSI v2.5) supports a larger set of channel protocols, and
adds an additional field to hold the most-significant bits of the
protocol identifier on a channel.

Add an inline function that encodes the protocol (including the
extra bits for newer versions of IPA), and define some additional
protocols.  At this point we still use only GPI protocol.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/gsi.c
drivers/net/ipa/gsi_reg.h