/Linux-v4.19/arch/alpha/kernel/ |
D | sys_miata.c | 206 slot = PCI_SLOT(dev->devfn); in miata_swizzle() 209 else if ((PCI_SLOT(dev->bus->self->devfn) == 8) || in miata_swizzle() 210 (PCI_SLOT(dev->bus->self->devfn) == 20)) { in miata_swizzle() 211 slot = PCI_SLOT(dev->devfn) + 9; in miata_swizzle() 217 if ((PCI_SLOT(dev->bus->self->devfn) == 8) || in miata_swizzle() 218 (PCI_SLOT(dev->bus->self->devfn) == 20)) { in miata_swizzle() 219 slot = PCI_SLOT(dev->devfn) + 9; in miata_swizzle() 227 slot = PCI_SLOT(dev->devfn); in miata_swizzle()
|
D | sys_ruffian.c | 149 slot = PCI_SLOT(dev->devfn); in ruffian_swizzle() 152 else if (PCI_SLOT(dev->bus->self->devfn) == 13) { in ruffian_swizzle() 153 slot = PCI_SLOT(dev->devfn) + 10; in ruffian_swizzle() 159 if (PCI_SLOT(dev->bus->self->devfn) == 13) { in ruffian_swizzle() 160 slot = PCI_SLOT(dev->devfn) + 10; in ruffian_swizzle() 168 slot = PCI_SLOT(dev->devfn); in ruffian_swizzle()
|
D | sys_noritake.c | 231 slot = PCI_SLOT(dev->devfn); in noritake_swizzle() 234 else if (PCI_SLOT(dev->bus->self->devfn) == 8) { in noritake_swizzle() 235 slot = PCI_SLOT(dev->devfn) + 15; /* WAG! */ in noritake_swizzle() 241 if (PCI_SLOT(dev->bus->self->devfn) == 8) { in noritake_swizzle() 242 slot = PCI_SLOT(dev->devfn) + 15; in noritake_swizzle() 250 slot = PCI_SLOT(dev->devfn); in noritake_swizzle()
|
D | sys_sable.c | 414 slot = PCI_SLOT(dev->devfn); in lynx_swizzle() 417 else if (PCI_SLOT(dev->bus->self->devfn) == 3) { in lynx_swizzle() 418 slot = PCI_SLOT(dev->devfn) + 11; in lynx_swizzle() 424 if (PCI_SLOT(dev->bus->self->devfn) == 3) { in lynx_swizzle() 425 slot = PCI_SLOT(dev->devfn) + 11; in lynx_swizzle() 433 slot = PCI_SLOT(dev->devfn); in lynx_swizzle()
|
D | sys_eiger.c | 181 slot = PCI_SLOT(dev->devfn); in eiger_swizzle() 185 && (PCI_SLOT(dev->bus->self->devfn) in eiger_swizzle() 187 slot = PCI_SLOT(dev->devfn); in eiger_swizzle()
|
D | sys_dp264.c | 434 slot = PCI_SLOT(dev->devfn); in monet_swizzle() 437 else if (hose->index == 1 && PCI_SLOT(dev->bus->self->devfn) == 8) { in monet_swizzle() 438 slot = PCI_SLOT(dev->devfn); in monet_swizzle() 444 PCI_SLOT(dev->bus->self->devfn) == 8) { in monet_swizzle() 445 slot = PCI_SLOT(dev->devfn); in monet_swizzle() 453 slot = PCI_SLOT(dev->devfn); in monet_swizzle()
|
D | sys_takara.c | 184 unsigned int busslot = PCI_SLOT(dev->bus->self->devfn); in takara_map_irq_srm() 217 int slot = PCI_SLOT(dev->devfn); in takara_swizzle() 225 busslot = PCI_SLOT(dev->bus->self->devfn); in takara_swizzle()
|
/Linux-v4.19/arch/arm/mach-iop32x/ |
D | n2100.c | 83 if (PCI_SLOT(dev->devfn) == 1) { in n2100_pci_map_irq() 86 } else if (PCI_SLOT(dev->devfn) == 2) { in n2100_pci_map_irq() 89 } else if (PCI_SLOT(dev->devfn) == 3) { in n2100_pci_map_irq() 92 } else if (PCI_SLOT(dev->devfn) == 4 && pin == 1) { in n2100_pci_map_irq() 95 } else if (PCI_SLOT(dev->devfn) == 4 && pin == 2) { in n2100_pci_map_irq() 98 } else if (PCI_SLOT(dev->devfn) == 4 && pin == 3) { in n2100_pci_map_irq() 101 } else if (PCI_SLOT(dev->devfn) == 5) { in n2100_pci_map_irq() 107 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in n2100_pci_map_irq()
|
/Linux-v4.19/arch/mips/pci/ |
D | ops-bcm63xx.c | 70 slot = PCI_SLOT(devfn); in bcm63xx_setup_cfg_access() 154 if (type == 0 && PCI_SLOT(devfn) == CARDBUS_PCI_IDSEL) in bcm63xx_pci_read() 168 if (type == 0 && PCI_SLOT(devfn) == CARDBUS_PCI_IDSEL) in bcm63xx_pci_write() 367 if (!bus->parent && PCI_SLOT(devfn) == FAKE_CB_BRIDGE_SLOT) { in bcm63xx_cb_read() 378 PCI_SLOT(devfn) == 0) in bcm63xx_cb_read() 389 if (!bus->parent && PCI_SLOT(devfn) == FAKE_CB_BRIDGE_SLOT) { in bcm63xx_cb_write() 396 PCI_SLOT(devfn) == 0) in bcm63xx_cb_write() 438 PCI_SLOT(dev->devfn) == 0) in bcm63xx_fixup() 472 return PCI_SLOT(devfn) == 0; in bcm63xx_pcie_can_access() 474 if (PCI_SLOT(devfn) == 0) in bcm63xx_pcie_can_access()
|
D | fixup-rc32434.c | 43 if (dev->bus->number < 2 && PCI_SLOT(dev->devfn) < 12) in pcibios_map_irq() 44 irq = irq_map[dev->bus->number][PCI_SLOT(dev->devfn)]; in pcibios_map_irq() 51 if (PCI_SLOT(dev->devfn) == 6 && dev->bus->number == 0) { in rc32434_pci_early_fixup()
|
D | ops-emma2rh.c | 49 if (PCI_SLOT(devfn) >= 10) in check_args() 53 if ((*bus_num >= 64) || (PCI_SLOT(devfn) >= 16)) in check_args() 69 config_win0 = (1 << (22 + PCI_SLOT(devfn))) | (5 << 9); in set_pci_configuration_address() 74 config_win0 = (bus_num << 26) | (PCI_SLOT(devfn) << 22) | in set_pci_configuration_address()
|
D | fixup-lemote2f.c | 58 if ((PCI_SLOT(dev->devfn) != PCI_IDSEL_CS5536) in pcibios_map_irq() 59 && (PCI_SLOT(dev->devfn) < 32)) { in pcibios_map_irq() 67 } else if (PCI_SLOT(dev->devfn) == PCI_IDSEL_CS5536) { /* cs5536 */ in pcibios_map_irq()
|
D | fixup-emma2rh.c | 57 if (PCI_SLOT(dev->devfn) == EMMA2RH_USB_SLOT) in nec_usb_controller_fixup() 74 if (PCI_SLOT(dev->devfn) == EMMA2RH_PCI_HOST_SLOT) { in emma2rh_pci_host_fixup()
|
D | pci-xlp.c | 74 if (PCI_SLOT(devfn) != 0 || in pci_cfg_read_32bit() 78 if (PCI_SLOT(devfn) == 0) /* b.0.0 hangs */ in pci_cfg_read_32bit() 83 } else if (bus->number == 0 && PCI_SLOT(devfn) == 1 && where == 0x954) { in pci_cfg_read_32bit() 205 return PCI_SLOT(lnkdev->devfn) / 8; in xlp_socdev_to_node()
|
D | ops-vr41xx.c | 42 if (PCI_SLOT(devfn) < 11 || where > 0xff) in set_pci_configuration_address() 45 writel((1U << PCI_SLOT(devfn)) | (PCI_FUNC(devfn) << 8) | in set_pci_configuration_address()
|
D | ops-gt64xxx_pci0.c | 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()
|
/Linux-v4.19/drivers/pci/hotplug/ |
D | cpci_hotplug_pci.c | 251 slot->bus->number, PCI_SLOT(slot->devfn), PCI_FUNC(slot->devfn)); in cpci_configure_slot() 276 if (PCI_SLOT(dev->devfn) == PCI_SLOT(slot->devfn)) in cpci_configure_slot() 303 if (PCI_SLOT(dev->devfn) != PCI_SLOT(slot->devfn)) in cpci_unconfigure_slot()
|
D | shpchp_pci.c | 51 if (PCI_SLOT(dev->devfn) == p_slot->device) in shpchp_configure_device() 77 if (PCI_SLOT(dev->devfn) != p_slot->device) in shpchp_unconfigure_device()
|
/Linux-v4.19/arch/arm/mach-orion5x/ |
D | pci.c | 82 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0) { in pcie_rd_conf() 99 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0) { in pcie_rd_conf_wa() 126 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0) in pcie_wr_conf() 328 if (PCI_SLOT(devfn) == 0 && PCI_FUNC(devfn) != 0) in orion5x_pci_valid_config() 335 if (orion5x_pci_cardbus_mode && PCI_SLOT(devfn) > 1) in orion5x_pci_valid_config() 350 return orion5x_pci_hw_rd_conf(bus->number, PCI_SLOT(devfn), in orion5x_pci_rd_conf() 360 return orion5x_pci_hw_wr_conf(bus->number, PCI_SLOT(devfn), in orion5x_pci_wr_conf()
|
/Linux-v4.19/drivers/hwmon/ |
D | fam15h_power.c | 95 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in power1_input_show() 112 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in power1_input_show() 349 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 3), in should_load_on_this_node() 380 PCI_DEVFN(PCI_SLOT(pdev->devfn), 5), in tweak_runavg_range() 388 PCI_DEVFN(PCI_SLOT(pdev->devfn), 5), in tweak_runavg_range() 413 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in fam15h_power_init_data()
|
/Linux-v4.19/arch/sh/drivers/pci/ |
D | fixups-cayman.c | 40 slot = path[i].slot = PCI_SLOT(dev->devfn); in pcibios_map_platform_irq() 47 slot = PCI_SLOT(dev->devfn); in pcibios_map_platform_irq()
|
/Linux-v4.19/drivers/xen/xen-pciback/ |
D | vpci.c | 42 if (PCI_SLOT(devfn) < PCI_SLOT_MAX) { in __xen_pcibk_get_pci_dev() 46 &vpci_dev->dev_list[PCI_SLOT(devfn)], in __xen_pcibk_get_pci_dev() 62 && l->bus == r->bus && PCI_SLOT(l->devfn) == PCI_SLOT(r->devfn)) in match_slot()
|
/Linux-v4.19/arch/arm/plat-orion/ |
D | pcie.c | 212 PCIE_CONF_DEV(PCI_SLOT(devfn)) | in orion_pcie_rd_conf() 231 PCIE_CONF_DEV(PCI_SLOT(devfn)) | in orion_pcie_rd_conf_tlp() 254 PCIE_CONF_DEV(PCI_SLOT(devfn)) | in orion_pcie_rd_conf_wa() 272 PCIE_CONF_DEV(PCI_SLOT(devfn)) | in orion_pcie_wr_conf()
|
/Linux-v4.19/arch/arm/plat-iop/ |
D | pci.c | 45 addr = 1 << (PCI_SLOT(devfn) + 16) | (PCI_SLOT(devfn) << 11); in iop3xx_cfg_address() 47 addr = bus->number << 16 | PCI_SLOT(devfn) << 11 | 1; in iop3xx_cfg_address()
|
/Linux-v4.19/arch/xtensa/lib/ |
D | pci-auto.c | 138 irq = pci_ctrl->map_irq(dev, PCI_SLOT(devfn), pin); in pciauto_setup_irq() 283 PCI_SLOT(pci_devfn)); in pciauto_bus_scan() 314 current_bus, PCI_SLOT(pci_devfn), PCI_FUNC(pci_devfn)); in pciauto_bus_scan()
|