Home
last modified time | relevance | path

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

/linux-6.1.9/arch/xtensa/lib/
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 …]
/linux-6.1.9/arch/xtensa/kernel/
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()
/linux-6.1.9/arch/mips/pci/
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()
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()
/linux-6.1.9/arch/alpha/include/asm/
Dcore_wildfire.h195 wildfire_64 pci_ctrl; member
/linux-6.1.9/drivers/net/ethernet/tehuti/
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()
/linux-6.1.9/arch/alpha/kernel/
Dcore_wildfire.c456 printk(KERN_ERR " PCI_CTRL: 0x%16lx\n", pci->pci_ctrl.csr); in wildfire_dump_pci_regs()