Lines Matching +full:0 +full:x0000000e
17 #define ATI_RS100_APSIZE 0xac
18 #define ATI_RS100_IG_AGPMODE 0xb0
19 #define ATI_RS300_APSIZE 0xf8
20 #define ATI_RS300_IG_AGPMODE 0xfc
21 #define ATI_GART_FEATURE_ID 0x00
22 #define ATI_GART_BASE 0x04
23 #define ATI_GART_CACHE_SZBASE 0x08
24 #define ATI_GART_CACHE_CNTRL 0x0c
25 #define ATI_GART_CACHE_ENTRY_CNTRL 0x10
30 {2048, 524288, 0x0000000c},
31 {1024, 262144, 0x0000000a},
32 {512, 131072, 0x00000008},
33 {256, 65536, 0x00000006},
34 {128, 32768, 0x00000004},
35 {64, 16384, 0x00000002},
36 {32, 8192, 0x00000000}
41 { .mask = 1, .type = 0}
72 for (i = 0; i < PAGE_SIZE / sizeof(unsigned long); i++) { in ati_create_page_map()
77 return 0; in ati_create_page_map()
96 for (i = 0; i < ati_generic_private.num_tables; i++) { in ati_free_gatt_pages()
112 int retval = 0; in ati_create_gatt_pages()
120 for (i = 0; i < nr_tables; i++) { in ati_create_gatt_pages()
128 if (retval != 0) in ati_create_gatt_pages()
134 if (retval != 0) in ati_create_gatt_pages()
147 return 0; in is_r200()
161 temp = (temp & 0x0000000e); in ati_fetch_size()
163 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) { in ati_fetch_size()
173 return 0; in ati_fetch_size()
192 temp = ((temp & ~(0x0000000f)) | previous_size->size_value); in ati_cleanup()
196 temp = ((temp & ~(0x0000000f)) | previous_size->size_value); in ati_cleanup()
216 pci_write_config_dword(agp_bridge->dev, ATI_RS100_IG_AGPMODE, 0x20000); in ati_configure()
218 pci_write_config_dword(agp_bridge->dev, ATI_RS300_IG_AGPMODE, 0x20000); in ati_configure()
226 writel(0x60000, ati_generic_private.registers+ATI_GART_FEATURE_ID); in ati_configure()
237 return 0; in ati_configure()
247 return 0; in agp_ati_suspend()
267 #define GET_GATT_OFF(addr) ((addr & 0x003ff000) >> 12)
283 if (mask_type != 0 || type != mem->type) in ati_insert_memory()
286 if (mem->page_count == 0) in ati_insert_memory()
287 return 0; in ati_insert_memory()
307 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { in ati_insert_memory()
317 return 0; in ati_insert_memory()
329 if (mask_type != 0 || type != mem->type) in ati_remove_memory()
332 if (mem->page_count == 0) in ati_remove_memory()
333 return 0; in ati_remove_memory()
343 return 0; in ati_remove_memory()
359 if (retval != 0) in ati_create_gatt_table()
363 if (retval != 0) { in ati_create_gatt_table()
377 temp = (((temp & ~(0x0000000e)) | current_size->size_value) in ati_create_gatt_table()
378 | 0x00000001); in ati_create_gatt_table()
383 temp = (((temp & ~(0x0000000e)) | current_size->size_value) in ati_create_gatt_table()
384 | 0x00000001); in ati_create_gatt_table()
398 for (i = 0; i < value->num_entries / 1024; i++, addr += 0x00400000) { in ati_create_gatt_table()
404 for (i = 0; i < value->num_entries; i++) { in ati_create_gatt_table()
410 return 0; in ati_create_gatt_table()
422 return 0; in ati_free_gatt_table()
510 for (j = 0; devs[j].chipset_name; j++) { in agp_ati_probe()
551 .class_mask = ~0,