/arch/mips/pci/ |
D | ops-nile4.c | 21 unsigned char busnum = bus->number; in nile4_pcibios_config_access() local 24 if ((busnum == 0) && (PCI_SLOT(devfn) > 8)) in nile4_pcibios_config_access() 30 if ((busnum == 0) && (devfn == PCI_DEVFN(0, 0))) { in nile4_pcibios_config_access() 42 vrc_pciregs[LO(NILE4_PCIINIT1)] = 0x0000001a | (busnum ? 0x200 : 0); in nile4_pcibios_config_access() 50 if (busnum == 0) in nile4_pcibios_config_access() 56 adr = KSEG1ADDR(PCI_WINDOW1) | (busnum << 16) | (devfn << 8) | in nile4_pcibios_config_access()
|
D | ops-gt64xxx_pci0.c | 45 unsigned char busnum = bus->number; in gt64xxx_pci0_pcibios_config_access() local 48 if ((busnum == 0) && (devfn >= PCI_DEVFN(31, 0))) in gt64xxx_pci0_pcibios_config_access() 57 (busnum << GT_PCI0_CFGADDR_BUSNUM_SHF) | in gt64xxx_pci0_pcibios_config_access() 63 if (busnum == 0 && PCI_SLOT(devfn) == 0) { in gt64xxx_pci0_pcibios_config_access() 72 if (busnum == 0 && PCI_SLOT(devfn) == 0) { in gt64xxx_pci0_pcibios_config_access()
|
D | ops-loongson3.c | 19 unsigned char busnum = bus->number; in loongson3_pci_config_access() local 26 addr = (busnum << 16) | (device << 11) | (function << 8) | reg; in loongson3_pci_config_access() 27 if (busnum == 0) { in loongson3_pci_config_access()
|
D | ops-bonito64.c | 41 u32 busnum = bus->number; in bonito64_pcibios_config_access() local 49 if (busnum == 0) { in bonito64_pcibios_config_access() 58 addr = (busnum << 16) | (device << 11) | (function << 8) | reg; in bonito64_pcibios_config_access()
|
D | ops-loongson2.c | 40 u32 busnum = bus->number; in loongson_pcibios_config_access() local 48 if (busnum == 0) { in loongson_pcibios_config_access() 80 addr = (busnum << 16) | (device << 11) | (function << 8) | reg; in loongson_pcibios_config_access()
|
D | ops-msc.c | 49 unsigned char busnum = bus->number; in msc_pcibios_config_access() local 57 ((busnum << MSC01_PCI_CFGADDR_BNUM_SHF) | in msc_pcibios_config_access()
|
/arch/ia64/sn/pci/pcibr/ |
D | pcibr_provider.c | 30 u64 busnum; in sal_pcibr_slot_enable() local 37 busnum = soft->pbi_buscommon.bs_persist_busnum; in sal_pcibr_slot_enable() 39 busnum, (u64) device, (u64) resp, (u64)ia64_tpa(ssdt), in sal_pcibr_slot_enable() 50 u64 busnum; in sal_pcibr_slot_disable() local 57 busnum = soft->pbi_buscommon.bs_persist_busnum; in sal_pcibr_slot_disable() 59 segment, busnum, (u64) device, (u64) action, in sal_pcibr_slot_disable() 68 u64 busnum; in sal_pcibr_error_interrupt() local 74 busnum = soft->pbi_buscommon.bs_persist_busnum; in sal_pcibr_error_interrupt() 77 (u64) segment, (u64) busnum, 0, 0, 0, 0, 0); in sal_pcibr_error_interrupt()
|
/arch/x86/pci/ |
D | intel_mid_pci.c | 93 unsigned int domain, busnum; in pci_device_update_fixed() local 97 busnum = bus->number; in pci_device_update_fixed() 102 raw_pci_ext_ops->read(domain, busnum, devfn, in pci_device_update_fixed() 125 return raw_pci_ext_ops->write(domain, busnum, devfn, reg, 4, in pci_device_update_fixed() 130 return raw_pci_ext_ops->write(domain, busnum, devfn, reg, len, val); in pci_device_update_fixed()
|
D | acpi.c | 450 int busnum, int domain) in probe_pci_root_info() argument 454 sprintf(info->name, "PCI Bus %04x:%02x", domain, busnum); in probe_pci_root_info() 488 int busnum = root->secondary.start; in pci_acpi_scan_root() local 500 domain, busnum); in pci_acpi_scan_root() 506 node = x86_pci_root_bus_node(busnum); in pci_acpi_scan_root() 518 "ignored (out of memory)\n", domain, busnum); in pci_acpi_scan_root() 527 bus = pci_find_bus(domain, busnum); in pci_acpi_scan_root() 536 probe_pci_root_info(info, device, busnum, domain); in pci_acpi_scan_root() 548 x86_pci_root_bus_resources(busnum, &resources); in pci_acpi_scan_root() 553 bus = pci_create_root_bus(NULL, busnum, &pci_root_ops, in pci_acpi_scan_root()
|
D | common.c | 475 void pcibios_scan_root(int busnum) in pcibios_scan_root() argument 483 printk(KERN_ERR "PCI: OOM, skipping PCI bus %02x\n", busnum); in pcibios_scan_root() 486 sd->node = x86_pci_root_bus_node(busnum); in pcibios_scan_root() 487 x86_pci_root_bus_resources(busnum, &resources); in pcibios_scan_root() 488 printk(KERN_DEBUG "PCI: Probing PCI hardware (bus %02x)\n", busnum); in pcibios_scan_root() 489 bus = pci_scan_root_bus(NULL, busnum, &pci_root_ops, sd, &resources); in pcibios_scan_root()
|
D | amd_bus.c | 314 int busnum; in early_root_info_init() local 317 busnum = info->busn.start; in early_root_info_init() 322 busnum, &root_res->res); in early_root_info_init()
|
/arch/x86/kernel/ |
D | pci-calgary_64.c | 673 unsigned char busnum = dev->bus->number; in calgary_reserve_peripheral_mem_1() local 677 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_1_LOW); in calgary_reserve_peripheral_mem_1() 679 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_1_HIGH); in calgary_reserve_peripheral_mem_1() 681 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_1_SIZE); in calgary_reserve_peripheral_mem_1() 697 unsigned char busnum = dev->bus->number; in calgary_reserve_peripheral_mem_2() local 701 target = calgary_reg(bbar, phb_offset(busnum) | PHB_CONFIG_RW_OFFSET); in calgary_reserve_peripheral_mem_2() 706 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_LOW); in calgary_reserve_peripheral_mem_2() 708 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_HIGH); in calgary_reserve_peripheral_mem_2() 710 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_SIZE_LOW); in calgary_reserve_peripheral_mem_2() 712 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_SIZE_HIGH); in calgary_reserve_peripheral_mem_2() [all …]
|
/arch/ia64/sn/kernel/ |
D | io_init.c | 49 static inline u64 sal_get_pcibus_info(u64 segment, u64 busnum, u64 address) in sal_get_pcibus_info() argument 57 (u64) segment, (u64) busnum, (u64) address, 0, 0, 0, 0); in sal_get_pcibus_info() 234 sn_pci_controller_fixup(int segment, int busnum, struct pci_bus *bus) in sn_pci_controller_fixup() argument 242 status = sal_get_pcibus_info((u64) segment, (u64) busnum, in sn_pci_controller_fixup() 269 bus = pci_scan_root_bus(NULL, busnum, &pci_root_ops, controller, in sn_pci_controller_fixup()
|
/arch/tile/kernel/ |
D | pci.c | 466 int busnum = bus->number & 0xff; in tile_cfg_read() local 479 if (busnum == 0) { in tile_cfg_read() 491 addr = busnum << 20; /* Bus in 27:20 */ in tile_cfg_read() 509 int busnum = bus->number & 0xff; in tile_cfg_write() local 519 if (busnum == 0) { in tile_cfg_write() 529 addr = busnum << 20; /* Bus in 27:20 */ in tile_cfg_write()
|
D | pci_gx.c | 1224 int busnum = bus->number & 0xff; in tile_cfg_read() local 1268 if (busnum == (controller->first_busno + 1)) { in tile_cfg_read() 1282 cfg_addr.bus = busnum; in tile_cfg_read() 1311 TRACE_CFG_RD(size, *val, busnum, device, function, offset); in tile_cfg_read() 1347 int busnum = bus->number & 0xff; in tile_cfg_write() local 1394 if (busnum == (controller->first_busno + 1)) { in tile_cfg_write() 1408 cfg_addr.bus = busnum; in tile_cfg_write() 1423 TRACE_CFG_WR(size, val_32, busnum, device, function, offset); in tile_cfg_write() 1428 TRACE_CFG_WR(size, val_16, busnum, device, function, offset); in tile_cfg_write() 1433 TRACE_CFG_WR(size, val_8, busnum, device, function, offset); in tile_cfg_write()
|
/arch/ia64/pci/ |
D | pci.c | 381 int busnum, int domain) in probe_pci_root_info() argument 389 sprintf(name, "PCI Bus %04x:%02x", domain, busnum); in probe_pci_root_info() 430 int busnum = root->secondary.start; in pci_acpi_scan_root() local 445 domain, busnum); in pci_acpi_scan_root() 454 ret = probe_pci_root_info(info, device, busnum, domain); in pci_acpi_scan_root()
|
/arch/ia64/sn/pci/ |
D | tioca_provider.c | 558 u64 busnum; in tioca_error_intr_handler() local 563 busnum = soft->ca_common.bs_persist_busnum; in tioca_error_intr_handler() 567 segment, busnum, 0, 0, 0, 0, 0); in tioca_error_intr_handler()
|