nvidia_private 35 drivers/char/agp/nvidia-agp.c } nvidia_private; nvidia_private 123 drivers/char/agp/nvidia-agp.c pci_write_config_dword(nvidia_private.dev_2, NVIDIA_2_APBASE, apbase); nvidia_private 124 drivers/char/agp/nvidia-agp.c pci_write_config_dword(nvidia_private.dev_2, NVIDIA_2_APLIMIT, aplimit); nvidia_private 125 drivers/char/agp/nvidia-agp.c pci_write_config_dword(nvidia_private.dev_3, NVIDIA_3_APBASE, apbase); nvidia_private 126 drivers/char/agp/nvidia-agp.c pci_write_config_dword(nvidia_private.dev_3, NVIDIA_3_APLIMIT, aplimit); nvidia_private 132 drivers/char/agp/nvidia-agp.c nvidia_private.num_active_entries = current_size->num_entries; nvidia_private 133 drivers/char/agp/nvidia-agp.c nvidia_private.pg_offset = 0; nvidia_private 136 drivers/char/agp/nvidia-agp.c nvidia_private.num_active_entries /= (64 / current_size->size); nvidia_private 137 drivers/char/agp/nvidia-agp.c nvidia_private.pg_offset = (apbase & (64 * 1024 * 1024 - 1) & nvidia_private 143 drivers/char/agp/nvidia-agp.c pci_write_config_dword(nvidia_private.dev_2, NVIDIA_2_ATTBASE(i), nvidia_private 148 drivers/char/agp/nvidia-agp.c pci_read_config_dword(nvidia_private.dev_2, NVIDIA_2_GARTCTRL, &temp); nvidia_private 149 drivers/char/agp/nvidia-agp.c pci_write_config_dword(nvidia_private.dev_2, NVIDIA_2_GARTCTRL, temp | 0x11); nvidia_private 157 drivers/char/agp/nvidia-agp.c nvidia_private.aperture = nvidia_private 160 drivers/char/agp/nvidia-agp.c if (!nvidia_private.aperture) nvidia_private 176 drivers/char/agp/nvidia-agp.c pci_read_config_dword(nvidia_private.dev_2, NVIDIA_2_GARTCTRL, &temp); nvidia_private 177 drivers/char/agp/nvidia-agp.c pci_write_config_dword(nvidia_private.dev_2, NVIDIA_2_GARTCTRL, temp & ~(0x11)); nvidia_private 180 drivers/char/agp/nvidia-agp.c iounmap((void __iomem *) nvidia_private.aperture); nvidia_private 214 drivers/char/agp/nvidia-agp.c (nvidia_private.num_active_entries - agp_memory_reserved/PAGE_SIZE)) nvidia_private 218 drivers/char/agp/nvidia-agp.c if (!PGE_EMPTY(agp_bridge, readl(agp_bridge->gatt_table+nvidia_private.pg_offset+j))) nvidia_private 229 drivers/char/agp/nvidia-agp.c agp_bridge->gatt_table+nvidia_private.pg_offset+j); nvidia_private 233 drivers/char/agp/nvidia-agp.c readl(agp_bridge->gatt_table+nvidia_private.pg_offset+j - 1); nvidia_private 254 drivers/char/agp/nvidia-agp.c writel(agp_bridge->scratch_page, agp_bridge->gatt_table+nvidia_private.pg_offset+i); nvidia_private 268 drivers/char/agp/nvidia-agp.c if (nvidia_private.wbc_mask) { nvidia_private 269 drivers/char/agp/nvidia-agp.c pci_read_config_dword(nvidia_private.dev_1, NVIDIA_1_WBC, &wbc_reg); nvidia_private 270 drivers/char/agp/nvidia-agp.c wbc_reg |= nvidia_private.wbc_mask; nvidia_private 271 drivers/char/agp/nvidia-agp.c pci_write_config_dword(nvidia_private.dev_1, NVIDIA_1_WBC, wbc_reg); nvidia_private 275 drivers/char/agp/nvidia-agp.c pci_read_config_dword(nvidia_private.dev_1, nvidia_private 281 drivers/char/agp/nvidia-agp.c } while (wbc_reg & nvidia_private.wbc_mask); nvidia_private 286 drivers/char/agp/nvidia-agp.c temp = readl(nvidia_private.aperture+(i * PAGE_SIZE / sizeof(u32))); nvidia_private 288 drivers/char/agp/nvidia-agp.c temp = readl(nvidia_private.aperture+(i * PAGE_SIZE / sizeof(u32))); nvidia_private 342 drivers/char/agp/nvidia-agp.c nvidia_private.dev_1 = nvidia_private 346 drivers/char/agp/nvidia-agp.c nvidia_private.dev_2 = nvidia_private 350 drivers/char/agp/nvidia-agp.c nvidia_private.dev_3 = nvidia_private 355 drivers/char/agp/nvidia-agp.c if (!nvidia_private.dev_1 || !nvidia_private.dev_2 || !nvidia_private.dev_3) { nvidia_private 368 drivers/char/agp/nvidia-agp.c nvidia_private.wbc_mask = 0x00010000; nvidia_private 372 drivers/char/agp/nvidia-agp.c nvidia_private.wbc_mask = 0x80000000; nvidia_private 385 drivers/char/agp/nvidia-agp.c bridge->dev_private_data = &nvidia_private, nvidia_private 472 drivers/char/agp/nvidia-agp.c pci_dev_put(nvidia_private.dev_1); nvidia_private 473 drivers/char/agp/nvidia-agp.c pci_dev_put(nvidia_private.dev_2); nvidia_private 474 drivers/char/agp/nvidia-agp.c pci_dev_put(nvidia_private.dev_3);