Home
last modified time | relevance | path

Searched refs:window_shift (Results 1 – 3 of 3) sorted by relevance

/linux/arch/powerpc/platforms/pseries/
H A Diommu.c408 __be32 window_shift; /* ilog2(tce_window_size) */ member
825 prop->window_shift = p->window_shift; in pci_dma_find()
834 prop->window_shift = cpu_to_be32(order_base_2(size)); in pci_dma_find()
880 1ULL << be32_to_cpu(prop.window_shift), in pci_dma_bus_setup_pSeriesLP()
954 1ULL << (be32_to_cpu(dwp->window_shift) - PAGE_SHIFT), dwp); in clean_dma_window()
1063 static bool find_existing_ddw(struct device_node *pdn, u64 *dma_addr, int *window_shift, in find_existing_ddw() argument
1076 *window_shift = be32_to_cpu(dma64->window_shift); in find_existing_ddw()
1244 int window_shift) in create_ddw() argument
1267 BUID_LO(buid), page_shift, window_shift); in create_ddw()
1273 BUID_LO(buid), page_shift, window_shift, ret, create->liobn, in create_ddw()
[all …]
/linux/arch/powerpc/platforms/powernv/
H A Dpci-ioda-tce.c297 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()
H A Dpci-ioda.c1483 const unsigned window_shift = ilog2(window_size); in pnv_pci_ioda2_get_table_size() local
1484 unsigned entries_shift = window_shift - page_shift; in pnv_pci_ioda2_get_table_size()