diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2016-10-21 12:37:59 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-11-03 18:55:45 +0530 |
commit | 1c0e3e82a7fb01c7398ea9533f57c0a77099428f (patch) | |
tree | 2739f420f56aa684a8d8f3a5061e973789aa0fdc /drivers/dma/qcom/hidma.h | |
parent | 0e858f8d6f66df25545861759e174023bd7d5c1f (diff) | |
download | linux-1c0e3e82a7fb01c7398ea9533f57c0a77099428f.tar.bz2 |
dmaengine: qcom_hidma: add MSI support for interrupts
The interrupts can now be delivered as platform MSI interrupts on newer
platforms. The code looks for a new OF and ACPI strings in order to enable
the functionality.
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 181f7e0d08f6..05f8ba49e6c6 100644 --- a/drivers/dma/qcom/hidma.h +++ b/drivers/dma/qcom/hidma.h @@ -115,6 +115,7 @@ struct hidma_dev { int irq; int chidx; u32 nr_descriptors; + int msi_virqbase; struct hidma_lldev *lldev; void __iomem *dev_trca; @@ -153,6 +154,7 @@ struct hidma_lldev *hidma_ll_init(struct device *dev, u32 max_channels, u8 chidx); int hidma_ll_uninit(struct hidma_lldev *llhndl); irqreturn_t hidma_ll_inthandler(int irq, void *arg); +irqreturn_t hidma_ll_inthandler_msi(int irq, void *arg, int cause); void hidma_cleanup_pending_tre(struct hidma_lldev *llhndl, u8 err_info, u8 err_code); int hidma_debug_init(struct hidma_dev *dmadev); |