• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/alpha/kernel/

Lines Matching defs:io7

51 static struct io7 *io7_head = NULL;
94 inline struct io7 *
95 marvel_next_io7(struct io7 *prev)
100 struct io7 *
103 struct io7 *io7;
105 for (io7 = io7_head; io7 && io7->pe != pe; io7 = io7->next)
108 return io7;
111 static struct io7 * __init
114 struct io7 *io7;
115 struct io7 *insp;
123 io7 = alloc_bootmem(sizeof(*io7));
124 io7->pe = pe;
125 spin_lock_init(&io7->irq_lock);
128 io7->ports[h].io7 = io7;
129 io7->ports[h].port = h;
130 io7->ports[h].enabled = 0; /* default to disabled */
137 io7_head = io7;
138 else if (io7_head->pe > io7->pe) { /* insert at head */
139 io7->next = io7_head;
140 io7_head = io7;
143 if (insp->pe == io7->pe) {
145 io7->pe);
150 insp->next->pe > io7->pe) { /* insert here */
151 io7->next = insp->next;
152 insp->next = io7;
159 " - adding at head of list\n", io7->pe);
160 io7->next = io7_head;
161 io7_head = io7;
165 return io7;
169 io7_clear_errors(struct io7 *io7)
180 csrs = IO7_CSRS_KERN(io7->pe, port);
191 p7csrs = IO7_PORT7_CSRS_KERN(io7->pe);
204 io7_init_hose(struct io7 *io7, int port)
209 struct io7_port *io7_port = &io7->ports[port];
210 io7_ioport_csrs *csrs = IO7_CSRS_KERN(io7->pe, port);
238 hose->dense_mem_base = IO7_MEM_PHYS(io7->pe, port);
239 hose->dense_io_base = IO7_IO_PHYS(io7->pe, port);
244 hose->config_space_base = (unsigned long)IO7_CONF_KERN(io7->pe, port);
246 hose->io_space->start = (unsigned long)IO7_IO_KERN(io7->pe, port);
248 hose->io_space->name = mk_resource_name(io7->pe, port, "IO");
251 hose->mem_space->start = (unsigned long)IO7_MEM_KERN(io7->pe, port);
253 hose->mem_space->name = mk_resource_name(io7->pe, port, "MEM");
289 hose->sg_isa = iommu_arena_new_node(marvel_cpuid_to_nid(io7->pe),
307 hose->sg_pci = iommu_arena_new_node(marvel_cpuid_to_nid(io7->pe),
334 marvel_init_io7(struct io7 *io7)
338 printk("Initializing IO7 at PID %d\n", io7->pe);
343 io7->csrs = IO7_PORT7_CSRS_KERN(io7->pe);
349 io7_ioport_csrs *csrs = IO7_CSRS_KERN(io7->pe, i);
351 io7->ports[i].enabled = 1;
352 io7_init_hose(io7, i);
380 struct io7 *io7;
395 if ((io7 = marvel_find_io7(pid)))
396 hose = io7->ports[port].hose;
412 * at boot time. Syntax is 'io7=a,b,c,...,n' where a-n are the PIDs (decimal)
419 struct io7 *io7;
426 io7 = alloc_io7(pid);
427 if (io7) marvel_init_io7(io7);
436 __setup("io7=", marvel_specify_io7);
441 struct io7 *io7;
454 for (io7 = NULL; NULL != (io7 = marvel_next_io7(io7)); )
455 marvel_init_io7(io7);
953 struct io7 *io7 = ((struct io7_port *)agp->hose->sysdata)->io7;
962 agp_pll = io7->csrs->POx_RST[IO7_AGP_PORT].csr;
1066 struct io7 *io7;
1069 for (io7 = NULL; (io7 = marvel_next_io7(io7)) != NULL; ) {
1073 if (!io7->ports[IO7_AGP_PORT].enabled)
1076 h = io7->ports[IO7_AGP_PORT].hose;