Home
last modified time | relevance | path

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

/drivers/dma/
Dsun6i-dma.c200 u32 num_pchans; member
500 for (pchan_idx = 0; pchan_idx < sdev->num_pchans; pchan_idx++) { in sun6i_dma_tasklet()
521 for (pchan_idx = 0; pchan_idx < sdev->num_pchans; pchan_idx++) { in sun6i_dma_tasklet()
543 for (i = 0; i < sdev->num_pchans / DMA_IRQ_CHAN_NR; i++) { in sun6i_dma_interrupt()
1337 sdc->num_pchans = sdc->cfg->nr_max_channels; in sun6i_dma_probe()
1341 ret = of_property_read_u32(np, "dma-channels", &sdc->num_pchans); in sun6i_dma_probe()
1342 if (ret && !sdc->num_pchans) { in sun6i_dma_probe()
1361 sdc->pchans = devm_kcalloc(&pdev->dev, sdc->num_pchans, in sun6i_dma_probe()
1373 for (i = 0; i < sdc->num_pchans; i++) { in sun6i_dma_probe()