/linux-master/arch/mips/pci/ |
H A D | fixup-rc32434.c | 43 if (dev->bus->number < 2 && PCI_SLOT(dev->devfn) < 12) 44 irq = irq_map[dev->bus->number][PCI_SLOT(dev->devfn)]; 51 if (PCI_SLOT(dev->devfn) == 6 && dev->bus->number == 0) {
|
H A D | fixup-lemote2f.c | 54 if ((PCI_SLOT(dev->devfn) != PCI_IDSEL_CS5536) 55 && (PCI_SLOT(dev->devfn) < 32)) { 63 } else if (PCI_SLOT(dev->devfn) == PCI_IDSEL_CS5536) { /* cs5536 */
|
H A D | ops-gt64xxx_pci0.c | 51 if (busnum == 0 && PCI_SLOT(devfn) == 0) { 60 if (busnum == 0 && PCI_SLOT(devfn) == 0) {
|
H A D | ops-bcm63xx.c | 70 slot = PCI_SLOT(devfn); 154 if (type == 0 && PCI_SLOT(devfn) == CARDBUS_PCI_IDSEL) 168 if (type == 0 && PCI_SLOT(devfn) == CARDBUS_PCI_IDSEL) 367 if (!bus->parent && PCI_SLOT(devfn) == FAKE_CB_BRIDGE_SLOT) { 378 PCI_SLOT(devfn) == 0) 389 if (!bus->parent && PCI_SLOT(devfn) == FAKE_CB_BRIDGE_SLOT) { 396 PCI_SLOT(devfn) == 0) 438 PCI_SLOT(dev->devfn) == 0) 472 return PCI_SLOT(devfn) == 0; 474 if (PCI_SLOT(devf [all...] |
H A D | fixup-malta.c | 93 if (PCI_SLOT(pdev->devfn) == 10) { 127 if (PCI_SLOT(pdev->devfn) == 10) {
|
H A D | pci-bcm47xx.c | 49 slot = PCI_SLOT(dev->devfn);
|
H A D | ops-rc32434.c | 50 unsigned int slot = PCI_SLOT(devfn); 104 if (bus->number == 0 && PCI_SLOT(devfn) > 21)
|
/linux-master/arch/alpha/kernel/ |
H A D | sys_miata.c | 208 slot = PCI_SLOT(dev->devfn); 211 else if ((PCI_SLOT(dev->bus->self->devfn) == 8) || 212 (PCI_SLOT(dev->bus->self->devfn) == 20)) { 213 slot = PCI_SLOT(dev->devfn) + 9; 219 if ((PCI_SLOT(dev->bus->self->devfn) == 8) || 220 (PCI_SLOT(dev->bus->self->devfn) == 20)) { 221 slot = PCI_SLOT(dev->devfn) + 9; 229 slot = PCI_SLOT(dev->devfn);
|
H A D | sys_noritake.c | 230 slot = PCI_SLOT(dev->devfn); 233 else if (PCI_SLOT(dev->bus->self->devfn) == 8) { 234 slot = PCI_SLOT(dev->devfn) + 15; /* WAG! */ 240 if (PCI_SLOT(dev->bus->self->devfn) == 8) { 241 slot = PCI_SLOT(dev->devfn) + 15; 249 slot = PCI_SLOT(dev->devfn);
|
H A D | sys_ruffian.c | 149 slot = PCI_SLOT(dev->devfn); 152 else if (PCI_SLOT(dev->bus->self->devfn) == 13) { 153 slot = PCI_SLOT(dev->devfn) + 10; 159 if (PCI_SLOT(dev->bus->self->devfn) == 13) { 160 slot = PCI_SLOT(dev->devfn) + 10; 168 slot = PCI_SLOT(dev->devfn);
|
H A D | sys_sable.c | 413 slot = PCI_SLOT(dev->devfn); 416 else if (PCI_SLOT(dev->bus->self->devfn) == 3) { 417 slot = PCI_SLOT(dev->devfn) + 11; 423 if (PCI_SLOT(dev->bus->self->devfn) == 3) { 424 slot = PCI_SLOT(dev->devfn) + 11; 432 slot = PCI_SLOT(dev->devfn);
|
H A D | sys_takara.c | 183 unsigned int busslot = PCI_SLOT(dev->bus->self->devfn); 216 int slot = PCI_SLOT(dev->devfn); 224 busslot = PCI_SLOT(dev->bus->self->devfn);
|
H A D | sys_eiger.c | 180 slot = PCI_SLOT(dev->devfn); 184 && (PCI_SLOT(dev->bus->self->devfn) 186 slot = PCI_SLOT(dev->devfn);
|
H A D | sys_dp264.c | 433 slot = PCI_SLOT(dev->devfn); 436 else if (hose->index == 1 && PCI_SLOT(dev->bus->self->devfn) == 8) { 437 slot = PCI_SLOT(dev->devfn); 443 PCI_SLOT(dev->bus->self->devfn) == 8) { 444 slot = PCI_SLOT(dev->devfn); 452 slot = PCI_SLOT(dev->devfn);
|
/linux-master/include/uapi/linux/ |
H A D | pci.h | 32 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) macro
|
/linux-master/drivers/pci/controller/dwc/ |
H A D | pcie-tegra194-acpi.c | 78 if (PCI_SLOT(devfn) == 0) 84 busdev = PCIE_ATU_BUS(bus->number) | PCIE_ATU_DEV(PCI_SLOT(devfn)) | 88 if (PCI_SLOT(devfn) == 0)
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_pci.c | 60 PCI_SLOT(pdev->devfn),
|
/linux-master/drivers/pci/hotplug/ |
H A D | shpchp_pci.c | 51 if (PCI_SLOT(dev->devfn) == p_slot->device) 76 if (PCI_SLOT(dev->devfn) != p_slot->device)
|
H A D | cpci_hotplug_pci.c | 247 slot->bus->number, PCI_SLOT(slot->devfn), PCI_FUNC(slot->devfn)); 272 if (PCI_SLOT(dev->devfn) == PCI_SLOT(slot->devfn)) 299 if (PCI_SLOT(dev->devfn) != PCI_SLOT(slot->devfn))
|
/linux-master/arch/x86/include/asm/ |
H A D | amd_nb.h | 94 PCI_SLOT(misc->devfn) == PCI_SLOT(pdev->devfn))
|
/linux-master/arch/arm/plat-orion/ |
H A D | pcie.c | 212 PCIE_CONF_DEV(PCI_SLOT(devfn)) | 231 PCIE_CONF_DEV(PCI_SLOT(devfn)) | 254 PCIE_CONF_DEV(PCI_SLOT(devfn)) | 272 PCIE_CONF_DEV(PCI_SLOT(devfn)) |
|
/linux-master/drivers/xen/xen-pciback/ |
H A D | vpci.c | 43 if (PCI_SLOT(devfn) < PCI_SLOT_MAX) { 47 &vpci_dev->dev_list[PCI_SLOT(devfn)], 63 && l->bus == r->bus && PCI_SLOT(l->devfn) == PCI_SLOT(r->devfn))
|
/linux-master/drivers/pci/controller/ |
H A D | pci-host-generic.c | 36 if (bus->number == cfg->busr.start && PCI_SLOT(devfn) > 0)
|
/linux-master/arch/arm/mach-orion5x/ |
H A D | pci.c | 79 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0) { 96 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0) { 123 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0) 328 if (PCI_SLOT(devfn) == 0 && PCI_FUNC(devfn) != 0) 335 if (orion5x_pci_cardbus_mode && PCI_SLOT(devfn) > 1) 350 return orion5x_pci_hw_rd_conf(bus->number, PCI_SLOT(devfn), 360 return orion5x_pci_hw_wr_conf(bus->number, PCI_SLOT(devfn),
|
/linux-master/drivers/hwmon/ |
H A D | fam15h_power.c | 80 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), 97 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), 332 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 3), 363 PCI_DEVFN(PCI_SLOT(pdev->devfn), 5), 371 PCI_DEVFN(PCI_SLOT(pdev->devfn), 5), 396 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5),
|