Lines Matching refs:pchans
175 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()
1219 priv->pchans[i].base = priv->base + in sun4i_dma_probe()
1221 priv->pchans[i].is_dedicated = 1; in sun4i_dma_probe()