Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ppc/
H A Dspapr_rtas_ddw.c151 uint32_t addr, page_shift, window_shift, liobn; in rtas_ibm_create_pe_dma_window() local
167 window_shift = rtas_ld(args, 4); in rtas_ibm_create_pe_dma_window()
172 (window_shift < page_shift)) { in rtas_ibm_create_pe_dma_window()
196 1ULL << (window_shift - page_shift)); in rtas_ibm_create_pe_dma_window()
203 1ULL << window_shift, tcet->bus_offset, liobn); in rtas_ibm_create_pe_dma_window()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Diommu.c369 __be32 window_shift; /* ilog2(tce_window_size) */ member
756 prop->window_shift = p->window_shift; in pci_dma_find()
765 prop->window_shift = cpu_to_be32(order_base_2(size)); in pci_dma_find()
811 1ULL << be32_to_cpu(prop.window_shift), in pci_dma_bus_setup_pSeriesLP()
892 1ULL << (be32_to_cpu(dwp->window_shift) - PAGE_SHIFT), dwp); in clean_dma_window()
974 *window_shift = be32_to_cpu(dma64->window_shift); in find_existing_ddw()
1142 int window_shift) in create_ddw() argument
1165 BUID_LO(buid), page_shift, window_shift); in create_ddw()
1261 u32 page_shift, u32 window_shift) in ddw_property_create() argument
1284 ddwprop->window_shift = cpu_to_be32(window_shift); in ddw_property_create()
[all …]
/openbmc/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.c1485 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()