Home
last modified time | relevance | path

Searched refs:busnr (Results 1 – 13 of 13) sorted by relevance

/arch/arm/kernel/
Dbios32.c413 static int pcibios_init_resources(int busnr, struct pci_sys_data *sys) in pcibios_init_resources() argument
427 sys->io_res.start = (busnr * SZ_64K) ? : pcibios_min_io; in pcibios_init_resources()
428 sys->io_res.end = (busnr + 1) * SZ_64K - 1; in pcibios_init_resources()
431 sprintf(sys->io_res_name, "PCI%d I/O", busnr); in pcibios_init_resources()
449 int nr, busnr; in pcibios_init_hw() local
451 for (nr = busnr = 0; nr < hw->nr_controllers; nr++) { in pcibios_init_hw()
456 sys->busnr = busnr; in pcibios_init_hw()
479 sys->busnr, hw->ops, sys, in pcibios_init_hw()
487 busnr = sys->bus->busn_res.end + 1; in pcibios_init_hw()
/arch/arm/mach-dove/
Dpcie.c47 pp->root_bus_nr = sys->busnr; in dove_pcie_setup()
52 orion_pcie_set_local_bus_nr(pp->base, sys->busnr); in dove_pcie_setup()
57 pci_ioremap_io(sys->busnr * SZ_64K, DOVE_PCIE0_IO_PHYS_BASE); in dove_pcie_setup()
59 pci_ioremap_io(sys->busnr * SZ_64K, DOVE_PCIE1_IO_PHYS_BASE); in dove_pcie_setup()
163 return pci_scan_root_bus(NULL, sys->busnr, &pcie_ops, sys, in dove_pcie_scan_bus()
/arch/sh/drivers/pci/
Dcommon.c11 int top_bus, int busnr, int devfn) in fake_pci_dev() argument
19 bus.number = busnr; in fake_pci_dev()
23 if(busnr != top_bus) in fake_pci_dev()
/arch/arm/mach-orion5x/
Dpci.c167 pci_ioremap_io(sys->busnr * SZ_64K, ORION5X_PCIE_IO_PHYS_BASE); in pcie_setup()
485 pci_ioremap_io(sys->busnr * SZ_64K, ORION5X_PCI_IO_PHYS_BASE); in pci_setup()
546 orion_pcie_set_local_bus_nr(PCIE_BASE, sys->busnr); in orion5x_pci_sys_setup()
551 orion5x_pci_set_bus_nr(sys->busnr); in orion5x_pci_sys_setup()
561 return pci_scan_root_bus(NULL, sys->busnr, &pcie_ops, sys, in orion5x_pci_sys_scan_bus()
565 return pci_scan_root_bus(NULL, sys->busnr, &pci_ops, sys, in orion5x_pci_sys_scan_bus()
/arch/arm/mach-versatile/
Dpci.c81 unsigned int busnr = bus->number; in __pci_addr() local
88 if (busnr > 255) in __pci_addr()
93 return VERSATILE_PCI_CFG_VIRT_BASE + ((busnr << 16) | in __pci_addr()
/arch/arm/mach-integrator/
Dpci_v3.c366 unsigned int address, mapaddress, busnr; in v3_open_config_window() local
368 busnr = bus->number; in v3_open_config_window()
374 BUG_ON(busnr > 255); in v3_open_config_window()
377 if (busnr == 0) { in v3_open_config_window()
417 address = (busnr << 16) | (devfn << 8); in v3_open_config_window()
/arch/arm/mach-mv78xx0/
Dpcie.c110 pp->root_bus_nr = sys->busnr; in mv78xx0_pcie_setup()
115 orion_pcie_set_local_bus_nr(pp->base, sys->busnr); in mv78xx0_pcie_setup()
205 return pci_scan_root_bus(NULL, sys->busnr, &pcie_ops, sys, in mv78xx0_pcie_scan_bus()
/arch/arm/include/asm/mach/
Dpci.h44 int busnr; /* primary bus number */ member
/arch/arm/mach-iop13xx/
Dpci.c186 if (sys->busnr == bus->number) in iop13xx_atux_cfg_address()
216 if (sys->busnr != bus->number) in iop13xx_atue_cfg_address()
538 bus = pci_bus_atux = pci_scan_root_bus(NULL, sys->busnr, in iop13xx_scan_bus()
543 bus = pci_bus_atue = pci_scan_root_bus(NULL, sys->busnr, in iop13xx_scan_bus()
1036 pcixsr |= sys->busnr << IOP13XX_ATUX_PCIXSR_BUS_NUM | in iop13xx_pci_setup()
1054 pcsr |= sys->busnr << IOP13XX_ATUE_PCSR_BUS_NUM | in iop13xx_pci_setup()
/arch/arm/plat-iop/
Dpci.c44 if (sys->busnr == bus->number) in iop3xx_cfg_address()
/arch/microblaze/pci/
Dpci-common.c1471 fake_pci_bus(struct pci_controller *hose, int busnr) in fake_pci_bus() argument
1476 pr_err("Can't find hose for PCI bus %d!\n", busnr); in fake_pci_bus()
1478 bus.number = busnr; in fake_pci_bus()
/arch/powerpc/kernel/
Dpci-common.c1555 fake_pci_bus(struct pci_controller *hose, int busnr) in fake_pci_bus() argument
1560 printk(KERN_ERR "Can't find hose for PCI bus %d!\n", busnr); in fake_pci_bus()
1562 bus.number = busnr; in fake_pci_bus()
/arch/x86/kvm/
Dassigned-dev.c734 assigned_dev->busnr, in kvm_vm_ioctl_assign_device()
776 match->host_busnr = assigned_dev->busnr; in kvm_vm_ioctl_assign_device()