Searched refs:amd_irongate_private (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/char/agp/
H A Damd-k7-agp.c34 } amd_irongate_private; variable in typeref:struct:_amd_irongate_private
67 tables = amd_irongate_private.gatt_pages; amd_free_gatt_pages()
68 for (i = 0; i < amd_irongate_private.num_tables; i++) { amd_free_gatt_pages()
77 amd_irongate_private.gatt_pages = NULL; amd_free_gatt_pages()
102 amd_irongate_private.num_tables = i; amd_create_gatt_pages()
103 amd_irongate_private.gatt_pages = tables; amd_create_gatt_pages()
119 #define GET_GATT(addr) (amd_irongate_private.gatt_pages[\
156 writel(virt_to_phys(amd_irongate_private.gatt_pages[i]->real) | 1, amd_create_gatt_table()
214 if (!amd_irongate_private.registers) { amd_irongate_configure()
217 amd_irongate_private.registers = (volatile u8 __iomem *) ioremap(reg, 4096); amd_irongate_configure()
218 if (!amd_irongate_private.registers) amd_irongate_configure()
223 writel(agp_bridge->gatt_bus_addr, amd_irongate_private.registers+AMD_ATTBASE); amd_irongate_configure()
224 readl(amd_irongate_private.registers+AMD_ATTBASE); /* PCI Posting. */ amd_irongate_configure()
233 enable_reg = readw(amd_irongate_private.registers+AMD_GARTENABLE); amd_irongate_configure()
235 writew(enable_reg, amd_irongate_private.registers+AMD_GARTENABLE); amd_irongate_configure()
236 readw(amd_irongate_private.registers+AMD_GARTENABLE); /* PCI Posting. */ amd_irongate_configure()
244 writel(1, amd_irongate_private.registers+AMD_TLBFLUSH); amd_irongate_configure()
245 readl(amd_irongate_private.registers+AMD_TLBFLUSH); /* PCI Posting.*/ amd_irongate_configure()
257 enable_reg = readw(amd_irongate_private.registers+AMD_GARTENABLE); amd_irongate_cleanup()
259 writew(enable_reg, amd_irongate_private.registers+AMD_GARTENABLE); amd_irongate_cleanup()
260 readw(amd_irongate_private.registers+AMD_GARTENABLE); /* PCI Posting. */ amd_irongate_cleanup()
266 iounmap((void __iomem *) amd_irongate_private.registers); amd_irongate_cleanup()
279 writel(1, amd_irongate_private.registers+AMD_TLBFLUSH); amd_irongate_tlbflush()
280 readl(amd_irongate_private.registers+AMD_TLBFLUSH); /* PCI Posting. */ amd_irongate_tlbflush()
426 bridge->dev_private_data = &amd_irongate_private, agp_amdk7_probe()

Completed in 49 milliseconds