Lines Matching refs:hose
26 int pci_##rw##_cfg_##size(struct pci_controller *hose, \
32 out_be32(hose->cfg_addr, addr); \
33 cfg_##rw(val, hose->cfg_data + (offset & mask), type, op); \
34 out_be32(hose->cfg_addr, addr & 0x7fffffff); \
45 void pci_mcf5445x_init(struct pci_controller *hose) in pci_mcf5445x_init() argument
126 hose->first_busno = 0; in pci_mcf5445x_init()
127 hose->last_busno = 0xff; in pci_mcf5445x_init()
129 pci_set_region(hose->regions + 0, CONFIG_SYS_PCI_MEM_BUS, CONFIG_SYS_PCI_MEM_PHYS, in pci_mcf5445x_init()
132 pci_set_region(hose->regions + 1, CONFIG_SYS_PCI_IO_BUS, CONFIG_SYS_PCI_IO_PHYS, in pci_mcf5445x_init()
135 pci_set_region(hose->regions + 2, CONFIG_SYS_PCI_SYS_MEM_BUS, in pci_mcf5445x_init()
139 hose->region_count = 3; in pci_mcf5445x_init()
141 hose->cfg_addr = &(pci->car); in pci_mcf5445x_init()
142 hose->cfg_data = (volatile unsigned char *)CONFIG_SYS_PCI_CFG_BUS; in pci_mcf5445x_init()
144 pci_set_ops(hose, pci_read_cfg_byte, pci_read_cfg_word, in pci_mcf5445x_init()
149 pci_register_hose(hose); in pci_mcf5445x_init()
150 hose->last_busno = pci_hose_scan(hose); in pci_mcf5445x_init()