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

Lines Matching defs:hose

27 	struct pci_controller *hose = pci_bus_to_host(bus);
32 if (hose->indirect_type & PPC_INDIRECT_TYPE_NO_PCIE_LINK) {
33 if (bus->number != hose->first_busno)
40 if (ppc_md.pci_exclude_device(hose, bus->number, devfn))
43 if (hose->indirect_type & PPC_INDIRECT_TYPE_SET_CFG_TYPE)
44 if (bus->number != hose->first_busno)
47 bus_no = (bus->number == hose->first_busno) ?
48 hose->self_busno : bus->number;
50 if (hose->indirect_type & PPC_INDIRECT_TYPE_EXT_REG)
55 if (hose->indirect_type & PPC_INDIRECT_TYPE_BIG_ENDIAN)
56 out_be32(hose->cfg_addr, (0x80000000 | (bus_no << 16) |
59 out_le32(hose->cfg_addr, (0x80000000 | (bus_no << 16) |
66 cfg_data = hose->cfg_data + (offset & 3);
85 struct pci_controller *hose = pci_bus_to_host(bus);
90 if (hose->indirect_type & PPC_INDIRECT_TYPE_NO_PCIE_LINK) {
91 if (bus->number != hose->first_busno)
98 if (ppc_md.pci_exclude_device(hose, bus->number, devfn))
101 if (hose->indirect_type & PPC_INDIRECT_TYPE_SET_CFG_TYPE)
102 if (bus->number != hose->first_busno)
105 bus_no = (bus->number == hose->first_busno) ?
106 hose->self_busno : bus->number;
108 if (hose->indirect_type & PPC_INDIRECT_TYPE_EXT_REG)
113 if (hose->indirect_type & PPC_INDIRECT_TYPE_BIG_ENDIAN)
114 out_be32(hose->cfg_addr, (0x80000000 | (bus_no << 16) |
117 out_le32(hose->cfg_addr, (0x80000000 | (bus_no << 16) |
121 if (hose->indirect_type & PPC_INDIRECT_TYPE_SURPRESS_PRIMARY_BUS)
123 (bus->number == hose->first_busno))
126 if ((hose->indirect_type & PPC_INDIRECT_TYPE_BROKEN_MRM) &&
135 cfg_data = hose->cfg_data + (offset & 3);
157 setup_indirect_pci(struct pci_controller* hose,
165 hose->cfg_addr = mbase + (cfg_addr & ~PAGE_MASK);
168 hose->cfg_data = mbase + (cfg_data & ~PAGE_MASK);
169 hose->ops = &indirect_pci_ops;
170 hose->indirect_type = flags;