Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/misc/mic/scif/
Dscif_nodeqp.c402 p2p->ppi_sg[SCIF_PPI_MMIO] = scif_p2p_setsg(psdev->mmio->pa, in scif_init_p2p_info()
404 if (!p2p->ppi_sg[SCIF_PPI_MMIO]) in scif_init_p2p_info()
409 p2p->ppi_sg[SCIF_PPI_APER] = scif_p2p_setsg(psdev->aper->pa, in scif_init_p2p_info()
413 err = dma_map_sg(&sdev->dev, p2p->ppi_sg[SCIF_PPI_MMIO], in scif_init_p2p_info()
417 err = dma_map_sg(&sdev->dev, p2p->ppi_sg[SCIF_PPI_APER], in scif_init_p2p_info()
421 p2p->ppi_da[SCIF_PPI_MMIO] = sg_dma_address(p2p->ppi_sg[SCIF_PPI_MMIO]); in scif_init_p2p_info()
422 p2p->ppi_da[SCIF_PPI_APER] = sg_dma_address(p2p->ppi_sg[SCIF_PPI_APER]); in scif_init_p2p_info()
428 dma_unmap_sg(&sdev->dev, p2p->ppi_sg[SCIF_PPI_MMIO], in scif_init_p2p_info()
431 scif_p2p_freesg(p2p->ppi_sg[SCIF_PPI_MMIO]); in scif_init_p2p_info()
432 scif_p2p_freesg(p2p->ppi_sg[SCIF_PPI_APER]); in scif_init_p2p_info()
[all …]
Dscif_main.h138 struct scatterlist *ppi_sg[2]; member