Home
last modified time | relevance | path

Searched refs:XDMA_CHAN_NUM (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/dma/xilinx/
Dxdma.c129 #define XDMA_CHAN_NUM(_xd) ({ \ macro
697 if (xdev->irq_num < XDMA_CHAN_NUM(xdev)) { in xdma_irq_init()
730 XDMA_CHAN_NUM(xdev)); in xdma_irq_init()
737 user_irq_start = XDMA_CHAN_NUM(xdev); in xdma_irq_init()
784 if (index < XDMA_CHAN_NUM(xdev) || index >= xdev->irq_num) { in xdma_disable_user_irq()
788 index -= XDMA_CHAN_NUM(xdev); in xdma_disable_user_irq()
806 if (index < XDMA_CHAN_NUM(xdev) || index >= xdev->irq_num) { in xdma_enable_user_irq()
810 index -= XDMA_CHAN_NUM(xdev); in xdma_enable_user_irq()
831 if (XDMA_CHAN_NUM(xdev) + user_irq_index >= xdev->irq_num) { in xdma_get_user_irq()
836 return xdev->irq_start + XDMA_CHAN_NUM(xdev) + user_irq_index; in xdma_get_user_irq()