Home
last modified time | relevance | path

Searched hist:"5 fc7f9ba" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ipa/
H A Dgsi_trans.h5fc7f9ba Thu Feb 03 11:09:24 CST 2022 Alex Elder <elder@linaro.org> net: ipa: introduce gsi_channel_trans_idle()

Create a new function that returns true if all transactions for a
channel are available for use.

Use it in ipa_endpoint_replenish_enable() to see whether to start
replenishing, and in ipa_endpoint_replenish() to determine whether
it's necessary after a failure to schedule delayed work to ensure a
future replenish attempt occurs.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dgsi_trans.c5fc7f9ba Thu Feb 03 11:09:24 CST 2022 Alex Elder <elder@linaro.org> net: ipa: introduce gsi_channel_trans_idle()

Create a new function that returns true if all transactions for a
channel are available for use.

Use it in ipa_endpoint_replenish_enable() to see whether to start
replenishing, and in ipa_endpoint_replenish() to determine whether
it's necessary after a failure to schedule delayed work to ensure a
future replenish attempt occurs.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dipa_endpoint.c5fc7f9ba Thu Feb 03 11:09:24 CST 2022 Alex Elder <elder@linaro.org> net: ipa: introduce gsi_channel_trans_idle()

Create a new function that returns true if all transactions for a
channel are available for use.

Use it in ipa_endpoint_replenish_enable() to see whether to start
replenishing, and in ipa_endpoint_replenish() to determine whether
it's necessary after a failure to schedule delayed work to ensure a
future replenish attempt occurs.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>