Searched refs:dmairq (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/arch/sh/drivers/dma/ |
H A D | dmabrg.c | 110 static void dmabrg_disable_irq(unsigned int dmairq) dmabrg_disable_irq() argument 114 dcr &= ~(1 << ((dmairq > 1) ? dmairq + 22 : dmairq + 8)); dmabrg_disable_irq() 118 static void dmabrg_enable_irq(unsigned int dmairq) dmabrg_enable_irq() argument 122 dcr |= (1 << ((dmairq > 1) ? dmairq + 22 : dmairq + 8)); dmabrg_enable_irq() 126 int dmabrg_request_irq(unsigned int dmairq, void(*handler)(void*), dmabrg_request_irq() argument 129 if ((dmairq > 9) || !handler) dmabrg_request_irq() 131 if (dmabrg_handlers[dmairq].handler) dmabrg_request_irq() 134 dmabrg_handlers[dmairq].handler = handler; dmabrg_request_irq() 135 dmabrg_handlers[dmairq].data = data; dmabrg_request_irq() 137 dmabrg_enable_irq(dmairq); dmabrg_request_irq() 142 void dmabrg_free_irq(unsigned int dmairq) dmabrg_free_irq() argument 144 if (likely(dmairq < 10)) { dmabrg_free_irq() 145 dmabrg_disable_irq(dmairq); dmabrg_free_irq() 146 dmabrg_handlers[dmairq].handler = NULL; dmabrg_free_irq() 147 dmabrg_handlers[dmairq].data = NULL; dmabrg_free_irq()
|
/linux-4.4.14/sound/soc/sh/ |
H A D | dma-sh7760.c | 125 int ret, dmairq; camelot_pcm_open() local 130 dmairq = (recv) ? cam->txid + 2 : cam->txid; camelot_pcm_open() 133 ret = dmabrg_request_irq(dmairq, camelot_rxdma, cam); camelot_pcm_open() 139 (void)dmabrg_request_irq(dmairq + 1,camelot_rxdma, cam); camelot_pcm_open() 142 ret = dmabrg_request_irq(dmairq, camelot_txdma, cam); camelot_pcm_open() 148 (void)dmabrg_request_irq(dmairq + 1, camelot_txdma, cam); camelot_pcm_open() 158 int dmairq; camelot_pcm_close() local 160 dmairq = (recv) ? cam->txid + 2 : cam->txid; camelot_pcm_close() 167 dmabrg_free_irq(dmairq + 1); camelot_pcm_close() 168 dmabrg_free_irq(dmairq); camelot_pcm_close()
|
/linux-4.4.14/drivers/isdn/hardware/mISDN/ |
H A D | netjet.c | 47 u32 dmairq; member in struct:tiger_dma 341 card->send.dmairq = card->send.dmastart + inittiger() 348 card->send.dmastart, card->send.dmairq, inittiger() 352 outl(card->send.dmairq, card->base + NJ_DMA_READ_IRQ); inittiger() 359 card->recv.dmairq = card->recv.dmastart + inittiger() 366 card->recv.dmastart, card->recv.dmairq, inittiger() 370 outl(card->recv.dmairq, card->base + NJ_DMA_WRITE_IRQ); inittiger() 719 if (card->recv.dmacur < card->recv.dmairq) nj_irq() 726 if (card->send.dmacur < card->send.dmairq) nj_irq()
|
Completed in 160 milliseconds