• Home
  • Raw
  • Download

Lines Matching refs:agp_bridge

30 	values = A_SIZE_8(agp_bridge->driver->aperture_sizes);  in via_fetch_size()
31 pci_read_config_byte(agp_bridge->dev, VIA_APSIZE, &temp); in via_fetch_size()
32 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) { in via_fetch_size()
34 agp_bridge->previous_size = in via_fetch_size()
35 agp_bridge->current_size = (void *) (values + i); in via_fetch_size()
36 agp_bridge->aperture_size_idx = i; in via_fetch_size()
49 current_size = A_SIZE_8(agp_bridge->current_size); in via_configure()
51 pci_write_config_byte(agp_bridge->dev, VIA_APSIZE, in via_configure()
54 agp_bridge->gart_bus_addr = pci_bus_address(agp_bridge->dev, in via_configure()
58 pci_write_config_dword(agp_bridge->dev, VIA_GARTCTRL, 0x0000000f); in via_configure()
61 pci_write_config_dword(agp_bridge->dev, VIA_ATTBASE, in via_configure()
62 (agp_bridge->gatt_bus_addr & 0xfffff000) | 3); in via_configure()
71 previous_size = A_SIZE_8(agp_bridge->previous_size); in via_cleanup()
72 pci_write_config_byte(agp_bridge->dev, VIA_APSIZE, in via_cleanup()
84 pci_read_config_dword(agp_bridge->dev, VIA_GARTCTRL, &temp); in via_tlbflush()
86 pci_write_config_dword(agp_bridge->dev, VIA_GARTCTRL, temp); in via_tlbflush()
88 pci_write_config_dword(agp_bridge->dev, VIA_GARTCTRL, temp); in via_tlbflush()
112 values = A_SIZE_16(agp_bridge->driver->aperture_sizes); in via_fetch_size_agp3()
113 pci_read_config_word(agp_bridge->dev, VIA_AGP3_APSIZE, &temp); in via_fetch_size_agp3()
116 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) { in via_fetch_size_agp3()
118 agp_bridge->previous_size = in via_fetch_size_agp3()
119 agp_bridge->current_size = (void *) (values + i); in via_fetch_size_agp3()
120 agp_bridge->aperture_size_idx = i; in via_fetch_size_agp3()
133 current_size = A_SIZE_16(agp_bridge->current_size); in via_configure_agp3()
136 agp_bridge->gart_bus_addr = pci_bus_address(agp_bridge->dev, in via_configure_agp3()
140 pci_write_config_dword(agp_bridge->dev, VIA_AGP3_ATTBASE, in via_configure_agp3()
141 agp_bridge->gatt_bus_addr & 0xfffff000); in via_configure_agp3()
148 pci_read_config_dword(agp_bridge->dev, VIA_AGP3_GARTCTRL, &temp); in via_configure_agp3()
149 pci_write_config_dword(agp_bridge->dev, VIA_AGP3_GARTCTRL, temp | (3<<7)); in via_configure_agp3()
158 previous_size = A_SIZE_16(agp_bridge->previous_size); in via_cleanup_agp3()
159 pci_write_config_byte(agp_bridge->dev, VIA_APSIZE, previous_size->size_value); in via_cleanup_agp3()
167 pci_read_config_dword(agp_bridge->dev, VIA_AGP3_GARTCTRL, &temp); in via_tlbflush_agp3()
168 pci_write_config_dword(agp_bridge->dev, VIA_AGP3_GARTCTRL, temp & ~(1<<7)); in via_tlbflush_agp3()
169 pci_write_config_dword(agp_bridge->dev, VIA_AGP3_GARTCTRL, temp); in via_tlbflush_agp3()