Home
last modified time | relevance | path

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

/linux-3.4.99/arch/unicore32/kernel/
Ddma.c33 static struct dma_channel dma_channels[MAX_DMA_CHANNELS]; variable
52 if ((dma_channels[i].prio == prio) && in puv3_request_dma()
53 !dma_channels[i].name) { in puv3_request_dma()
62 dma_channels[i].name = name; in puv3_request_dma()
63 dma_channels[i].irq_handler = irq_handler; in puv3_request_dma()
64 dma_channels[i].err_handler = err_handler; in puv3_request_dma()
65 dma_channels[i].data = data; in puv3_request_dma()
81 if (!dma_channels[dma_ch].name) { in puv3_free_dma()
89 dma_channels[dma_ch].name = NULL; in puv3_free_dma()
90 dma_channels[dma_ch].err_handler = NULL; in puv3_free_dma()
[all …]
Dpuv3-core.c70 .dma_channels = 8,
/linux-3.4.99/arch/arm/plat-pxa/
Ddma.c39 static struct dma_channel *dma_channels; variable
94 spin_lock_irqsave(&dma_channels[chan].lock, flags); in dbg_show_descriptors()
128 spin_unlock_irqrestore(&dma_channels[chan].lock, flags); in dbg_show_descriptors()
147 str_prio[dma_channels[chan].prio]); in dbg_show_chan_state()
296 if ((dma_channels[i].prio == prio) && in pxa_request_dma()
297 !dma_channels[i].name) { in pxa_request_dma()
307 dma_channels[i].name = name; in pxa_request_dma()
308 dma_channels[i].irq_handler = irq_handler; in pxa_request_dma()
309 dma_channels[i].data = data; in pxa_request_dma()
324 if (!dma_channels[dma_ch].name) { in pxa_free_dma()
[all …]
/linux-3.4.99/arch/arm/mach-pnx4008/
Ddma.c40 } dma_channels[MAX_DMA_CHANNELS]; variable
164 if (!dma_channels[i].name && (ch == -1 || ch == i)) { in pnx4008_request_channel()
172 dma_channels[i].name = name; in pnx4008_request_channel()
173 dma_channels[i].irq_handler = irq_handler; in pnx4008_request_channel()
174 dma_channels[i].data = data; in pnx4008_request_channel()
175 dma_channels[i].ll = NULL; in pnx4008_request_channel()
176 dma_channels[i].ll_dma = 0; in pnx4008_request_channel()
191 if (!dma_channels[ch].name) { in pnx4008_free_channel()
199 pnx4008_free_ll(dma_channels[ch].ll_dma, dma_channels[ch].ll); in pnx4008_free_channel()
200 dma_channels[ch].ll = NULL; in pnx4008_free_channel()
[all …]
/linux-3.4.99/drivers/spi/
Dspi-omap2-mcspi.c124 struct omap2_mcspi_dma *dma_channels; member
309 mcspi_dma = &mcspi->dma_channels[spi->chip_select]; in omap2_mcspi_txrx_dma()
723 mcspi_dma = &(mcspi->dma_channels[spi->chip_select]); in omap2_mcspi_dma_rx_callback()
738 mcspi_dma = &(mcspi->dma_channels[spi->chip_select]); in omap2_mcspi_dma_tx_callback()
753 mcspi_dma = mcspi->dma_channels + spi->chip_select; in omap2_mcspi_request_dma()
791 mcspi_dma = &mcspi->dma_channels[spi->chip_select]; in omap2_mcspi_setup()
840 mcspi_dma = &mcspi->dma_channels[spi->chip_select]; in omap2_mcspi_cleanup()
1189 mcspi->dma_channels = kcalloc(master->num_chipselect, in omap2_mcspi_probe()
1193 if (mcspi->dma_channels == NULL) in omap2_mcspi_probe()
1209 mcspi->dma_channels[i].dma_rx_channel = -1; in omap2_mcspi_probe()
[all …]
/linux-3.4.99/arch/arm/mach-tegra/
Ddma.c139 static struct tegra_dma_channel dma_channels[NV_DMA_MAX_CHANNELS]; variable
396 ARRAY_SIZE(dma_channels)); in tegra_dma_allocate_channel()
397 if (channel >= ARRAY_SIZE(dma_channels)) in tegra_dma_allocate_channel()
401 ch = &dma_channels[channel]; in tegra_dma_allocate_channel()
736 struct tegra_dma_channel *ch = &dma_channels[i]; in tegra_dma_init()
749 dma_channels[i].name, ch); in tegra_dma_init()
768 struct tegra_dma_channel *ch = &dma_channels[i]; in tegra_dma_init()
/linux-3.4.99/arch/arm/plat-s3c24xx/
Ddma.c42 static int dma_channels; variable
1220 for (channel = 0; channel < dma_channels; cp++, channel++) in s3c2410_dma_suspend()
1248 struct s3c2410_dma_chan *cp = s3c2410_chans + dma_channels - 1; in s3c2410_dma_resume()
1251 for (channel = dma_channels - 1; channel >= 0; cp--, channel--) in s3c2410_dma_resume()
1292 dma_channels = channels; in s3c24xx_dma_init()
1382 for (ch = 0; ch < dma_channels; ch++) { in s3c2410_dma_map_channel()
1400 for (ch = 0; ch < dma_channels; ch++) { in s3c2410_dma_map_channel()
1410 if (ch >= dma_channels) in s3c2410_dma_map_channel()
/linux-3.4.99/include/linux/usb/
Dmusb.h80 u8 dma_channels __deprecated; /* number of dma channels */
/linux-3.4.99/arch/arm/mach-davinci/
Dusb.c39 .dma_channels = 8,
/linux-3.4.99/drivers/net/ethernet/amd/
Dlance.c472 unsigned long dma_channels; /* Mark spuriously-busy DMA channels */ in lance_probe1() local
619 dma_channels = ((inb(DMA1_STAT_REG) >> 4) & 0x0f) | in lance_probe1()
667 if (test_bit(dma, &dma_channels)) in lance_probe1()
Dni65.c495 unsigned long dma_channels = in ni65_probe1() local
500 if(test_bit(dma,&dma_channels) || request_dma(dma,"ni6510")) in ni65_probe1()
/linux-3.4.99/arch/blackfin/mach-bf527/boards/
Dad7160eval.c65 .dma_channels = 8,
Dezbrd.c66 .dma_channels = 8,
Dcm_bf527.c102 .dma_channels = 8,
Dtll6527m.c73 .dma_channels = 8,
Dezkit.c107 .dma_channels = 8,
/linux-3.4.99/arch/blackfin/mach-bf548/boards/
Dcm_bf548.c521 .dma_channels = 8,
Dezkit.c627 .dma_channels = 8,