Home
last modified time | relevance | path

Searched refs:apbase (Results 1 – 2 of 2) sorted by relevance

/drivers/char/agp/
Dnvidia-agp.c108 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()
Damd64-agp.c453 u32 tmp, apbase, apbar, aplimit; in nforce3_agp_init() local
483 &apbase); in nforce3_agp_init()
486 if ( (apbase & 0x7fff) >> (32 - 25) ) { in nforce3_agp_init()
492 apbase = (apbase & 0x7fff) << 25; in nforce3_agp_init()
496 apbar |= apbase; in nforce3_agp_init()
499 aplimit = apbase + (size * 1024 * 1024) - 1; in nforce3_agp_init()
500 pci_write_config_dword(dev1, NVIDIA_X86_64_1_APBASE1, apbase); in nforce3_agp_init()
502 pci_write_config_dword(dev1, NVIDIA_X86_64_1_APBASE2, apbase); in nforce3_agp_init()