Searched hist:"42839 f9585a00b53691bc56e6a238029f1466959" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ipa/ |
H A D | gsi_reg.h | diff 42839f9585a00b53691bc56e6a238029f1466959 Thu Mar 25 09:44:36 CDT 2021 Alex Elder <elder@linaro.org> net: ipa: update GSI ring size registers
Each GSI channel has a CNTXT_1 register that encodes the size of its ring buffer. The size of the field that records that is increased starting at IPA v4.9. Replace the use of a fixed-size field mask with a new inline function that encodes that size value.
Similarly, the size of GSI event rings can be larger starting with IPA v4.9, so create a function to encode that as well.
Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | gsi.c | diff 42839f9585a00b53691bc56e6a238029f1466959 Thu Mar 25 09:44:36 CDT 2021 Alex Elder <elder@linaro.org> net: ipa: update GSI ring size registers
Each GSI channel has a CNTXT_1 register that encodes the size of its ring buffer. The size of the field that records that is increased starting at IPA v4.9. Replace the use of a fixed-size field mask with a new inline function that encodes that size value.
Similarly, the size of GSI event rings can be larger starting with IPA v4.9, so create a function to encode that as well.
Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|