/arch/x86/pci/ |
D | common.c | 431 struct pci_bus * __devinit pcibios_scan_root(int busnum) in pcibios_scan_root() argument 438 if (bus->number == busnum) { in pcibios_scan_root() 450 printk(KERN_ERR "PCI: OOM, not probing PCI bus %02x\n", busnum); in pcibios_scan_root() 454 sd->node = get_mp_bus_to_node(busnum); in pcibios_scan_root() 456 printk(KERN_DEBUG "PCI: Probing PCI hardware (bus %02x)\n", busnum); in pcibios_scan_root() 457 x86_pci_root_bus_resources(busnum, &resources); in pcibios_scan_root() 458 bus = pci_scan_root_bus(NULL, busnum, &pci_root_ops, sd, &resources); in pcibios_scan_root() 691 void set_mp_bus_to_node(int busnum, int node) in set_mp_bus_to_node() argument 693 if (busnum >= 0 && busnum < BUS_NR) in set_mp_bus_to_node() 694 mp_bus_to_node[busnum] = node; in set_mp_bus_to_node() [all …]
|
D | acpi.c | 16 int busnum; member 319 get_current_resources(struct acpi_device *device, int busnum, in get_current_resources() argument 338 info.name = kasprintf(GFP_KERNEL, "PCI Bus %04x:%02x", domain, busnum); in get_current_resources() 362 int busnum = root->secondary.start; in pci_acpi_scan_root() local 374 domain, busnum); in pci_acpi_scan_root() 384 set_mp_bus_to_node(busnum, node); in pci_acpi_scan_root() 387 node = get_mp_bus_to_node(busnum); in pci_acpi_scan_root() 399 "ignored (out of memory)\n", domain, busnum); in pci_acpi_scan_root() 409 bus = pci_find_bus(domain, busnum); in pci_acpi_scan_root() 418 get_current_resources(device, busnum, domain, &resources); in pci_acpi_scan_root() [all …]
|
D | mrst.c | 92 unsigned int domain, busnum; in pci_device_update_fixed() local 96 busnum = bus->number; in pci_device_update_fixed() 101 raw_pci_ext_ops->read(domain, busnum, devfn, in pci_device_update_fixed() 124 return raw_pci_ext_ops->write(domain, busnum, devfn, reg, 4, in pci_device_update_fixed() 129 return raw_pci_ext_ops->write(domain, busnum, devfn, reg, len, val); in pci_device_update_fixed()
|
D | amd_bus.c | 314 int busnum; in early_fill_mp_bus_info() local 318 busnum = info->bus_min; in early_fill_mp_bus_info() 324 busnum, j, res); in early_fill_mp_bus_info()
|
/arch/mips/pci/ |
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-nile4.c | 22 unsigned char busnum = bus->number; in nile4_pcibios_config_access() local 25 if ((busnum == 0) && (PCI_SLOT(devfn) > 8)) in nile4_pcibios_config_access() 31 if ((busnum == 0) && (devfn == PCI_DEVFN(0, 0))) { in nile4_pcibios_config_access() 43 vrc_pciregs[LO(NILE4_PCIINIT1)] = 0x0000001a | (busnum ? 0x200 : 0); in nile4_pcibios_config_access() 51 if (busnum == 0) in nile4_pcibios_config_access() 57 adr = KSEG1ADDR(PCI_WINDOW1) | (busnum << 16) | (devfn << 8) | in nile4_pcibios_config_access()
|
D | ops-bonito64.c | 42 u32 busnum = bus->number; in bonito64_pcibios_config_access() local 50 if (busnum == 0) { in bonito64_pcibios_config_access() 59 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 | 50 unsigned char busnum = bus->number; in msc_pcibios_config_access() local 58 ((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/arm/mach-ux500/ |
D | board-mop500-uib.c | 67 void mop500_uib_i2c_add(int busnum, struct i2c_board_info *info, in mop500_uib_i2c_add() argument 74 adap = i2c_get_adapter(busnum); in mop500_uib_i2c_add() 76 pr_err("failed to get adapter i2c%d\n", busnum); in mop500_uib_i2c_add() 84 info[i].type, busnum); in mop500_uib_i2c_add()
|
D | board-mop500.h | 88 void mop500_uib_i2c_add(int busnum, struct i2c_board_info *info,
|
/arch/x86/include/asm/ |
D | topology.h | 184 extern int get_mp_bus_to_node(int busnum); 185 extern void set_mp_bus_to_node(int busnum, int node); 187 static inline int get_mp_bus_to_node(int busnum) in get_mp_bus_to_node() argument 191 static inline void set_mp_bus_to_node(int busnum, int node) in set_mp_bus_to_node() argument
|
/arch/x86/kernel/ |
D | pci-calgary_64.c | 674 unsigned char busnum = dev->bus->number; in calgary_reserve_peripheral_mem_1() local 678 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_1_LOW); in calgary_reserve_peripheral_mem_1() 680 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_1_HIGH); in calgary_reserve_peripheral_mem_1() 682 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_1_SIZE); in calgary_reserve_peripheral_mem_1() 698 unsigned char busnum = dev->bus->number; in calgary_reserve_peripheral_mem_2() local 702 target = calgary_reg(bbar, phb_offset(busnum) | PHB_CONFIG_RW_OFFSET); in calgary_reserve_peripheral_mem_2() 707 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_LOW); in calgary_reserve_peripheral_mem_2() 709 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_HIGH); in calgary_reserve_peripheral_mem_2() 711 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_SIZE_LOW); in calgary_reserve_peripheral_mem_2() 713 target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_SIZE_HIGH); in calgary_reserve_peripheral_mem_2() [all …]
|
/arch/tile/kernel/ |
D | pci.c | 497 int busnum = bus->number & 0xff; in tile_cfg_read() local 510 if (busnum == 0) { in tile_cfg_read() 522 addr = busnum << 20; /* Bus in 27:20 */ in tile_cfg_read() 543 int busnum = bus->number & 0xff; in tile_cfg_write() local 553 if (busnum == 0) { in tile_cfg_write() 563 addr = busnum << 20; /* Bus in 27:20 */ in tile_cfg_write()
|
/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() 295 sn_pci_controller_fixup(int segment, int busnum, struct pci_bus *bus) in sn_pci_controller_fixup() argument 303 status = sal_get_pcibus_info((u64) segment, (u64) busnum, in sn_pci_controller_fixup() 326 bus = pci_scan_root_bus(NULL, busnum, &pci_root_ops, controller, in sn_pci_controller_fixup()
|
/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()
|