Home
last modified time | relevance | path

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

/linux-3.4.99/arch/sh/drivers/dma/
Ddmabrg.c110 static void dmabrg_disable_irq(unsigned int dmairq) in dmabrg_disable_irq() argument
114 dcr &= ~(1 << ((dmairq > 1) ? dmairq + 22 : dmairq + 8)); in dmabrg_disable_irq()
118 static void dmabrg_enable_irq(unsigned int dmairq) in dmabrg_enable_irq() argument
122 dcr |= (1 << ((dmairq > 1) ? dmairq + 22 : dmairq + 8)); in dmabrg_enable_irq()
126 int dmabrg_request_irq(unsigned int dmairq, void(*handler)(void*), in dmabrg_request_irq() argument
129 if ((dmairq > 9) || !handler) in dmabrg_request_irq()
131 if (dmabrg_handlers[dmairq].handler) in dmabrg_request_irq()
134 dmabrg_handlers[dmairq].handler = handler; in dmabrg_request_irq()
135 dmabrg_handlers[dmairq].data = data; in dmabrg_request_irq()
137 dmabrg_enable_irq(dmairq); in dmabrg_request_irq()
[all …]
/linux-3.4.99/sound/soc/sh/
Ddma-sh7760.c142 int ret, dmairq; in camelot_pcm_open() local
147 dmairq = (recv) ? cam->txid + 2 : cam->txid; in camelot_pcm_open()
150 ret = dmabrg_request_irq(dmairq, camelot_rxdma, cam); in camelot_pcm_open()
156 (void)dmabrg_request_irq(dmairq + 1,camelot_rxdma, cam); in camelot_pcm_open()
159 ret = dmabrg_request_irq(dmairq, camelot_txdma, cam); in camelot_pcm_open()
165 (void)dmabrg_request_irq(dmairq + 1, camelot_txdma, cam); in camelot_pcm_open()
175 int dmairq; in camelot_pcm_close() local
177 dmairq = (recv) ? cam->txid + 2 : cam->txid; in camelot_pcm_close()
184 dmabrg_free_irq(dmairq + 1); in camelot_pcm_close()
185 dmabrg_free_irq(dmairq); in camelot_pcm_close()
/linux-3.4.99/arch/arm/mach-mxs/devices/
Dplatform-mxs-i2c.c18 .dmairq = soc ## _INT_I2C ## _id ## _DMA, \
44 .start = data->dmairq, in mxs_add_mxs_i2c()
45 .end = data->dmairq, in mxs_add_mxs_i2c()
Dplatform-mxs-saif.c22 .dmairq = soc ## _INT_SAIF ## _id ##_DMA, \
52 .start = data->dmairq, in mxs_add_saif()
53 .end = data->dmairq, in mxs_add_saif()
/linux-3.4.99/arch/arm/mach-mxs/include/mach/
Ddevices-common.h84 resource_size_t dmairq; member
113 resource_size_t dmairq; member
/linux-3.4.99/drivers/isdn/hardware/mISDN/
Dnetjet.c47 u32 dmairq; member
341 card->send.dmairq = card->send.dmastart + in inittiger()
348 card->send.dmastart, card->send.dmairq, in inittiger()
352 outl(card->send.dmairq, card->base + NJ_DMA_READ_IRQ); in inittiger()
359 card->recv.dmairq = card->recv.dmastart + in inittiger()
366 card->recv.dmastart, card->recv.dmairq, in inittiger()
370 outl(card->recv.dmairq, card->base + NJ_DMA_WRITE_IRQ); in inittiger()
696 if (card->recv.dmacur < card->recv.dmairq) in nj_irq()
703 if (card->send.dmacur < card->send.dmairq) in nj_irq()
/linux-3.4.99/drivers/staging/comedi/drivers/
Dpcl816.c644 unsigned int divisor1 = 0, divisor2 = 0, dma_flags, bytes, dmairq; in pcl816_ai_cmd() local
742 dmairq = ((devpriv->dma & 0x3) << 4) | (dev->irq & 0x7); in pcl816_ai_cmd()
752 outb(dmairq, dev->iobase + PCL816_STATUS); in pcl816_ai_cmd()
762 outb(dmairq, dev->iobase + PCL816_STATUS); in pcl816_ai_cmd()