/arch/mips/pci/ |
D | ops-nile4.c | 20 unsigned char busnum = bus->number; in nile4_pcibios_config_access() local 23 if ((busnum == 0) && (PCI_SLOT(devfn) > 8)) in nile4_pcibios_config_access() 29 if ((busnum == 0) && (devfn == PCI_DEVFN(0, 0))) { in nile4_pcibios_config_access() 41 vrc_pciregs[LO(NILE4_PCIINIT1)] = 0x0000001a | (busnum ? 0x200 : 0); in nile4_pcibios_config_access() 49 if (busnum == 0) in nile4_pcibios_config_access() 55 adr = KSEG1ADDR(PCI_WINDOW1) | (busnum << 16) | (devfn << 8) | in nile4_pcibios_config_access()
|
D | ops-gt64xxx_pci0.c | 33 unsigned char busnum = bus->number; in gt64xxx_pci0_pcibios_config_access() local 36 if ((busnum == 0) && (devfn >= PCI_DEVFN(31, 0))) in gt64xxx_pci0_pcibios_config_access() 45 (busnum << GT_PCI0_CFGADDR_BUSNUM_SHF) | in gt64xxx_pci0_pcibios_config_access() 51 if (busnum == 0 && PCI_SLOT(devfn) == 0) { in gt64xxx_pci0_pcibios_config_access() 60 if (busnum == 0 && PCI_SLOT(devfn) == 0) { in gt64xxx_pci0_pcibios_config_access()
|
D | ops-loongson3.c | 20 unsigned char busnum = bus->number; in loongson3_pci_config_access() local 28 addr = (busnum << 16) | (device << 11) | (function << 8) | reg; in loongson3_pci_config_access() 29 if (busnum == 0) { in loongson3_pci_config_access() 47 addr |= busnum << 20 | device << 15 | function << 12 | reg; in loongson3_pci_config_access()
|
D | ops-bonito64.c | 29 u32 busnum = bus->number; in bonito64_pcibios_config_access() local 37 if (busnum == 0) { in bonito64_pcibios_config_access() 46 addr = (busnum << 16) | (device << 11) | (function << 8) | reg; in bonito64_pcibios_config_access()
|
D | ops-loongson2.c | 37 u32 busnum = bus->number; in loongson_pcibios_config_access() local 45 if (busnum == 0) { in loongson_pcibios_config_access() 77 addr = (busnum << 16) | (device << 11) | (function << 8) | reg; in loongson_pcibios_config_access()
|
D | ops-msc.c | 36 unsigned char busnum = bus->number; in msc_pcibios_config_access() local 44 ((busnum << MSC01_PCI_CFGADDR_BNUM_SHF) | in msc_pcibios_config_access()
|
/arch/x86/pci/ |
D | acpi.c | 247 int busnum = root->secondary.start; in pci_acpi_root_get_node() local 252 node = x86_pci_root_bus_node(busnum); in pci_acpi_root_get_node() 297 int busnum = ci->root->secondary.start; in pci_acpi_root_prepare_resources() local 314 x86_pci_root_bus_resources(busnum, &ci->resources); in pci_acpi_root_prepare_resources() 329 int busnum = root->secondary.start; in pci_acpi_scan_root() local 339 domain, busnum); in pci_acpi_scan_root() 343 bus = pci_find_bus(domain, busnum); in pci_acpi_scan_root() 363 domain, busnum); in pci_acpi_scan_root()
|
D | intel_mid_pci.c | 98 unsigned int domain, busnum; in pci_device_update_fixed() local 102 busnum = bus->number; in pci_device_update_fixed() 107 raw_pci_ext_ops->read(domain, busnum, devfn, in pci_device_update_fixed() 130 return raw_pci_ext_ops->write(domain, busnum, devfn, reg, 4, in pci_device_update_fixed() 135 return raw_pci_ext_ops->write(domain, busnum, devfn, reg, len, val); in pci_device_update_fixed()
|
D | common.c | 457 void pcibios_scan_root(int busnum) in pcibios_scan_root() argument 465 printk(KERN_ERR "PCI: OOM, skipping PCI bus %02x\n", busnum); in pcibios_scan_root() 468 sd->node = x86_pci_root_bus_node(busnum); in pcibios_scan_root() 469 x86_pci_root_bus_resources(busnum, &resources); in pcibios_scan_root() 470 printk(KERN_DEBUG "PCI: Probing PCI hardware (bus %02x)\n", busnum); in pcibios_scan_root() 471 bus = pci_scan_root_bus(NULL, busnum, &pci_root_ops, sd, &resources); in pcibios_scan_root()
|
D | amd_bus.c | 316 int busnum; in early_root_info_init() local 319 busnum = info->busn.start; in early_root_info_init() 324 busnum, &root_res->res); in early_root_info_init()
|
/arch/x86/kernel/ |
D | pci-calgary_64.c | 658 unsigned char busnum = dev->bus->number; in calgary_reserve_peripheral_mem_1() local 662 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_1_LOW); in calgary_reserve_peripheral_mem_1() 664 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_1_HIGH); in calgary_reserve_peripheral_mem_1() 666 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_1_SIZE); in calgary_reserve_peripheral_mem_1() 682 unsigned char busnum = dev->bus->number; in calgary_reserve_peripheral_mem_2() local 686 target = calgary_reg(bbar, phb_offset(busnum) | PHB_CONFIG_RW_OFFSET); in calgary_reserve_peripheral_mem_2() 691 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_LOW); in calgary_reserve_peripheral_mem_2() 693 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_HIGH); in calgary_reserve_peripheral_mem_2() 695 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_SIZE_LOW); in calgary_reserve_peripheral_mem_2() 697 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_SIZE_HIGH); in calgary_reserve_peripheral_mem_2() [all …]
|