Searched refs:tce_size (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/arch/powerpc/platforms/powernv/
H A Dpci-p5ioc2.c123 void *tce_mem, u64 tce_size) pnv_pci_init_p5ioc2_phb()
143 pr_devel(" TCE SZ : 0x%016llx\n", tce_size); pnv_pci_init_p5ioc2_phb()
145 rc = opal_pci_set_phb_tce_memory(phb_id, __pa(tce_mem), tce_size); pnv_pci_init_p5ioc2_phb()
199 tce_mem, tce_size, 0, pnv_pci_init_p5ioc2_phb()
122 pnv_pci_init_p5ioc2_phb(struct device_node *np, u64 hub_id, void *tce_mem, u64 tce_size) pnv_pci_init_p5ioc2_phb() argument
H A Dpci.h227 void *tce_mem, u64 tce_size,
H A Dpci.c731 void *tce_mem, u64 tce_size, pnv_pci_setup_iommu_table()
739 tbl->it_size = tce_size >> 3; pnv_pci_setup_iommu_table()
730 pnv_pci_setup_iommu_table(struct iommu_table *tbl, void *tce_mem, u64 tce_size, u64 dma_offset, unsigned page_shift) pnv_pci_setup_iommu_table() argument
/linux-4.4.14/arch/powerpc/platforms/pseries/
H A Diommu.c428 u64 tce_size, num_tce, dma_offset, next; tce_clearrange_multi_pSeriesLP() local
433 tce_size = 1ULL << tce_shift; tce_clearrange_multi_pSeriesLP()
438 num_tce += next & (tce_size - 1); tce_clearrange_multi_pSeriesLP()
439 next &= ~(tce_size - 1); tce_clearrange_multi_pSeriesLP()
442 num_tce |= tce_size - 1; tce_clearrange_multi_pSeriesLP()
456 next += limit * tce_size; tce_clearrange_multi_pSeriesLP()
467 u64 tce_size, num_tce, dma_offset, next, proto_tce, liobn; tce_setrange_multi_pSeriesLP() local
489 tce_size = 1ULL << tce_shift; tce_setrange_multi_pSeriesLP()
494 num_tce += next & (tce_size - 1); tce_setrange_multi_pSeriesLP()
495 next &= ~(tce_size - 1); tce_setrange_multi_pSeriesLP()
498 num_tce |= tce_size - 1; tce_setrange_multi_pSeriesLP()
512 next += tce_size; tce_setrange_multi_pSeriesLP()

Completed in 108 milliseconds