Searched refs:tce32_segsz (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/arch/powerpc/platforms/powernv/ |
D | pci-ioda.c | 1511 unsigned int tce32_segsz, base, segs, avail, i; in pnv_pci_ioda1_setup_dma_pe() local 1576 tce32_segsz = PNV_IODA1_DMA32_SEGSIZE >> (IOMMU_PAGE_SHIFT_4K - 3); in pnv_pci_ioda1_setup_dma_pe() 1578 get_order(tce32_segsz * segs)); in pnv_pci_ioda1_setup_dma_pe() 1584 memset(addr, 0, tce32_segsz * segs); in pnv_pci_ioda1_setup_dma_pe() 1591 __pa(addr) + tce32_segsz * i, in pnv_pci_ioda1_setup_dma_pe() 1592 tce32_segsz, IOMMU_PAGE_SIZE_4K); in pnv_pci_ioda1_setup_dma_pe() 1605 pnv_pci_setup_iommu_table(tbl, addr, tce32_segsz * segs, in pnv_pci_ioda1_setup_dma_pe() 1621 __free_pages(tce_mem, get_order(tce32_segsz * segs)); in pnv_pci_ioda1_setup_dma_pe()
|