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}
58 int i, err = 0; in ati_create_page_map()
68 for (i = 0; i < PAGE_SIZE / sizeof(unsigned long); i++) { in ati_create_page_map()
73 return 0; in ati_create_page_map()
92 for (i = 0; i < ati_generic_private.num_tables; i++) { in ati_free_gatt_pages()
108 int retval = 0; in ati_create_gatt_pages()
116 for (i = 0; i < nr_tables; i++) { in ati_create_gatt_pages()
124 if (retval != 0) in ati_create_gatt_pages()
130 if (retval != 0) in ati_create_gatt_pages()
143 return 0; in is_r200()
157 temp = (temp & 0x0000000e); in ati_fetch_size()
159 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) { in ati_fetch_size()
169 return 0; in ati_fetch_size()
188 temp = ((temp & ~(0x0000000f)) | previous_size->size_value); in ati_cleanup()
192 temp = ((temp & ~(0x0000000f)) | previous_size->size_value); in ati_cleanup()
212 pci_write_config_dword(agp_bridge->dev, ATI_RS100_IG_AGPMODE, 0x20000); in ati_configure()
214 pci_write_config_dword(agp_bridge->dev, ATI_RS300_IG_AGPMODE, 0x20000); in ati_configure()
222 writel(0x60000, ati_generic_private.registers+ATI_GART_FEATURE_ID); in ati_configure()
233 return 0; in ati_configure()
243 return 0; in agp_ati_suspend()
263 #define GET_GATT_OFF(addr) ((addr & 0x003ff000) >> 12)
279 if (mask_type != 0 || type != mem->type) in ati_insert_memory()
282 if (mem->page_count == 0) in ati_insert_memory()
283 return 0; in ati_insert_memory()
303 for (i = 0, j = pg_start; i < mem->page_count; i++, j++) { in ati_insert_memory()
313 return 0; in ati_insert_memory()
325 if (mask_type != 0 || type != mem->type) in ati_remove_memory()
328 if (mem->page_count == 0) in ati_remove_memory()
329 return 0; in ati_remove_memory()
339 return 0; in ati_remove_memory()
355 if (retval != 0) in ati_create_gatt_table()
359 if (retval != 0) { in ati_create_gatt_table()
373 temp = (((temp & ~(0x0000000e)) | current_size->size_value) in ati_create_gatt_table()
374 | 0x00000001); in ati_create_gatt_table()
379 temp = (((temp & ~(0x0000000e)) | current_size->size_value) in ati_create_gatt_table()
380 | 0x00000001); in ati_create_gatt_table()
394 for (i = 0; i < value->num_entries / 1024; i++, addr += 0x00400000) { in ati_create_gatt_table()
400 for (i = 0; i < value->num_entries; i++) { in ati_create_gatt_table()
406 return 0; in ati_create_gatt_table()
418 return 0; in ati_free_gatt_table()
506 for (j = 0; devs[j].chipset_name; j++) { in agp_ati_probe()
547 .class_mask = ~0,