Lines Matching refs:page_order
373 int page_order; in uninorth_create_gatt_table() local
386 size = page_order = num_entries = 0; in uninorth_create_gatt_table()
390 page_order = A_SIZE_32(temp)->page_order; in uninorth_create_gatt_table()
393 table = (char *) __get_free_pages(GFP_KERNEL, page_order); in uninorth_create_gatt_table()
406 uninorth_priv.pages_arr = kmalloc((1 << page_order) * sizeof(struct page*), GFP_KERNEL); in uninorth_create_gatt_table()
410 table_end = table + ((PAGE_SIZE * (1 << page_order)) - 1); in uninorth_create_gatt_table()
422 bridge->gatt_table = vmap(uninorth_priv.pages_arr, (1 << page_order), 0, PAGE_KERNEL_NCG); in uninorth_create_gatt_table()
442 free_pages((unsigned long)table, page_order); in uninorth_create_gatt_table()
448 int page_order; in uninorth_free_gatt_table() local
454 page_order = A_SIZE_32(temp)->page_order; in uninorth_free_gatt_table()
464 table_end = table + ((PAGE_SIZE * (1 << page_order)) - 1); in uninorth_free_gatt_table()
469 free_pages((unsigned long) bridge->gatt_table_real, page_order); in uninorth_free_gatt_table()