Lines Matching refs:i460
2 * For documentation on the i460 AGP interface, see Chapter 7 (AGP Subsystem) of
28 * The i460 can operate with large (4MB) pages, but there is no sane way to support this
35 # define I460_IO_PAGE_SHIFT i460.io_page_shift
52 * gatt_table entries are 32-bits wide on the i460; the generic code ought to declare the
55 #define RD_GATT(index) readl((u32 *) i460.gatt + (index))
56 #define WR_GATT(index, val) writel((val), (u32 *) i460.gatt + (index))
69 /* i460 supports multiple GART page sizes, so GART pageshift is dynamic: */
82 } i460;
112 i460.io_page_shift = (temp & I460_4M_PS) ? 22 : 12;
113 pr_debug("i460_fetch_size: io_page_shift=%d\n", i460.io_page_shift);
115 if (i460.io_page_shift != I460_IO_PAGE_SHIFT) {
119 1UL << (i460.io_page_shift - 10),
136 if ((i460.io_page_shift == 0) && ((temp & I460_AGPSIZ_MASK) == 4)) {
143 i460.dynamic_apbase = INTEL_I460_BAPBASE;
145 i460.dynamic_apbase = AGP_APBASE;
196 kfree(i460.lp_desc);
219 pci_read_config_dword(agp_bridge->dev, i460.dynamic_apbase, &(temp.small[0]));
220 pci_read_config_dword(agp_bridge->dev, i460.dynamic_apbase + 4, &(temp.small[1]));
234 size = current_size->num_entries * sizeof(i460.lp_desc[0]);
235 i460.lp_desc = kzalloc(size, GFP_KERNEL);
236 if (!i460.lp_desc)
254 i460.gatt = ioremap(INTEL_I460_ATTBASE, PAGE_SIZE << page_order);
255 if (!i460.gatt) {
284 iounmap(i460.gatt);
403 start = &i460.lp_desc[pg_start / I460_KPAGES_PER_IOPAGE];
404 end = &i460.lp_desc[(pg_start + mem->page_count - 1) / I460_KPAGES_PER_IOPAGE];
408 if (end > i460.lp_desc + num_entries) {
432 pg = lp - i460.lp_desc;
461 start = &i460.lp_desc[pg_start / I460_KPAGES_PER_IOPAGE];
462 end = &i460.lp_desc[(pg_start + mem->page_count - 1) / I460_KPAGES_PER_IOPAGE];
478 pg = lp - i460.lp_desc;
626 .name = "agpgart-intel-i460",