Searched refs:apbase (Results 1 – 2 of 2) sorted by relevance
/drivers/char/agp/ |
D | nvidia-agp.c | 108 u32 apbase, aplimit; in nvidia_configure() local 120 apbase = pci_bus_address(agp_bridge->dev, AGP_APERTURE_BAR); in nvidia_configure() 121 agp_bridge->gart_bus_addr = apbase; in nvidia_configure() 122 aplimit = apbase + (current_size->size * 1024 * 1024) - 1; in nvidia_configure() 123 pci_write_config_dword(nvidia_private.dev_2, NVIDIA_2_APBASE, apbase); in nvidia_configure() 125 pci_write_config_dword(nvidia_private.dev_3, NVIDIA_3_APBASE, apbase); in nvidia_configure() 127 if (0 != (rc = nvidia_init_iorr(apbase, current_size->size * 1024 * 1024))) in nvidia_configure() 137 nvidia_private.pg_offset = (apbase & (64 * 1024 * 1024 - 1) & in nvidia_configure()
|
D | amd64-agp.c | 454 u32 tmp, apbase, apbar, aplimit; in nforce3_agp_init() local 484 &apbase); in nforce3_agp_init() 487 if ( (apbase & 0x7fff) >> (32 - 25) ) { in nforce3_agp_init() 493 apbase = (apbase & 0x7fff) << 25; in nforce3_agp_init() 497 apbar |= apbase; in nforce3_agp_init() 500 aplimit = apbase + (size * 1024 * 1024) - 1; in nforce3_agp_init() 501 pci_write_config_dword(dev1, NVIDIA_X86_64_1_APBASE1, apbase); in nforce3_agp_init() 503 pci_write_config_dword(dev1, NVIDIA_X86_64_1_APBASE2, apbase); in nforce3_agp_init()
|