diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2016-05-01 00:25:27 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-05-14 11:54:45 +0530 |
commit | 570d0176296f0d17c4b5ab206ad4a4bc027b863b (patch) | |
tree | 1c8d62592e8c332a5de3247d3dfcb65df8a83ff9 /drivers/dma/qcom/hidma.h | |
parent | d1615ca2e085222025118793b7b4af2cf4867b6e (diff) |
dmaengine: qcom_hidma: add debugfs hooks
Add debugfs hooks for debugging the execution behavior of the DMA
channel. The debugfs hooks get initialized by the probe function and
uninitialized by the remove function.
A stats file is created in debugfs. The stats file will show the
information about each HIDMA channel as well as each asynchronous job
queued and completed at a given time.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/qcom/hidma.h')
-rw-r--r-- | drivers/dma/qcom/hidma.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/qcom/hidma.h b/drivers/dma/qcom/hidma.h index b1362ef7b747..db413a5efc4e 100644 --- a/drivers/dma/qcom/hidma.h +++ b/drivers/dma/qcom/hidma.h @@ -153,4 +153,6 @@ int hidma_ll_uninit(struct hidma_lldev *llhndl); irqreturn_t hidma_ll_inthandler(int irq, void *arg); void hidma_cleanup_pending_tre(struct hidma_lldev *llhndl, u8 err_info, u8 err_code); +int hidma_debug_init(struct hidma_dev *dmadev); +void hidma_debug_uninit(struct hidma_dev *dmadev); #endif |