Searched refs:dmairq (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/arch/sh/drivers/dma/ |
D | dmabrg.c | 109 static void dmabrg_disable_irq(unsigned int dmairq) in dmabrg_disable_irq() argument 113 dcr &= ~(1 << ((dmairq > 1) ? dmairq + 22 : dmairq + 8)); in dmabrg_disable_irq() 117 static void dmabrg_enable_irq(unsigned int dmairq) in dmabrg_enable_irq() argument 121 dcr |= (1 << ((dmairq > 1) ? dmairq + 22 : dmairq + 8)); in dmabrg_enable_irq() 125 int dmabrg_request_irq(unsigned int dmairq, void(*handler)(void*), in dmabrg_request_irq() argument 128 if ((dmairq > 9) || !handler) in dmabrg_request_irq() 130 if (dmabrg_handlers[dmairq].handler) in dmabrg_request_irq() 133 dmabrg_handlers[dmairq].handler = handler; in dmabrg_request_irq() 134 dmabrg_handlers[dmairq].data = data; in dmabrg_request_irq() 136 dmabrg_enable_irq(dmairq); in dmabrg_request_irq() [all …]
|
/Linux-v5.10/sound/soc/sh/ |
D | dma-sh7760.c | 124 int ret, dmairq; in camelot_pcm_open() local 129 dmairq = (recv) ? cam->txid + 2 : cam->txid; in camelot_pcm_open() 132 ret = dmabrg_request_irq(dmairq, camelot_rxdma, cam); in camelot_pcm_open() 138 (void)dmabrg_request_irq(dmairq + 1,camelot_rxdma, cam); in camelot_pcm_open() 141 ret = dmabrg_request_irq(dmairq, camelot_txdma, cam); in camelot_pcm_open() 147 (void)dmabrg_request_irq(dmairq + 1, camelot_txdma, cam); in camelot_pcm_open() 158 int dmairq; in camelot_pcm_close() local 160 dmairq = (recv) ? cam->txid + 2 : cam->txid; in camelot_pcm_close() 167 dmabrg_free_irq(dmairq + 1); in camelot_pcm_close() 168 dmabrg_free_irq(dmairq); in camelot_pcm_close()
|
/Linux-v5.10/drivers/isdn/hardware/mISDN/ |
D | netjet.c | 34 u32 dmairq; member 328 card->send.dmairq = card->send.dmastart + in inittiger() 335 card->send.dmastart, card->send.dmairq, in inittiger() 339 outl(card->send.dmairq, card->base + NJ_DMA_READ_IRQ); in inittiger() 346 card->recv.dmairq = card->recv.dmastart + in inittiger() 353 card->recv.dmastart, card->recv.dmairq, in inittiger() 357 outl(card->recv.dmairq, card->base + NJ_DMA_WRITE_IRQ); in inittiger() 705 if (card->recv.dmacur < card->recv.dmairq) in nj_irq() 712 if (card->send.dmacur < card->send.dmairq) in nj_irq()
|