Home
last modified time | relevance | path

Searched refs:pci_ctrl (Results 1 – 12 of 12) sorted by relevance

/openbmc/u-boot/board/freescale/mpc832xemds/
H A Dpci.c67 volatile pcictrl83xx_t *pci_ctrl = &immr->pci_ctrl[0]; in pci_init_board() local
82 pci_ctrl[0].pitar0 = 0x0; in pci_init_board()
83 pci_ctrl[0].pibar0 = 0x0; in pci_init_board()
84 pci_ctrl[0].piwar0 = PIWAR_EN | PIWAR_RTT_SNOOP | in pci_init_board()
87 pci_ctrl[0].pitar1 = 0x0; in pci_init_board()
88 pci_ctrl[0].pibar1 = 0x0; in pci_init_board()
89 pci_ctrl[0].piebar1 = 0x0; in pci_init_board()
90 pci_ctrl[0].piwar1 &= ~PIWAR_EN; in pci_init_board()
92 pci_ctrl[0].pitar2 = 0x0; in pci_init_board()
93 pci_ctrl[0].pibar2 = 0x0; in pci_init_board()
[all …]
/openbmc/u-boot/board/freescale/mpc8349emds/
H A Dpci.c155 volatile pcictrl83xx_t *pci_ctrl = &immr->pci_ctrl[0]; in pci_init_board() local
168 pci_ctrl->pitar0 = 0x0; in pci_init_board()
169 pci_ctrl->pibar0 = 0x0; in pci_init_board()
170 pci_ctrl->piwar0 = PIWAR_EN | PIWAR_PF | PIWAR_RTT_SNOOP | in pci_init_board()
173 pci_ctrl->pitar1 = 0x0; in pci_init_board()
174 pci_ctrl->pibar1 = 0x0; in pci_init_board()
175 pci_ctrl->piebar1 = 0x0; in pci_init_board()
176 pci_ctrl->piwar1 = PIWAR_EN | PIWAR_PF | PIWAR_RTT_SNOOP | in pci_init_board()
179 pci_ctrl->pitar2 = 0x0; in pci_init_board()
180 pci_ctrl->pibar2 = 0x0; in pci_init_board()
[all …]
/openbmc/linux/arch/xtensa/lib/
H A Dpci-auto.c121 pciauto_setup_irq(struct pci_controller* pci_ctrl,struct pci_dev *dev,int devfn) in pciauto_setup_irq() argument
133 if (pci_ctrl->map_irq) in pciauto_setup_irq()
134 irq = pci_ctrl->map_irq(dev, PCI_SLOT(devfn), pin); in pciauto_setup_irq()
223 int __init pciauto_bus_scan(struct pci_controller *pci_ctrl, int current_bus) in pciauto_bus_scan() argument
231 pciauto_dev.sysdata = pci_ctrl; in pciauto_bus_scan()
232 pciauto_bus.ops = pci_ctrl->ops; in pciauto_bus_scan()
239 if (current_bus == pci_ctrl->first_busno) in pciauto_bus_scan()
241 pciauto_upper_iospc = pci_ctrl->io_resource.end + 1; in pciauto_bus_scan()
242 pciauto_upper_memspc = pci_ctrl->mem_resources[0].end + 1; in pciauto_bus_scan()
250 if ((current_bus == pci_ctrl->first_busno) && (pci_devfn == 0)) in pciauto_bus_scan()
[all …]
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dpci.c30 volatile pcictrl83xx_t *pci_ctrl = &immr->pci_ctrl[bus]; in pci_init_bus() local
65 pci_ctrl->pitar1 = 0; in pci_init_bus()
66 pci_ctrl->pibar1 = 0; in pci_init_bus()
67 pci_ctrl->piebar1 = 0; in pci_init_bus()
68 pci_ctrl->piwar1 = PIWAR_EN | PIWAR_PF | PIWAR_RTT_SNOOP | in pci_init_bus()
141 immr->pci_ctrl[i].gcr = 1; in mpc83xx_pci_init()
/openbmc/linux/arch/xtensa/kernel/
H A Dpci.c76 struct pci_controller *pci_ctrl = (struct pci_controller*) pdev->sysdata; in pci_iobar_pfn() local
79 if (!pci_ctrl) in pci_iobar_pfn()
83 ioaddr -= (unsigned long)pci_ctrl->io_space.base; in pci_iobar_pfn()
85 vma->vm_pgoff += (ioaddr + pci_ctrl->io_space.start) >> PAGE_SHIFT; in pci_iobar_pfn()
/openbmc/linux/arch/mips/pci/
H A Dpci-ar71xx.c52 struct pci_controller pci_ctrl; member
104 return container_of(hose, struct ar71xx_pci_controller, pci_ctrl); in pci_bus_to_ar71xx_controller()
380 apc->pci_ctrl.pci_ops = &ar71xx_pci_ops; in ar71xx_pci_probe()
381 apc->pci_ctrl.mem_resource = &apc->mem_res; in ar71xx_pci_probe()
382 apc->pci_ctrl.io_resource = &apc->io_res; in ar71xx_pci_probe()
384 register_pci_controller(&apc->pci_ctrl); in ar71xx_pci_probe()
H A Dpci-ar2315.c162 struct pci_controller pci_ctrl; member
188 return container_of(hose, struct ar2315_pci_ctrl, pci_ctrl); in ar2315_pci_bus_to_apc()
487 apc->pci_ctrl.pci_ops = &ar2315_pci_ops; in ar2315_pci_probe()
488 apc->pci_ctrl.mem_resource = &apc->mem_res; in ar2315_pci_probe()
489 apc->pci_ctrl.io_resource = &apc->io_res; in ar2315_pci_probe()
491 register_pci_controller(&apc->pci_ctrl); in ar2315_pci_probe()
/openbmc/u-boot/board/esd/vme8349/
H A Dpci.c112 out_be32(&immr->pci_ctrl[0].gcr, 0); in pci_init_board()
114 out_be32(&immr->pci_ctrl[0].gcr, 1); in pci_init_board()
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dimmap_83xx.h660 pcictrl83xx_t pci_ctrl[2]; /* PCI Controller Control and Status Registers */ member
708 pcictrl83xx_t pci_ctrl[1]; /* PCI Controller Control and Status Registers */ member
743 pcictrl83xx_t pci_ctrl[1]; /* PCI Controller Control and Status Registers */ member
788 pcictrl83xx_t pci_ctrl[1]; /* PCI Controller Control and Status Registers */ member
837 pcictrl83xx_t pci_ctrl[1]; /* PCI Controller Control and Status Registers */ member
876 pcictrl83xx_t pci_ctrl[1]; /* PCI Controller Control and Status Registers */ member
914 pcictrl83xx_t pci_ctrl[1]; /* PCI Control & Status Registers */ member
/openbmc/linux/arch/alpha/include/asm/
H A Dcore_wildfire.h195 wildfire_64 pci_ctrl; member
/openbmc/linux/drivers/net/ethernet/tehuti/
H A Dtehuti.c101 u16 pci_ctrl = 0; in print_hw_id() local
104 pci_read_config_word(pdev, PCI_DEV_CTRL_REG, &pci_ctrl); in print_hw_id()
112 GET_DEV_CTRL_MAXPL(pci_ctrl), GET_DEV_CTRL_MRRS(pci_ctrl)); in print_hw_id()
/openbmc/linux/arch/alpha/kernel/
H A Dcore_wildfire.c456 printk(KERN_ERR " PCI_CTRL: 0x%16lx\n", pci->pci_ctrl.csr); in wildfire_dump_pci_regs()