Lines Matching full:pci
8 * PCI Configuration space access support
11 #include <pci.h>
16 /* System RAM mapped over PCI */
74 pci_t *pci = (pci_t *) MMAP_PCI; in pci_mcf547x_8x_init() local
88 setbits_be32(&pci->gscr, PCI_GSCR_PR); in pci_mcf547x_8x_init()
90 out_be32(&pci->tcr1, PCI_TCR1_P); in pci_mcf547x_8x_init()
93 out_be32(&pci->iw0btar, in pci_mcf547x_8x_init()
95 out_be32(&pci->iw1btar, in pci_mcf547x_8x_init()
97 out_be32(&pci->iw2btar, in pci_mcf547x_8x_init()
100 out_be32(&pci->iwcr, in pci_mcf547x_8x_init()
104 out_be32(&pci->icr, 0); in pci_mcf547x_8x_init()
107 out_be32(&pci->scr, PCI_SCR_B | PCI_SCR_M); in pci_mcf547x_8x_init()
110 out_be32(&pci->cr1, PCI_CR1_CLS(8) | PCI_CR1_LTMR(0xf8)); in pci_mcf547x_8x_init()
111 out_be32(&pci->cr2, 0); in pci_mcf547x_8x_init()
114 out_be32(&pci->bar0, PCI_BAR_BAR0(CONFIG_SYS_PCI_BAR0)); in pci_mcf547x_8x_init()
115 out_be32(&pci->tbatr0a, CONFIG_SYS_PCI_TBATR0 | PCI_TBATR_EN); in pci_mcf547x_8x_init()
118 out_be32(&pci->bar1, PCI_BAR_BAR1(CONFIG_SYS_PCI_BAR1)); in pci_mcf547x_8x_init()
119 out_be32(&pci->tbatr1a, CONFIG_SYS_PCI_TBATR1 | PCI_TBATR_EN); in pci_mcf547x_8x_init()
123 clrbits_be32(&pci->gscr, PCI_GSCR_PR); in pci_mcf547x_8x_init()
126 /* Enable PCI bus master support */ in pci_mcf547x_8x_init()
142 hose->cfg_addr = &(pci->car); in pci_mcf547x_8x_init()