Lines Matching refs:table
366 char *table; in uninorth_create_gatt_table() local
380 table = NULL; in uninorth_create_gatt_table()
390 table = (char *) __get_free_pages(GFP_KERNEL, page_order); in uninorth_create_gatt_table()
392 if (table == NULL) { in uninorth_create_gatt_table()
398 } while (!table && (i < bridge->driver->num_aperture_sizes)); in uninorth_create_gatt_table()
400 if (table == NULL) in uninorth_create_gatt_table()
407 table_end = table + ((PAGE_SIZE * (1 << page_order)) - 1); in uninorth_create_gatt_table()
409 for (page = virt_to_page(table), i = 0; page <= virt_to_page(table_end); in uninorth_create_gatt_table()
415 bridge->gatt_table_real = (u32 *) table; in uninorth_create_gatt_table()
417 flush_dcache_range((unsigned long)table, in uninorth_create_gatt_table()
424 bridge->gatt_bus_addr = virt_to_phys(table); in uninorth_create_gatt_table()
438 if (table) in uninorth_create_gatt_table()
439 free_pages((unsigned long)table, page_order); in uninorth_create_gatt_table()
446 char *table, *table_end; in uninorth_free_gatt_table() local
459 table = (char *) bridge->gatt_table_real; in uninorth_free_gatt_table()
460 table_end = table + ((PAGE_SIZE * (1 << page_order)) - 1); in uninorth_free_gatt_table()
462 for (page = virt_to_page(table); page <= virt_to_page(table_end); page++) in uninorth_free_gatt_table()