Searched refs:num_pchans (Results 1 – 1 of 1) sorted by relevance
210 u32 num_pchans; member507 for (pchan_idx = 0; pchan_idx < sdev->num_pchans; pchan_idx++) { in sun6i_dma_tasklet()528 for (pchan_idx = 0; pchan_idx < sdev->num_pchans; pchan_idx++) { in sun6i_dma_tasklet()550 for (i = 0; i < sdev->num_pchans / DMA_IRQ_CHAN_NR; i++) { in sun6i_dma_interrupt()1362 sdc->num_pchans = sdc->cfg->nr_max_channels; in sun6i_dma_probe()1366 ret = of_property_read_u32(np, "dma-channels", &sdc->num_pchans); in sun6i_dma_probe()1367 if (ret && !sdc->num_pchans) { in sun6i_dma_probe()1386 sdc->pchans = devm_kcalloc(&pdev->dev, sdc->num_pchans, in sun6i_dma_probe()1398 for (i = 0; i < sdc->num_pchans; i++) { in sun6i_dma_probe()