Searched refs:tce_mem (Results 1 – 4 of 4) sorted by relevance
/arch/powerpc/platforms/powernv/ |
D | pci-p5ioc2.c | 99 void *tce_mem, u64 tce_size) in pnv_pci_init_p5ioc2_phb() argument 116 pr_devel(" TCE AT : 0x%016lx\n", __pa(tce_mem)); in pnv_pci_init_p5ioc2_phb() 119 rc = opal_pci_set_phb_tce_memory(phb_id, __pa(tce_mem), tce_size); in pnv_pci_init_p5ioc2_phb() 175 tce_mem, tce_size, 0, in pnv_pci_init_p5ioc2_phb() 184 void *tce_mem; in pnv_pci_init_p5ioc2_hub() local 203 tce_mem = __alloc_bootmem(P5IOC2_TCE_MEMORY, P5IOC2_TCE_MEMORY, in pnv_pci_init_p5ioc2_hub() 205 if (!tce_mem) { in pnv_pci_init_p5ioc2_hub() 210 __pa(tce_mem), __pa(tce_mem) + P5IOC2_TCE_MEMORY - 1); in pnv_pci_init_p5ioc2_hub() 211 rc = opal_pci_set_hub_tce_memory(hub_id, __pa(tce_mem), in pnv_pci_init_p5ioc2_hub() 235 tce_mem, tce_per_phb); in pnv_pci_init_p5ioc2_hub() [all …]
|
D | pci-ioda.c | 1033 struct page *tce_mem = NULL; in pnv_pci_ioda_setup_dma_pe() local 1061 tce_mem = alloc_pages_node(phb->hose->node, GFP_KERNEL, in pnv_pci_ioda_setup_dma_pe() 1063 if (!tce_mem) { in pnv_pci_ioda_setup_dma_pe() 1067 addr = page_address(tce_mem); in pnv_pci_ioda_setup_dma_pe() 1117 if (tce_mem) in pnv_pci_ioda_setup_dma_pe() 1118 __free_pages(tce_mem, get_order(TCE32_TABLE_SIZE * segs)); in pnv_pci_ioda_setup_dma_pe() 1178 struct page *tce_mem = NULL; in pnv_pci_ioda2_setup_dma_pe() local 1197 tce_mem = alloc_pages_node(phb->hose->node, GFP_KERNEL, in pnv_pci_ioda2_setup_dma_pe() 1199 if (!tce_mem) { in pnv_pci_ioda2_setup_dma_pe() 1203 addr = page_address(tce_mem); in pnv_pci_ioda2_setup_dma_pe() [all …]
|
D | pci.h | 227 void *tce_mem, u64 tce_size,
|
D | pci.c | 671 void *tce_mem, u64 tce_size, in pnv_pci_setup_iommu_table() argument 675 tbl->it_base = (unsigned long)tce_mem; in pnv_pci_setup_iommu_table()
|