Home
last modified time | relevance | path

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

/Linux-v6.6/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()
1200 priv->pchans = devm_kcalloc(&pdev->dev, SUN4I_DMA_NR_MAX_CHANNELS, in sun4i_dma_probe()
1204 if (!priv->vchans || !priv->pchans) in sun4i_dma_probe()
1213 priv->pchans[i].base = priv->base + in sun4i_dma_probe()
[all …]
Dowl-dma.c234 struct owl_dma_pchan *pchans; member
476 pchan = &od->pchans[i]; in owl_dma_get_pchan()
607 pchan = &od->pchans[i]; in owl_dma_interrupt()
616 pchan = &od->pchans[i]; in owl_dma_interrupt()
643 pchan = &od->pchans[i]; in owl_dma_interrupt()
1172 od->pchans = devm_kcalloc(&pdev->dev, od->nr_pchans, in owl_dma_probe()
1174 if (!od->pchans) in owl_dma_probe()
1178 struct owl_dma_pchan *pchan = &od->pchans[i]; in owl_dma_probe()
Dsun6i-dma.c207 struct sun6i_pchan *pchans; member
508 pchan = &sdev->pchans[pchan_idx]; in sun6i_dma_tasklet()
532 pchan = sdev->pchans + pchan_idx; in sun6i_dma_tasklet()
561 pchan = sdev->pchans + j; in sun6i_dma_interrupt()
1386 sdc->pchans = devm_kcalloc(&pdev->dev, sdc->num_pchans, in sun6i_dma_probe()
1388 if (!sdc->pchans) in sun6i_dma_probe()
1399 struct sun6i_pchan *pchan = &sdc->pchans[i]; in sun6i_dma_probe()