Lines Matching refs:page_size
26 unsigned int page_shift = ilog2(mem->window.page_size); in pci_epc_mem_get_order()
54 size_t page_size; in pci_epc_multi_mem_init() local
70 page_size = windows[i].page_size; in pci_epc_multi_mem_init()
71 if (page_size < PAGE_SIZE) in pci_epc_multi_mem_init()
72 page_size = PAGE_SIZE; in pci_epc_multi_mem_init()
73 page_shift = ilog2(page_size); in pci_epc_multi_mem_init()
94 mem->window.page_size = page_size; in pci_epc_multi_mem_init()
129 size_t size, size_t page_size) in pci_epc_mem_init() argument
135 mem_window.page_size = page_size; in pci_epc_mem_init()
192 align_size = ALIGN(size, mem->window.page_size); in pci_epc_mem_alloc_addr()
198 page_shift = ilog2(mem->window.page_size); in pci_epc_mem_alloc_addr()
249 size_t page_size; in pci_epc_mem_free_addr() local
259 page_size = mem->window.page_size; in pci_epc_mem_free_addr()
260 page_shift = ilog2(page_size); in pci_epc_mem_free_addr()
263 size = ALIGN(size, page_size); in pci_epc_mem_free_addr()