]> git.baikalelectronics.ru Git - kernel.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)
commitd6c787342d0f087607e599f682ec9d091847c55a
tree99d37e0838ecad8fde6cbc37ceccd61a032f9480
parentfa8680bf1daca1e9c87bd08c5bea090e92b79d66
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