OpenCloudOS-Kernel/drivers/bus/mhi/core
Hemant Kumar 87baa23e02 bus: mhi: core: Add helper API to return number of free TREs
Introduce mhi_get_free_desc_count() API to return number
of TREs available to queue buffer. MHI clients can use this
API to know before hand if ring is full without calling queue
API.

Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Reviewed-by: Jeffrey Hugo <jhugo@codeaurora.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/1610388462-16322-1-git-send-email-loic.poulain@linaro.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2021-01-27 16:45:21 +05:30
..
Makefile bus: mhi: core: Fix the building of MHI module 2020-10-02 11:33:47 +02:00
boot.c bus: mhi: core: Use appropriate label in firmware load handler API 2020-11-18 15:20:34 +05:30
debugfs.c bus: mhi: core: Fix device hierarchy 2020-11-28 12:00:49 +05:30
init.c bus: mhi: core: Fix error handling in mhi_register_controller() 2020-12-01 19:07:10 +05:30
internal.h Merge branch 'mhi-ath11k-immutable' into mhi-next 2020-11-20 11:56:55 +05:30
main.c bus: mhi: core: Add helper API to return number of free TREs 2021-01-27 16:45:21 +05:30
pm.c bus: mhi: core: Fix device hierarchy 2020-11-28 12:00:49 +05:30