Lines Matching refs:agp_bridge
94 pci_read_config_word(agp_bridge->dev, INTEL_APSIZE, &temp); in efficeon_fetch_size()
95 values = A_SIZE_LVL2(agp_bridge->driver->aperture_sizes); in efficeon_fetch_size()
97 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) { in efficeon_fetch_size()
99 agp_bridge->previous_size = in efficeon_fetch_size()
100 agp_bridge->current_size = (void *) (values + i); in efficeon_fetch_size()
101 agp_bridge->aperture_size_idx = i; in efficeon_fetch_size()
112 pci_write_config_dword(agp_bridge->dev, INTEL_AGPCTRL, 0x2200); in efficeon_tlbflush()
113 pci_write_config_dword(agp_bridge->dev, INTEL_AGPCTRL, 0x2280); in efficeon_tlbflush()
122 previous_size = A_SIZE_LVL2(agp_bridge->previous_size); in efficeon_cleanup()
123 pci_read_config_word(agp_bridge->dev, INTEL_NBXCFG, &temp); in efficeon_cleanup()
124 pci_write_config_word(agp_bridge->dev, INTEL_NBXCFG, temp & ~(1 << 9)); in efficeon_cleanup()
125 pci_write_config_word(agp_bridge->dev, INTEL_APSIZE, in efficeon_cleanup()
136 current_size = A_SIZE_LVL2(agp_bridge->current_size); in efficeon_configure()
139 pci_write_config_word(agp_bridge->dev, INTEL_APSIZE, in efficeon_configure()
143 agp_bridge->gart_bus_addr = pci_bus_address(agp_bridge->dev, in efficeon_configure()
147 pci_write_config_dword(agp_bridge->dev, INTEL_AGPCTRL, 0x2280); in efficeon_configure()
150 pci_read_config_word(agp_bridge->dev, INTEL_NBXCFG, &temp2); in efficeon_configure()
151 pci_write_config_word(agp_bridge->dev, INTEL_NBXCFG, in efficeon_configure()
154 pci_write_config_byte(agp_bridge->dev, INTEL_ERRSTS + 1, 7); in efficeon_configure()
171 agp_bridge->dev, EFFICEON_ATTPAGE, index); in efficeon_free_gatt_table()
172 pci_write_config_dword(agp_bridge->dev, in efficeon_free_gatt_table()
187 GET_PAGE_DIR_OFF(agp_bridge->gart_bus_addr))
201 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_create_gatt_table()
219 efficeon_free_gatt_table(agp_bridge); in efficeon_create_gatt_table()
231 pci_write_config_dword(agp_bridge->dev, in efficeon_create_gatt_table()
247 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_insert_memory()
283 agp_bridge->driver->tlb_flush(mem); in efficeon_insert_memory()
293 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_remove_memory()
309 agp_bridge->driver->tlb_flush(mem); in efficeon_remove_memory()