Lines Matching refs:agp_bridge
111 pci_read_config_byte(agp_bridge->dev, INTEL_I460_GXBCTL, &temp); in i460_fetch_size()
124 values = A_SIZE_8(agp_bridge->driver->aperture_sizes); in i460_fetch_size()
126 pci_read_config_byte(agp_bridge->dev, INTEL_I460_AGPSIZ, &temp); in i460_fetch_size()
147 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) { in i460_fetch_size()
157 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) { in i460_fetch_size()
160 agp_bridge->previous_size = agp_bridge->current_size = (void *) (values + i); in i460_fetch_size()
161 agp_bridge->aperture_size_idx = i; in i460_fetch_size()
183 pci_read_config_byte(agp_bridge->dev, INTEL_I460_AGPSIZ, &temp); in i460_write_agpsiz()
184 pci_write_config_byte(agp_bridge->dev, INTEL_I460_AGPSIZ, in i460_write_agpsiz()
192 previous_size = A_SIZE_8(agp_bridge->previous_size); in i460_cleanup()
211 current_size = A_SIZE_8(agp_bridge->current_size); in i460_configure()
219 pci_read_config_dword(agp_bridge->dev, i460.dynamic_apbase, &(temp.small[0])); in i460_configure()
220 pci_read_config_dword(agp_bridge->dev, i460.dynamic_apbase + 4, &(temp.small[1])); in i460_configure()
223 agp_bridge->gart_bus_addr = temp.large & ~((1UL << 3) - 1); in i460_configure()
225 pci_read_config_byte(agp_bridge->dev, INTEL_I460_GXBCTL, &scratch); in i460_configure()
226 pci_write_config_byte(agp_bridge->dev, INTEL_I460_GXBCTL, in i460_configure()
250 temp = agp_bridge->current_size; in i460_create_gatt_table()
261 agp_bridge->gatt_table_real = NULL; in i460_create_gatt_table()
262 agp_bridge->gatt_table = NULL; in i460_create_gatt_table()
263 agp_bridge->gatt_bus_addr = 0; in i460_create_gatt_table()
276 temp = agp_bridge->current_size; in i460_free_gatt_table()
308 temp = agp_bridge->current_size; in i460_insert_memory_small_io_page()
318 if (!PGE_EMPTY(agp_bridge, RD_GATT(j))) { in i460_insert_memory_small_io_page()
330 WR_GATT(j, i460_mask_memory(agp_bridge, paddr, mem->type)); in i460_insert_memory_small_io_page()
387 atomic_add(I460_KPAGES_PER_IOPAGE, &agp_bridge->current_memory_agp); in i460_alloc_large_page()
397 atomic_sub(I460_KPAGES_PER_IOPAGE, &agp_bridge->current_memory_agp); in i460_free_large_page()
410 temp = agp_bridge->current_size; in i460_insert_memory_large_io_page()
444 WR_GATT(pg, i460_mask_memory(agp_bridge, in i460_insert_memory_large_io_page()
468 temp = agp_bridge->current_size; in i460_remove_memory_large_io_page()
531 page = agp_generic_alloc_page(agp_bridge); in i460_alloc_page()