mhi: pci_generic: Enable burst mode for hardware channels
authorLoic Poulain <loic.poulain@linaro.org>
Mon, 4 Jan 2021 16:14:52 +0000 (17:14 +0100)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Mon, 4 Jan 2021 16:20:24 +0000 (21:50 +0530)
commiteb96787a5da8e481e53bf2d87a575283d57130a2
tree926a5266a01ef52b429caaacb9fd6bfc6d828ac8
parentd9f23ea69d41d9749873381affe3c00bb1857019
mhi: pci_generic: Enable burst mode for hardware channels

Hardware channels have a feature called burst mode that allows to
queue transfer ring element(s) (TRE) to a channel without ringing
the device doorbell. In that mode, the device is polling the channel
context for new elements. This reduces the frequency of host initiated
doorbells and increase throughput.

Create a new dedicated macro for hardware channels with burst enabled.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
drivers/bus/mhi/pci_generic.c