Lines Matching defs:hose

21 	struct pci_controller *hose = pci_bus_to_host(bus);
26 if (hose->indirect_type & INDIRECT_TYPE_NO_PCIE_LINK) {
27 if (bus->number != hose->first_busno)
33 if (hose->indirect_type & INDIRECT_TYPE_SET_CFG_TYPE)
34 if (bus->number != hose->first_busno)
37 bus_no = (bus->number == hose->first_busno) ?
38 hose->self_busno : bus->number;
40 if (hose->indirect_type & INDIRECT_TYPE_EXT_REG)
45 if (hose->indirect_type & INDIRECT_TYPE_BIG_ENDIAN)
46 out_be32(hose->cfg_addr, (0x80000000 | (bus_no << 16) |
49 out_le32(hose->cfg_addr, (0x80000000 | (bus_no << 16) |
56 cfg_data = hose->cfg_data + (offset & 3); /* Only 3 bits for function */
75 struct pci_controller *hose = pci_bus_to_host(bus);
80 if (hose->indirect_type & INDIRECT_TYPE_NO_PCIE_LINK) {
81 if (bus->number != hose->first_busno)
87 if (hose->indirect_type & INDIRECT_TYPE_SET_CFG_TYPE)
88 if (bus->number != hose->first_busno)
91 bus_no = (bus->number == hose->first_busno) ?
92 hose->self_busno : bus->number;
94 if (hose->indirect_type & INDIRECT_TYPE_EXT_REG)
99 if (hose->indirect_type & INDIRECT_TYPE_BIG_ENDIAN)
100 out_be32(hose->cfg_addr, (0x80000000 | (bus_no << 16) |
103 out_le32(hose->cfg_addr, (0x80000000 | (bus_no << 16) |
107 if (hose->indirect_type & INDIRECT_TYPE_SURPRESS_PRIMARY_BUS)
109 (bus->number == hose->first_busno))
113 if ((hose->indirect_type & INDIRECT_TYPE_BROKEN_MRM) &&
122 cfg_data = hose->cfg_data + (offset & 3);
144 setup_indirect_pci(struct pci_controller *hose,
152 hose->cfg_addr = mbase + (cfg_addr & ~PAGE_MASK);
155 hose->cfg_data = mbase + (cfg_data & ~PAGE_MASK);
156 hose->ops = &indirect_pci_ops;
157 hose->indirect_type = flags;