Lines Matching refs:window_size
1779 u64 window_size, table_size, tce_count, addr; in pnv_pci_ioda_dma_64bit_bypass() local
1789 window_size = roundup_pow_of_two(memory_hotplug_max() + (1ULL << 32)); in pnv_pci_ioda_dma_64bit_bypass()
1790 tce_count = window_size >> tce_order; in pnv_pci_ioda_dma_64bit_bypass()
2352 int num, __u32 page_shift, __u64 window_size, __u32 levels, in pnv_pci_ioda2_create_table() argument
2369 bus_offset, page_shift, window_size, in pnv_pci_ioda2_create_table()
2409 const u64 window_size = min((maxblock * 8) << PAGE_SHIFT, max_memory); in pnv_pci_ioda2_setup_default_config() local
2411 unsigned long tces_order = ilog2(window_size >> PAGE_SHIFT); in pnv_pci_ioda2_setup_default_config()
2424 window_size, levels, false, &tbl); in pnv_pci_ioda2_setup_default_config()
2434 if (window_size > pe->phb->ioda.m32_pci_base) { in pnv_pci_ioda2_setup_default_config()
2436 res_end = min(window_size, SZ_4G) >> tbl->it_page_shift; in pnv_pci_ioda2_setup_default_config()
2490 __u64 window_size, __u32 levels) in pnv_pci_ioda2_get_table_size() argument
2493 const unsigned window_shift = ilog2(window_size); in pnv_pci_ioda2_get_table_size()
2500 !is_power_of_2(window_size)) in pnv_pci_ioda2_get_table_size()
2523 int num, __u32 page_shift, __u64 window_size, __u32 levels, in pnv_pci_ioda2_create_table_userspace() argument
2527 num, page_shift, window_size, levels, true, ptbl); in pnv_pci_ioda2_create_table_userspace()
2531 page_shift, window_size, levels); in pnv_pci_ioda2_create_table_userspace()