• 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 refs:hose

87 	  struct pci_controller *hose)
90 unsigned long mid = MCPCIA_HOSE2MID(hose->index);
97 DBG_CFG(("conf_read(addr=0x%lx, type1=%d, hose=%d)\n",
135 struct pci_controller *hose)
138 unsigned long mid = MCPCIA_HOSE2MID(hose->index);
170 struct pci_controller *hose, unsigned long *pci_addr,
176 DBG_CFG(("mk_conf_addr(bus=%d,devfn=0x%x,hose=%d,where=0x%x,"
178 bus, devfn, hose->index, where, pci_addr, type1));
187 addr |= hose->config_space_base;
198 struct pci_controller *hose = bus->sysdata;
202 if (mk_conf_addr(bus, devfn, where, hose, &addr, &type1))
206 w = conf_read(addr, type1, hose);
225 struct pci_controller *hose = bus->sysdata;
229 if (mk_conf_addr(bus, devfn, where, hose, &addr, &type1))
234 conf_write(addr, value, type1, hose);
246 mcpcia_pci_tbi(struct pci_controller *hose, dma_addr_t start, dma_addr_t end)
249 *(vuip)MCPCIA_SG_TBIA(MCPCIA_HOSE2MID(hose->index)) = 0;
261 /* Gotta be REAL careful. If hose is absent, we get an mcheck. */
292 struct pci_controller *hose;
296 hose = alloc_pci_controller();
298 pci_isa_hose = hose;
303 hose->io_space = io;
304 hose->mem_space = hae_mem;
305 hose->sparse_mem_base = MCPCIA_SPARSE(mid) - IDENT_ADDR;
306 hose->dense_mem_base = MCPCIA_DENSE(mid) - IDENT_ADDR;
307 hose->sparse_io_base = MCPCIA_IO(mid) - IDENT_ADDR;
308 hose->dense_io_base = 0;
309 hose->config_space_base = MCPCIA_CONF(mid);
310 hose->index = h;
328 printk(KERN_ERR "Failed to request IO on hose %d\n", h);
330 printk(KERN_ERR "Failed to request MEM on hose %d\n", h);
332 printk(KERN_ERR "Failed to request HAE_MEM on hose %d\n", h);
345 mcpcia_startup_hose(struct pci_controller *hose)
347 int mid = MCPCIA_HOSE2MID(hose->index);
368 hose->sg_isa = iommu_arena_new(hose, 0x00800000, 0x00800000, 0);
369 hose->sg_pci = iommu_arena_new(hose, 0x40000000,
375 *(vuip)MCPCIA_W0_BASE(mid) = hose->sg_isa->dma_base | 3;
376 *(vuip)MCPCIA_W0_MASK(mid) = (hose->sg_isa->size - 1) & 0xfff00000;
377 *(vuip)MCPCIA_T0_BASE(mid) = virt_to_phys(hose->sg_isa->ptes) >> 8;
379 *(vuip)MCPCIA_W1_BASE(mid) = hose->sg_pci->dma_base | 3;
380 *(vuip)MCPCIA_W1_MASK(mid) = (hose->sg_pci->size - 1) & 0xfff00000;
381 *(vuip)MCPCIA_T1_BASE(mid) = virt_to_phys(hose->sg_pci->ptes) >> 8;
389 mcpcia_pci_tbi(hose, 0, -1);
408 /* Allocate hose 0. That's the one that all the ISA junk hangs
410 Other hose detection is done in mcpcia_init_hoses, which is
422 struct pci_controller *hose;
438 /* Now do init for each hose. */
439 for (hose = hose_head; hose; hose = hose->next)
440 mcpcia_startup_hose(hose);
519 struct pci_controller *hose;
550 for (hose = hose_head; hose; hose = hose->next, iodpp++) {
553 hose->index, iodpp->base);
593 struct pci_controller *hose;
594 for (hose = hose_head; hose; hose = hose->next)
595 mcpcia_pci_clr_err(MCPCIA_HOSE2MID(hose->index));
603 and there's no hose clear an error from. */