Searched refs:window_shift (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/arch/powerpc/platforms/pseries/ |
D | iommu.c | 407 __be32 window_shift; /* ilog2(tce_window_size) */ member 824 prop->window_shift = p->window_shift; in pci_dma_find() 833 prop->window_shift = cpu_to_be32(order_base_2(size)); in pci_dma_find() 879 1ULL << be32_to_cpu(prop.window_shift), in pci_dma_bus_setup_pSeriesLP() 953 1ULL << (be32_to_cpu(dwp->window_shift) - PAGE_SHIFT), dwp); in clean_dma_window() 1062 static bool find_existing_ddw(struct device_node *pdn, u64 *dma_addr, int *window_shift, in find_existing_ddw() argument 1075 *window_shift = be32_to_cpu(dma64->window_shift); in find_existing_ddw() 1243 int window_shift) in create_ddw() argument 1266 BUID_LO(buid), page_shift, window_shift); in create_ddw() 1272 BUID_LO(buid), page_shift, window_shift, ret, create->liobn, in create_ddw() [all …]
|
/linux-6.12.1/arch/powerpc/platforms/powernv/ |
D | pci-ioda-tce.c | 297 const unsigned int window_shift = ilog2(window_size); in pnv_pci_ioda2_table_alloc_pages() local 298 unsigned int entries_shift = window_shift - page_shift; in pnv_pci_ioda2_table_alloc_pages()
|
D | pci-ioda.c | 1485 const unsigned window_shift = ilog2(window_size); in pnv_pci_ioda2_get_table_size() local 1486 unsigned entries_shift = window_shift - page_shift; in pnv_pci_ioda2_get_table_size()
|