Searched refs:window_shift (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/arch/powerpc/platforms/pseries/ |
D | iommu.c | 349 __be32 window_shift; /* ilog2(tce_window_size) */ member 829 1ULL << (be32_to_cpu(dwp->window_shift) - PAGE_SHIFT), dwp); in clean_dma_window() 898 static bool find_existing_ddw(struct device_node *pdn, u64 *dma_addr, int *window_shift) in find_existing_ddw() argument 910 *window_shift = be32_to_cpu(dma64->window_shift); in find_existing_ddw() 1070 int window_shift) in create_ddw() argument 1093 BUID_LO(buid), page_shift, window_shift); in create_ddw() 1099 BUID_LO(buid), page_shift, window_shift, ret, create->liobn, in create_ddw() 1200 u32 page_shift, u32 window_shift) in ddw_property_create() argument 1223 ddwprop->window_shift = cpu_to_be32(window_shift); in ddw_property_create()
|
/Linux-v6.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 | 1836 const unsigned window_shift = ilog2(window_size); in pnv_pci_ioda2_get_table_size() local 1837 unsigned entries_shift = window_shift - page_shift; in pnv_pci_ioda2_get_table_size()
|