Home
last modified time | relevance | path

Searched refs:busnum (Results 1 – 11 of 11) sorted by relevance

/arch/mips/pci/
Dops-nile4.c20 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()
Dops-gt64xxx_pci0.c33 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()
Dops-loongson3.c20 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()
Dops-bonito64.c29 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()
Dops-loongson2.c37 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()
Dops-msc.c36 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/
Dacpi.c247 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()
Dintel_mid_pci.c98 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()
Dcommon.c457 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()
Damd_bus.c316 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/
Dpci-calgary_64.c658 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 …]