Home
last modified time | relevance | path

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

/drivers/dma/
Dsun4i-dma.c175 struct sun4i_dma_pchan *pchans; member
231 struct sun4i_dma_pchan *pchan = NULL, *pchans = priv->pchans; in find_and_use_pchan() local
249 pchan = &pchans[i]; in find_and_use_pchan()
263 int nr = pchan - priv->pchans; in release_pchan()
299 int pchan_number = pchan - priv->pchans; in set_pchan_interrupt()
1033 struct sun4i_dma_pchan *pchans = priv->pchans, *pchan; in sun4i_dma_interrupt() local
1048 pchan = &pchans[bit >> 1]; in sun4i_dma_interrupt()
1202 priv->pchans = devm_kcalloc(&pdev->dev, SUN4I_DMA_NR_MAX_CHANNELS, in sun4i_dma_probe()
1206 if (!priv->vchans || !priv->pchans) in sun4i_dma_probe()
1215 priv->pchans[i].base = priv->base + in sun4i_dma_probe()
[all …]
Dowl-dma.c233 struct owl_dma_pchan *pchans; member
475 pchan = &od->pchans[i]; in owl_dma_get_pchan()
606 pchan = &od->pchans[i]; in owl_dma_interrupt()
615 pchan = &od->pchans[i]; in owl_dma_interrupt()
642 pchan = &od->pchans[i]; in owl_dma_interrupt()
1171 od->pchans = devm_kcalloc(&pdev->dev, od->nr_pchans, in owl_dma_probe()
1173 if (!od->pchans) in owl_dma_probe()
1177 struct owl_dma_pchan *pchan = &od->pchans[i]; in owl_dma_probe()
Dsun6i-dma.c206 struct sun6i_pchan *pchans; member
507 pchan = &sdev->pchans[pchan_idx]; in sun6i_dma_tasklet()
531 pchan = sdev->pchans + pchan_idx; in sun6i_dma_tasklet()
560 pchan = sdev->pchans + j; in sun6i_dma_interrupt()
1385 sdc->pchans = devm_kcalloc(&pdev->dev, sdc->num_pchans, in sun6i_dma_probe()
1387 if (!sdc->pchans) in sun6i_dma_probe()
1398 struct sun6i_pchan *pchan = &sdc->pchans[i]; in sun6i_dma_probe()