Home
last modified time | relevance | path

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

/drivers/dma/
Dmmp_pdma.c123 int dma_channels; member
223 if (i >= pdev->dma_channels) in mmp_pdma_int_handler()
255 for (prio = 0; prio <= ((pdev->dma_channels - 1) & 0xf) >> 2; prio++) { in lookup_phy()
256 for (i = 0; i < pdev->dma_channels; i++) { in lookup_phy()
944 for (i = 0; i < pdev->dma_channels; i++) { in mmp_pdma_remove()
949 if (irq_num != pdev->dma_channels) { in mmp_pdma_remove()
953 for (i = 0; i < pdev->dma_channels; i++) { in mmp_pdma_remove()
1027 int dma_channels = 0, irq_num = 0; in mmp_pdma_probe() local
1049 &dma_channels)) in mmp_pdma_probe()
1051 &dma_channels); in mmp_pdma_probe()
[all …]
Dpxa_dma.c1349 int ret, dma_channels = 0, nb_requestors = 0, slave_map_cnt = 0; in pxad_probe() local
1369 &dma_channels)) in pxad_probe()
1371 &dma_channels); in pxad_probe()
1384 } else if (pdata && pdata->dma_channels) { in pxad_probe()
1385 dma_channels = pdata->dma_channels; in pxad_probe()
1390 dma_channels = 32; /* default 32 channel */ in pxad_probe()
1412 ret = pxad_init_dmadev(op, pdev, dma_channels, nb_requestors); in pxad_probe()
1432 dma_channels, nb_requestors); in pxad_probe()
Dk3dma.c109 u32 dma_channels; member
324 for (pch = 0; pch < d->dma_channels; pch++) { in k3_dma_tasklet()
344 for (pch = 0; pch < d->dma_channels; pch++) { in k3_dma_tasklet()
860 "dma-channels", &d->dma_channels); in k3_dma_probe()
896 d->dma_channels, sizeof(struct k3_dma_phy), GFP_KERNEL); in k3_dma_probe()
900 for (i = 0; i < d->dma_channels; i++) { in k3_dma_probe()
Dmcf-edma.c194 if (!pdata->dma_channels) { in mcf_edma_probe()
198 chans = pdata->dma_channels; in mcf_edma_probe()
/drivers/dma/qcom/
Dhidma_mgmt_sys.c53 IMPLEMENT_GETSET(dma_channels) in IMPLEMENT_GETSET()
61 if (i >= mdev->dma_channels) in IMPLEMENT_GETSET()
77 if (i >= mdev->dma_channels) in set_weight()
91 DECLARE_ATTRIBUTE(dma_channels, S_IRUGO),
241 required = sizeof(*mdev->chroots) * mdev->dma_channels; in hidma_mgmt_init_sys()
251 for (i = 0; i < mdev->dma_channels; i++) { in hidma_mgmt_init_sys()
269 for (i = 0; i < mdev->dma_channels; i++) { in hidma_mgmt_init_sys()
Dhidma_mgmt.c100 for (i = 0; i < mgmtdev->dma_channels; i++) { in hidma_mgmt_setup()
139 for (i = 0; i < mgmtdev->dma_channels; i++) { in hidma_mgmt_setup()
201 &mgmtdev->dma_channels); in hidma_mgmt_probe()
273 mgmtdev->dma_channels, in hidma_mgmt_probe()
282 mgmtdev->dma_channels, in hidma_mgmt_probe()
309 &res->start, mgmtdev->dma_channels); in hidma_mgmt_probe()
Dhidma_mgmt.h16 u32 dma_channels; member
/drivers/dma/mediatek/
Dmtk-cqdma.c144 u32 dma_channels; member
394 for (i = 0; i < cqdma->dma_channels; ++i, schedule_tasklet = false) { in mtk_cqdma_irq()
622 for (i = 0; i < cqdma->dma_channels; ++i) { in mtk_cqdma_alloc_chan_resources()
707 for (i = 0; i < cqdma->dma_channels; ++i) { in mtk_cqdma_hw_init()
730 for (i = 0; i < cqdma->dma_channels; ++i) { in mtk_cqdma_hw_deinit()
798 &cqdma->dma_channels)) { in mtk_cqdma_probe()
803 cqdma->dma_channels = MTK_CQDMA_NR_PCHANS; in mtk_cqdma_probe()
806 cqdma->pc = devm_kcalloc(&pdev->dev, cqdma->dma_channels, in mtk_cqdma_probe()
812 for (i = 0; i < cqdma->dma_channels; ++i) { in mtk_cqdma_probe()
876 for (i = 0; i < cqdma->dma_channels; ++i) in mtk_cqdma_probe()
[all …]
/drivers/spi/
Dspi-omap2-mcspi.c125 struct omap2_mcspi_dma *dma_channels; member
382 struct omap2_mcspi_dma *mcspi_dma = &mcspi->dma_channels[spi->chip_select]; in omap2_mcspi_rx_callback()
394 struct omap2_mcspi_dma *mcspi_dma = &mcspi->dma_channels[spi->chip_select]; in omap2_mcspi_tx_callback()
411 mcspi_dma = &mcspi->dma_channels[spi->chip_select]; in omap2_mcspi_tx_dma()
449 mcspi_dma = &mcspi->dma_channels[spi->chip_select]; in omap2_mcspi_rx_dma()
594 mcspi_dma = &mcspi->dma_channels[spi->chip_select]; in omap2_mcspi_txrx_dma()
1027 mcspi_dma = &mcspi->dma_channels[i]; in omap2_mcspi_release_dma()
1114 struct omap2_mcspi_dma *mcspi_dma = mcspi->dma_channels; in omap2_mcspi_slave_abort()
1145 mcspi_dma = mcspi->dma_channels + spi->chip_select; in omap2_mcspi_transfer_one()
1292 &mcspi->dma_channels[spi->chip_select]; in omap2_mcspi_can_dma()
[all …]
/drivers/media/pci/cobalt/
Dcobalt-omnitek.c129 cobalt->dma_channels = capa & 0xf; in omni_sg_dma_init()
135 for (i = 0; i < cobalt->dma_channels; i++) { in omni_sg_dma_init()
Dcobalt-driver.h282 int dma_channels; member
/drivers/net/ethernet/amd/
Dlance.c473 unsigned long dma_channels; /* Mark spuriously-busy DMA channels */ in lance_probe1() local
622 dma_channels = ((inb(DMA1_STAT_REG) >> 4) & 0x0f) | in lance_probe1()
670 if (test_bit(dma, &dma_channels)) in lance_probe1()