/linux-6.12.1/arch/alpha/kernel/ |
D | sys_miata.c | 208 slot = PCI_SLOT(dev->devfn); in miata_swizzle() 211 else if ((PCI_SLOT(dev->bus->self->devfn) == 8) || in miata_swizzle() 212 (PCI_SLOT(dev->bus->self->devfn) == 20)) { in miata_swizzle() 213 slot = PCI_SLOT(dev->devfn) + 9; in miata_swizzle() 219 if ((PCI_SLOT(dev->bus->self->devfn) == 8) || in miata_swizzle() 220 (PCI_SLOT(dev->bus->self->devfn) == 20)) { in miata_swizzle() 221 slot = PCI_SLOT(dev->devfn) + 9; in miata_swizzle() 229 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 | 229 slot = PCI_SLOT(dev->devfn); in noritake_swizzle() 232 else if (PCI_SLOT(dev->bus->self->devfn) == 8) { in noritake_swizzle() 233 slot = PCI_SLOT(dev->devfn) + 15; /* WAG! */ in noritake_swizzle() 239 if (PCI_SLOT(dev->bus->self->devfn) == 8) { in noritake_swizzle() 240 slot = PCI_SLOT(dev->devfn) + 15; in noritake_swizzle() 248 slot = PCI_SLOT(dev->devfn); in noritake_swizzle()
|
D | sys_eiger.c | 180 slot = PCI_SLOT(dev->devfn); in eiger_swizzle() 184 && (PCI_SLOT(dev->bus->self->devfn) in eiger_swizzle() 186 slot = PCI_SLOT(dev->devfn); in eiger_swizzle()
|
D | sys_dp264.c | 433 slot = PCI_SLOT(dev->devfn); in monet_swizzle() 436 else if (hose->index == 1 && PCI_SLOT(dev->bus->self->devfn) == 8) { in monet_swizzle() 437 slot = PCI_SLOT(dev->devfn); in monet_swizzle() 443 PCI_SLOT(dev->bus->self->devfn) == 8) { in monet_swizzle() 444 slot = PCI_SLOT(dev->devfn); in monet_swizzle() 452 slot = PCI_SLOT(dev->devfn); in monet_swizzle()
|
D | sys_takara.c | 183 unsigned int busslot = PCI_SLOT(dev->bus->self->devfn); in takara_map_irq_srm() 216 int slot = PCI_SLOT(dev->devfn); in takara_swizzle() 224 busslot = PCI_SLOT(dev->bus->self->devfn); in takara_swizzle()
|
/linux-6.12.1/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 | fixup-lemote2f.c | 54 if ((PCI_SLOT(dev->devfn) != PCI_IDSEL_CS5536) in pcibios_map_irq() 55 && (PCI_SLOT(dev->devfn) < 32)) { in pcibios_map_irq() 63 } else if (PCI_SLOT(dev->devfn) == PCI_IDSEL_CS5536) { /* cs5536 */ in pcibios_map_irq()
|
D | pci-rt2880.c | 67 address = rt2880_pci_get_cfgaddr(bus->number, PCI_SLOT(devfn), in rt2880_pci_config_read() 94 address = rt2880_pci_get_cfgaddr(bus->number, PCI_SLOT(devfn), in rt2880_pci_config_write() 174 switch (PCI_SLOT(dev->devfn)) { in pcibios_map_irq()
|
D | ops-gt64xxx_pci0.c | 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()
|
D | fixup-malta.c | 93 if (PCI_SLOT(pdev->devfn) == 10) { in malta_piix_func0_fixup() 127 if (PCI_SLOT(pdev->devfn) == 10) { in malta_piix_func1_fixup()
|
D | ops-rc32434.c | 50 unsigned int slot = PCI_SLOT(devfn); in config_access() 104 if (bus->number == 0 && PCI_SLOT(devfn) > 21) in read_config_dword()
|
/linux-6.12.1/drivers/pci/hotplug/ |
D | cpci_hotplug_pci.c | 247 slot->bus->number, PCI_SLOT(slot->devfn), PCI_FUNC(slot->devfn)); in cpci_configure_slot() 272 if (PCI_SLOT(dev->devfn) == PCI_SLOT(slot->devfn)) in cpci_configure_slot() 299 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() 76 if (PCI_SLOT(dev->devfn) != p_slot->device) in shpchp_unconfigure_device()
|
/linux-6.12.1/arch/arm/mach-orion5x/ |
D | pci.c | 79 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0) { in pcie_rd_conf() 96 if (pcie_valid_config(bus->number, PCI_SLOT(devfn)) == 0) { in pcie_rd_conf_wa() 123 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-6.12.1/drivers/hwmon/ |
D | fam15h_power.c | 80 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in power1_input_show() 97 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in power1_input_show() 332 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 3), in should_load_on_this_node() 363 PCI_DEVFN(PCI_SLOT(pdev->devfn), 5), in tweak_runavg_range() 371 PCI_DEVFN(PCI_SLOT(pdev->devfn), 5), in tweak_runavg_range() 396 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in fam15h_power_init_data()
|
/linux-6.12.1/drivers/pci/controller/dwc/ |
D | pcie-tegra194-acpi.c | 78 if (PCI_SLOT(devfn) == 0) in tegra194_map_bus() 84 busdev = PCIE_ATU_BUS(bus->number) | PCIE_ATU_DEV(PCI_SLOT(devfn)) | in tegra194_map_bus() 88 if (PCI_SLOT(devfn) == 0) in tegra194_map_bus()
|
/linux-6.12.1/drivers/xen/xen-pciback/ |
D | vpci.c | 43 if (PCI_SLOT(devfn) < PCI_SLOT_MAX) { in __xen_pcibk_get_pci_dev() 47 &vpci_dev->dev_list[PCI_SLOT(devfn)], in __xen_pcibk_get_pci_dev() 63 && l->bus == r->bus && PCI_SLOT(l->devfn) == PCI_SLOT(r->devfn)) in match_slot()
|
/linux-6.12.1/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-6.12.1/arch/xtensa/lib/ |
D | pci-auto.c | 135 irq = pci_ctrl->map_irq(dev, PCI_SLOT(devfn), pin); in pciauto_setup_irq() 281 PCI_SLOT(pci_devfn)); in pciauto_bus_scan() 312 current_bus, PCI_SLOT(pci_devfn), PCI_FUNC(pci_devfn)); in pciauto_bus_scan()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | amd_nb.h | 94 PCI_SLOT(misc->devfn) == PCI_SLOT(pdev->devfn)) in amd_pci_dev_to_node_id()
|
/linux-6.12.1/arch/x86/pci/ |
D | olpc.c | 172 return (!bus && ((PCI_SLOT(devfn) == NB_SLOT) || in is_simulated() 173 (PCI_SLOT(devfn) == SB_SLOT))); in is_simulated()
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | pci-hotplug.c | 106 slotno = PCI_SLOT(PCI_DN(start->child)->devfn); in traverse_siblings_and_scan_slot() 119 slotno = PCI_SLOT(PCI_DN(dn)->devfn); in traverse_siblings_and_scan_slot()
|
/linux-6.12.1/drivers/pci/controller/ |
D | pci-ftpci100.c | 185 writel(PCI_CONF1_ADDRESS(bus_number, PCI_SLOT(fn), in faraday_raw_pci_read_config() 206 PCI_SLOT(fn), PCI_FUNC(fn), config, size, *value); in faraday_pci_read_config() 217 writel(PCI_CONF1_ADDRESS(bus_number, PCI_SLOT(fn), in faraday_raw_pci_write_config() 245 PCI_SLOT(fn), PCI_FUNC(fn), config, size, value); in faraday_pci_write_config()
|