Searched refs:tce_mem (Results 1 – 4 of 4) sorted by relevance
/arch/powerpc/platforms/powernv/ |
D | pci-p5ioc2.c | 98 void *tce_mem, u64 tce_size) in pnv_pci_init_p5ioc2_phb() argument 115 pr_devel(" TCE AT : 0x%016lx\n", __pa(tce_mem)); in pnv_pci_init_p5ioc2_phb() 118 rc = opal_pci_set_phb_tce_memory(phb_id, __pa(tce_mem), tce_size); in pnv_pci_init_p5ioc2_phb() 173 tce_mem, tce_size, 0); in pnv_pci_init_p5ioc2_phb() 181 void *tce_mem; in pnv_pci_init_p5ioc2_hub() local 200 tce_mem = __alloc_bootmem(P5IOC2_TCE_MEMORY, P5IOC2_TCE_MEMORY, in pnv_pci_init_p5ioc2_hub() 202 if (!tce_mem) { in pnv_pci_init_p5ioc2_hub() 207 __pa(tce_mem), __pa(tce_mem) + P5IOC2_TCE_MEMORY - 1); in pnv_pci_init_p5ioc2_hub() 208 rc = opal_pci_set_hub_tce_memory(hub_id, __pa(tce_mem), in pnv_pci_init_p5ioc2_hub() 231 pnv_pci_init_p5ioc2_phb(phbn, tce_mem, tce_per_phb); in pnv_pci_init_p5ioc2_hub() [all …]
|
D | pci.h | 142 void *tce_mem, u64 tce_size,
|
D | pci-ioda.c | 889 struct page *tce_mem = NULL; in pnv_pci_ioda_setup_dma_pe() local 917 tce_mem = alloc_pages_node(phb->hose->node, GFP_KERNEL, in pnv_pci_ioda_setup_dma_pe() 919 if (!tce_mem) { in pnv_pci_ioda_setup_dma_pe() 923 addr = page_address(tce_mem); in pnv_pci_ioda_setup_dma_pe() 970 if (tce_mem) in pnv_pci_ioda_setup_dma_pe() 971 __free_pages(tce_mem, get_order(TCE32_TABLE_SIZE * segs)); in pnv_pci_ioda_setup_dma_pe()
|
D | pci.c | 451 void *tce_mem, u64 tce_size, in pnv_pci_setup_iommu_table() argument 455 tbl->it_base = (unsigned long)tce_mem; in pnv_pci_setup_iommu_table()
|