/linux-4.1.27/arch/alpha/kernel/ |
D | sys_miata.c | 205 slot = PCI_SLOT(dev->devfn); in miata_swizzle() 208 else if ((PCI_SLOT(dev->bus->self->devfn) == 8) || in miata_swizzle() 209 (PCI_SLOT(dev->bus->self->devfn) == 20)) { in miata_swizzle() 210 slot = PCI_SLOT(dev->devfn) + 9; in miata_swizzle() 216 if ((PCI_SLOT(dev->bus->self->devfn) == 8) || in miata_swizzle() 217 (PCI_SLOT(dev->bus->self->devfn) == 20)) { in miata_swizzle() 218 slot = PCI_SLOT(dev->devfn) + 9; in miata_swizzle() 226 slot = PCI_SLOT(dev->devfn); in miata_swizzle()
|
D | sys_ruffian.c | 148 slot = PCI_SLOT(dev->devfn); in ruffian_swizzle() 151 else if (PCI_SLOT(dev->bus->self->devfn) == 13) { in ruffian_swizzle() 152 slot = PCI_SLOT(dev->devfn) + 10; in ruffian_swizzle() 158 if (PCI_SLOT(dev->bus->self->devfn) == 13) { in ruffian_swizzle() 159 slot = PCI_SLOT(dev->devfn) + 10; in ruffian_swizzle() 167 slot = PCI_SLOT(dev->devfn); in ruffian_swizzle()
|
D | sys_noritake.c | 230 slot = PCI_SLOT(dev->devfn); in noritake_swizzle() 233 else if (PCI_SLOT(dev->bus->self->devfn) == 8) { in noritake_swizzle() 234 slot = PCI_SLOT(dev->devfn) + 15; /* WAG! */ in noritake_swizzle() 240 if (PCI_SLOT(dev->bus->self->devfn) == 8) { in noritake_swizzle() 241 slot = PCI_SLOT(dev->devfn) + 15; in noritake_swizzle() 249 slot = PCI_SLOT(dev->devfn); in noritake_swizzle()
|
D | sys_sable.c | 413 slot = PCI_SLOT(dev->devfn); in lynx_swizzle() 416 else if (PCI_SLOT(dev->bus->self->devfn) == 3) { in lynx_swizzle() 417 slot = PCI_SLOT(dev->devfn) + 11; in lynx_swizzle() 423 if (PCI_SLOT(dev->bus->self->devfn) == 3) { in lynx_swizzle() 424 slot = PCI_SLOT(dev->devfn) + 11; in lynx_swizzle() 432 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_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()
|
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_marvel.c | 351 PCI_SLOT(dev->devfn), in marvel_map_irq()
|
/linux-4.1.27/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()
|
D | iq31244.c | 122 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in ep80219_pci_map_irq() 157 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in iq31244_pci_map_irq()
|
D | iq80321.c | 93 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in iq80321_pci_map_irq()
|
/linux-4.1.27/drivers/hwmon/ |
D | fam15h_power.c | 60 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in show_power() 66 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in show_power() 124 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 3), in fam15h_power_is_internal_node0() 155 PCI_DEVFN(PCI_SLOT(pdev->devfn), 5), in tweak_runavg_range() 163 PCI_DEVFN(PCI_SLOT(pdev->devfn), 5), in tweak_runavg_range() 187 pci_bus_read_config_dword(f4->bus, PCI_DEVFN(PCI_SLOT(f4->devfn), 5), in fam15h_power_init_data()
|
D | k10temp.c | 171 PCI_DEVFN(PCI_SLOT(pdev->devfn), 2), in has_erratum_319()
|
/linux-4.1.27/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 | 51 if (PCI_SLOT(devfn) >= 10) in check_args() 55 if ((*bus_num >= 64) || (PCI_SLOT(devfn) >= 16)) in check_args() 71 config_win0 = (1 << (22 + PCI_SLOT(devfn))) | (5 << 9); in set_pci_configuration_address() 76 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 | 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 | 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 | pci-ip27.c | 165 int slot = PCI_SLOT(rdev->devfn); in pcibios_plat_dev_init() 196 int slot = PCI_SLOT(dev->devfn); in pci_disable_swapping() 207 int slot = PCI_SLOT(dev->devfn); in pci_enable_swapping()
|
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()
|
D | ops-bridge.c | 48 int slot = PCI_SLOT(devfn); in pci_conf0_read_config() 109 int slot = PCI_SLOT(devfn); in pci_conf1_read_config() 181 int slot = PCI_SLOT(devfn); in pci_conf0_write_config() 247 int slot = PCI_SLOT(devfn); in pci_conf1_write_config()
|
D | pci-rt2880.c | 73 address = rt2880_pci_get_cfgaddr(bus->number, PCI_SLOT(devfn), in rt2880_pci_config_read() 103 address = rt2880_pci_get_cfgaddr(bus->number, PCI_SLOT(devfn), in rt2880_pci_config_write() 192 switch (PCI_SLOT(dev->devfn)) { in pcibios_map_irq()
|
D | ops-nile4.c | 22 if ((busnum == 0) && (PCI_SLOT(devfn) > 8)) in nile4_pcibios_config_access() 51 ((1 << (PCI_SLOT(devfn) + 15)) | (PCI_FUNC(devfn) << 8) in nile4_pcibios_config_access()
|
D | fixup-malta.c | 92 if (PCI_SLOT(pdev->devfn) == 10) { in malta_piix_func0_fixup() 126 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()
|
D | fixup-tb0287.c | 43 switch (PCI_SLOT(dev->devfn)) { in pcibios_map_irq()
|
D | pci-bcm47xx.c | 50 slot = PCI_SLOT(dev->devfn); in bcm47xx_pcibios_plat_dev_init_ssb()
|
D | pci-ar2315.c | 202 int dev = PCI_SLOT(devfn); in ar2315_pci_cfg_access() 272 if (PCI_SLOT(devfn) == AR2315_PCI_HOST_SLOT) in ar2315_pci_cfg_read() 283 if (PCI_SLOT(devfn) == AR2315_PCI_HOST_SLOT) in ar2315_pci_cfg_write()
|
D | ops-msc.c | 58 (PCI_SLOT(devfn) << MSC01_PCI_CFGADDR_DNUM_SHF) | in msc_pcibios_config_access()
|
D | ops-loongson3.c | 22 int device = PCI_SLOT(devfn); in loongson3_pci_config_access()
|
D | ops-bonito64.c | 45 int device = PCI_SLOT(devfn); in bonito64_pcibios_config_access()
|
D | pci-rt3883.c | 247 address = rt3883_pci_get_cfgaddr(bus->number, PCI_SLOT(devfn), in rt3883_pci_config_read() 281 address = rt3883_pci_get_cfgaddr(bus->number, PCI_SLOT(devfn), in rt3883_pci_config_write() 480 switch (PCI_SLOT(devfn)) { in rt3883_pci_probe()
|
D | pci-bcm1480ht.c | 96 devno = PCI_SLOT(devfn); in bcm1480ht_can_access()
|
D | fixup-fuloong2e.c | 67 sb_slot = PCI_SLOT(pdev->devfn); in loongson2e_686b_func0_fixup()
|
D | pci-ar71xx.c | 90 ret = (1 << PCI_SLOT(devfn)) | (PCI_FUNC(devfn) << 8) | in ar71xx_pci_bus_addr() 94 ret = (bus->number << 16) | (PCI_SLOT(devfn) << 11) | in ar71xx_pci_bus_addr()
|
D | ops-loongson2.c | 44 int device = PCI_SLOT(devfn); in loongson_pcibios_config_access()
|
D | pci-sb1250.c | 112 devno = PCI_SLOT(devfn); in sb1250_pci_can_access()
|
D | pci-bcm1480.c | 105 devno = PCI_SLOT(devfn); in bcm1480_pci_can_access()
|
D | pci-xlr.c | 212 link = PCI_SLOT(lnk->devfn); in get_irq_vector()
|
D | msi-xlp.c | 455 slot = PCI_SLOT(lnkdev->devfn); in arch_setup_msi_irq()
|
D | pci-alchemy.c | 102 unsigned int device = PCI_SLOT(dev_fn); in config_access()
|
/linux-4.1.27/drivers/pci/hotplug/ |
D | cpci_hotplug_pci.c | 265 slot->bus->number, PCI_SLOT(slot->devfn), PCI_FUNC(slot->devfn)); in cpci_configure_slot() 290 if (PCI_SLOT(dev->devfn) != PCI_SLOT(slot->devfn)) in cpci_configure_slot() 320 if (PCI_SLOT(dev->devfn) != PCI_SLOT(slot->devfn)) in cpci_unconfigure_slot()
|
D | shpchp_pci.c | 65 if (PCI_SLOT(dev->devfn) != p_slot->device) in shpchp_configure_device() 94 if (PCI_SLOT(dev->devfn) != p_slot->device) in shpchp_unconfigure_device()
|
D | acpiphp_glue.c | 495 if (PCI_SLOT(dev->devfn) != slot->device) in enable_slot() 553 if (PCI_SLOT(dev->devfn) == slot->device) in disable_slot() 568 if (PCI_SLOT(dev->devfn) == slot->device && dev->ignore_hotplug) in slot_no_hotplug() 689 if (PCI_SLOT(dev->devfn) == slot->device) in acpiphp_check_bridge()
|
D | rpaphp_slot.c | 134 slotno = PCI_SLOT(PCI_DN(slot->dn->child)->devfn); in rpaphp_register_slot()
|
D | cpqphp_nvram.c | 288 rc = add_byte(&pFill, PCI_SLOT(ctrl->pci_dev->devfn), &usedbytes, &available); in store_HRT() 483 (device != PCI_SLOT(ctrl->pci_dev->devfn)) || in compaq_nvram_load()
|
D | sgi_hotplug.c | 380 if (PCI_SLOT(dev->devfn) != slot->device_num + 1) in enable_slot() 539 if (PCI_SLOT(dev->devfn) != slot->device_num + 1) in disable_slot()
|
D | pciehp_hpc.c | 284 pci_domain_nr(bus), bus->number, PCI_SLOT(devfn), in pci_bus_check_dev()
|
D | ibmphp_core.c | 159 (*cur_slot)->device = PCI_SLOT(rtable->slots[loop].devfn); in ibmphp_init_devno()
|
D | cpqphp_core.c | 1092 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), ctrl->rev); in cpqhpc_probe()
|
/linux-4.1.27/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-4.1.27/arch/sh/drivers/pci/ |
D | fixups-cayman.c | 39 slot = path[i].slot = PCI_SLOT(dev->devfn); in pcibios_map_platform_irq() 46 slot = PCI_SLOT(dev->devfn); in pcibios_map_platform_irq()
|
D | ops-sh7786.c | 28 dev = PCI_SLOT(devfn); in sh7786_pcie_config_access()
|
/linux-4.1.27/drivers/xen/xen-pciback/ |
D | vpci.c | 41 if (PCI_SLOT(devfn) < PCI_SLOT_MAX) { in __xen_pcibk_get_pci_dev() 45 &vpci_dev->dev_list[PCI_SLOT(devfn)], in __xen_pcibk_get_pci_dev() 61 && l->bus == r->bus && PCI_SLOT(l->devfn) == PCI_SLOT(r->devfn)) in match_slot()
|
D | pci_stub.c | 164 && slot == PCI_SLOT(psdev->dev->devfn) in pcistub_device_find() 214 && slot == PCI_SLOT(psdev->dev->devfn) in pcistub_get_pci_dev_by_slot() 730 PCI_SLOT(dev->devfn), in xen_pcibk_slot_reset() 788 PCI_SLOT(dev->devfn), in xen_pcibk_mmio_enabled() 846 PCI_SLOT(dev->devfn), in xen_pcibk_error_detected() 900 PCI_SLOT(dev->devfn), in xen_pcibk_error_resume() 1037 || PCI_SLOT(devfn) != slot in pcistub_device_id_add() 1069 && (slot < 0 || PCI_SLOT(pci_dev_id->devfn) == slot) in pcistub_device_id_remove() 1182 PCI_SLOT(pci_dev_id->devfn), in pcistub_slot_show() 1298 PCI_SLOT(quirk->pdev->devfn), in pcistub_quirk_show()
|
D | xenbus.c | 218 PCI_SLOT(devfn), PCI_FUNC(devfn)); in xen_pcibk_publish_pci_dev()
|
/linux-4.1.27/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-4.1.27/arch/x86/include/asm/ |
D | amd_nb.h | 93 PCI_SLOT(misc->devfn) == PCI_SLOT(pdev->devfn)) in amd_get_node_id()
|
/linux-4.1.27/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-4.1.27/arch/xtensa/lib/ |
D | pci-auto.c | 148 irq = pci_ctrl->map_irq(dev, PCI_SLOT(devfn), pin); in pciauto_setup_irq() 293 PCI_SLOT(pci_devfn)); in pciauto_bus_scan() 341 current_bus, PCI_SLOT(pci_devfn), PCI_FUNC(pci_devfn) ); in pciauto_bus_scan()
|
/linux-4.1.27/arch/arm/mach-ixp4xx/ |
D | common-pci.c | 174 addr = BIT(32-PCI_SLOT(devfn)) | ((PCI_FUNC(devfn)) << 8) | in ixp4xx_config_addr() 178 addr = (bus_num << 16) | ((PCI_SLOT(devfn)) << 11) | in ixp4xx_config_addr() 248 bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn)); in ixp4xx_pci_read_config() 271 size, bus_num, PCI_SLOT(devfn), PCI_FUNC(devfn)); in ixp4xx_pci_write_config()
|
/linux-4.1.27/arch/x86/pci/ |
D | olpc.c | 179 return (!bus && ((PCI_SLOT(devfn) == NB_SLOT) || in is_simulated() 180 (PCI_SLOT(devfn) == SB_SLOT))); in is_simulated()
|
D | direct.c | 106 dev = PCI_SLOT(devfn); in pci_conf2_read() 146 dev = PCI_SLOT(devfn); in pci_conf2_write()
|
D | irq.c | 873 PCI_SLOT(info->devfn) == PCI_SLOT(dev->devfn)) in pirq_get_info() 1208 PCI_SLOT(dev->devfn), pin - 1); in pirq_enable_irq() 1221 PCI_SLOT(bridge->devfn), in pirq_enable_irq()
|
D | common.c | 661 (PCI_SLOT(dev->devfn) == rom->device) && in pcibios_add_device()
|
/linux-4.1.27/drivers/iommu/ |
D | amd_iommu_init.c | 440 PCI_SLOT(h->devid), in find_last_devid_from_ivhd() 844 PCI_SLOT(iommu->first_device), in init_iommu_from_acpi() 847 PCI_SLOT(iommu->last_device), in init_iommu_from_acpi() 861 PCI_SLOT(e->devid), in init_iommu_from_acpi() 873 PCI_SLOT(e->devid), in init_iommu_from_acpi() 887 PCI_SLOT(e->devid), in init_iommu_from_acpi() 891 PCI_SLOT(e->ext >> 8), in init_iommu_from_acpi() 906 PCI_SLOT(e->devid), in init_iommu_from_acpi() 910 PCI_SLOT(e->ext >> 8), in init_iommu_from_acpi() 924 PCI_SLOT(e->devid), in init_iommu_from_acpi() [all …]
|
D | amd_iommu.c | 341 "%02x:%02x.%d\n", PCI_BUS_NUM(ivrs_alias), PCI_SLOT(ivrs_alias), in get_alias() 343 PCI_BUS_NUM(pci_alias), PCI_SLOT(pci_alias), in get_alias() 355 PCI_SLOT(ivrs_alias), PCI_FUNC(ivrs_alias), in get_alias() 613 PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid), in iommu_print_event() 620 PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid), in iommu_print_event() 626 PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid), in iommu_print_event() 632 PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid), in iommu_print_event() 646 PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid), in iommu_print_event() 652 PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid), in iommu_print_event()
|
D | iommu.c | 553 PCI_SLOT(tmp->devfn) != PCI_SLOT(pdev->devfn) || in get_pci_function_alias_group()
|
D | dmar.c | 168 info->path[level].device = PCI_SLOT(tmp->devfn); in dmar_alloc_pci_notify_info() 1558 (source_id >> 8), PCI_SLOT(source_id & 0xFF), in dmar_fault_do_one() 1566 (source_id >> 8), PCI_SLOT(source_id & 0xFF), in dmar_fault_do_one()
|
/linux-4.1.27/arch/arm/mach-versatile/ |
D | pci.c | 94 (PCI_SLOT(devfn) << 11) | (PCI_FUNC(devfn) << 8) | offset); in __pci_addr() 102 int slot = PCI_SLOT(devfn); in versatile_read_config() 145 int slot = PCI_SLOT(devfn); in versatile_write_config()
|
/linux-4.1.27/include/uapi/linux/ |
D | pci.h | 31 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) macro
|
/linux-4.1.27/arch/arm/mach-iop13xx/ |
D | pci.c | 187 addr = 1 << (PCI_SLOT(devfn) + 16) | (PCI_SLOT(devfn) << 11); in iop13xx_atux_cfg_address() 189 addr = bus->number << 16 | PCI_SLOT(devfn) << 11 | 1; in iop13xx_atux_cfg_address() 210 bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn)); in iop13xx_atue_cfg_address() 212 ((u32) PCI_SLOT(devfn)) << IOP13XX_ATUE_OCCAR_DEV_NUM | in iop13xx_atue_cfg_address() 426 if (!PCI_SLOT(devfn) || (addr & 1)) { in iop13xx_atue_read_config()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | eeh_pe.c | 355 PCI_SLOT(edev->config_addr & 0xFF), in eeh_add_to_parent_pe() 378 PCI_SLOT(edev->config_addr & 0xFF), in eeh_add_to_parent_pe() 423 PCI_SLOT(edev->config_addr & 0xFF), in eeh_add_to_parent_pe() 448 PCI_SLOT(edev->config_addr & 0xFF), in eeh_rmv_from_parent_pe() 688 PCI_SLOT(edev->config_addr & 0xFF), in eeh_bridge_check_link()
|
D | pci-hotplug.c | 98 slotno = PCI_SLOT(PCI_DN(dn->child)->devfn); in pcibios_add_pci_devices()
|
D | pci_of_scan.c | 149 if (PCI_SLOT(dev->devfn) == slot->number) in of_create_pci_dev() 160 dev->bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn)); in of_create_pci_dev()
|
D | eeh.c | 175 PCI_SLOT(pdn->devfn), PCI_FUNC(pdn->devfn)); in eeh_dump_dev_log() 178 PCI_SLOT(pdn->devfn), PCI_FUNC(pdn->devfn)); in eeh_dump_dev_log()
|
/linux-4.1.27/arch/powerpc/platforms/pasemi/ |
D | pci.c | 59 ((PCI_SLOT(devfn) == 16) || (PCI_SLOT(devfn) == 17))); in is_root_port()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_pci.c | 137 PCI_SLOT(dev->pdev->devfn), in drm_pci_set_busid() 181 (slot != PCI_SLOT(dev->pdev->devfn)) || in drm_pci_set_unique() 195 p->devnum != PCI_SLOT(dev->pdev->devfn) || p->funcnum != PCI_FUNC(dev->pdev->devfn)) in drm_pci_irq_by_busid()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | pci_common.c | 128 if (!bus_dev->number && !PCI_SLOT(devfn)) in sun4u_read_pci_cfg() 218 if (!bus_dev->number && !PCI_SLOT(devfn)) in sun4u_write_pci_cfg() 262 unsigned int device = PCI_SLOT(devfn); in sun4v_read_pci_cfg() 295 unsigned int device = PCI_SLOT(devfn); in sun4v_write_pci_cfg()
|
D | leon_pci_grpci1.c | 245 if (PCI_SLOT(devfn) > 15 || busno > 15) { in grpci1_read_config() 268 busno, PCI_SLOT(devfn), PCI_FUNC(devfn), where, *val, size); in grpci1_read_config() 283 if (PCI_SLOT(devfn) > 15 || busno > 15) in grpci1_write_config() 289 busno, PCI_SLOT(devfn), PCI_FUNC(devfn), where, size, val); in grpci1_write_config()
|
D | leon_pci_grpci2.c | 382 if (PCI_SLOT(devfn) > 15 || busno > 255) { in grpci2_read_config() 404 "size=%d\n", busno, PCI_SLOT(devfn), PCI_FUNC(devfn), where, in grpci2_read_config() 420 if (PCI_SLOT(devfn) > 15 || busno > 255) in grpci2_write_config() 425 "val=%x\n", busno, PCI_SLOT(devfn), PCI_FUNC(devfn), in grpci2_write_config()
|
D | pci.c | 294 if (PCI_SLOT(dev->devfn) == slot->number) in of_create_pci_dev() 317 dev->bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn)); in of_create_pci_dev()
|
/linux-4.1.27/arch/frv/mb93090-mb00/ |
D | pci-irq.c | 51 dev->irq = pci_bus0_irq_routing[PCI_SLOT(dev->devfn)][pin - 1]; in pcibios_fixup_irqs()
|
/linux-4.1.27/drivers/xen/ |
D | pci.c | 66 if (pci_ari_enabled(pci_dev->bus) && PCI_SLOT(pci_dev->devfn)) in xen_add_device() 127 else if (pci_ari_enabled(pci_dev->bus) && PCI_SLOT(pci_dev->devfn)) { in xen_add_device()
|
/linux-4.1.27/arch/powerpc/platforms/85xx/ |
D | mpc85xx_cds.c | 78 if ((bus == 1) && (PCI_SLOT(devfn) == ARCADIA_2ND_BRIDGE_IDSEL)) in mpc85xx_exclude_device() 80 if ((bus == 0) && (PCI_SLOT(devfn) == ARCADIA_2ND_BRIDGE_IDSEL)) in mpc85xx_exclude_device()
|
D | mpc85xx_ads.c | 43 if (bus == 0 && PCI_SLOT(devfn) == 0) in mpc85xx_exclude_device()
|
/linux-4.1.27/arch/arm/mach-dove/ |
D | pcie.c | 103 if (pcie_valid_config(pp, bus->number, PCI_SLOT(devfn)) == 0) { in pcie_rd_conf() 123 if (pcie_valid_config(pp, bus->number, PCI_SLOT(devfn)) == 0) in pcie_wr_conf()
|
/linux-4.1.27/arch/powerpc/platforms/82xx/ |
D | pq2.c | 41 if (bus == 0 && PCI_SLOT(devfn) == 0) in pq2_pci_exclude_device()
|
/linux-4.1.27/drivers/bcma/ |
D | driver_pci_host.c | 243 err = bcma_extpci_read_config(pc, PCI_SLOT(devfn), in bcma_core_pci_hostmode_read_config() 263 err = bcma_extpci_write_config(pc, PCI_SLOT(devfn), in bcma_core_pci_hostmode_write_config() 536 if (PCI_SLOT(dev->devfn) != 0) in bcma_core_pci_fixup_pcibridge() 563 if (PCI_SLOT(dev->devfn) == 0) in bcma_core_pci_fixup_addresses()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | pci.h | 26 PCI_SLOT(DEVFN), \
|
/linux-4.1.27/arch/powerpc/platforms/ |
D | fsl_uli1575.c | 352 if ((PCI_SLOT(devfn) == 29) && (PCI_FUNC(devfn) == 1)) in uli_exclude_device() 356 if ((PCI_SLOT(devfn) == 29) && (PCI_FUNC(devfn) == 2)) in uli_exclude_device()
|
/linux-4.1.27/arch/m68k/coldfire/ |
D | pci.c | 83 if (mcf_host_slot2sid[PCI_SLOT(devfn)] == 0) in mcf_pci_readconfig() 115 if (mcf_host_slot2sid[PCI_SLOT(devfn)] == 0) in mcf_pci_writeconfig()
|
/linux-4.1.27/arch/mips/ath79/ |
D | mach-ubnt-xm.c | 87 switch (PCI_SLOT(dev->devfn)) { in ubnt_xm_pci_plat_dev_init()
|
D | mach-db120.c | 98 switch (PCI_SLOT(dev->devfn)) { in db120_pci_plat_dev_init()
|
D | mach-ap136.c | 120 if (dev->bus->number == 1 && (PCI_SLOT(dev->devfn)) == 0) in ap136_pci_plat_dev_init()
|
/linux-4.1.27/drivers/parisc/ |
D | iosapic.c | 481 pcidev->slot_name, PCI_SLOT(pcidev->devfn), intr_pin); in iosapic_xlate_pin() 530 intr_slot = PCI_SLOT(p->self->devfn); in iosapic_xlate_pin() 532 intr_slot = PCI_SLOT(pcidev->devfn); in iosapic_xlate_pin() 808 PCI_SLOT(pcidev->devfn), PCI_FUNC(pcidev->devfn), in iosapic_fixup_irq()
|
/linux-4.1.27/arch/arm/mach-iop33x/ |
D | iq80331.c | 75 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in iq80331_pci_map_irq()
|
D | iq80332.c | 75 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in iq80332_pci_map_irq()
|
/linux-4.1.27/arch/arm/mach-mv78xx0/ |
D | pcie.c | 145 if (pcie_valid_config(pp, bus->number, PCI_SLOT(devfn)) == 0) { in pcie_rd_conf() 165 if (pcie_valid_config(pp, bus->number, PCI_SLOT(devfn)) == 0) in pcie_wr_conf()
|
/linux-4.1.27/arch/arm/mach-cns3xxx/ |
D | pcie.c | 59 int slot = PCI_SLOT(devfn); in cns3xxx_pci_map_bus() 136 pci_domain_nr(dev->bus), dev->bus->number, PCI_SLOT(dev->devfn), in cns3xxx_pcie_map_irq()
|
/linux-4.1.27/drivers/ssb/ |
D | driver_gige.c | 116 if ((PCI_SLOT(devfn) > 0) || (PCI_FUNC(devfn) > 0)) in ssb_gige_pci_read_config() 146 if ((PCI_SLOT(devfn) > 0) || (PCI_FUNC(devfn) > 0)) in ssb_gige_pci_write_config()
|
D | driver_pcicore.c | 211 err = ssb_extpci_read_config(extpci_core, bus->number, PCI_SLOT(devfn), in ssb_pcicore_read_config() 225 err = ssb_extpci_write_config(extpci_core, bus->number, PCI_SLOT(devfn), in ssb_pcicore_write_config() 284 if (dev->bus->number != 0 || PCI_SLOT(dev->devfn) != 0) in ssb_pcicore_fixup_pcibridge()
|
/linux-4.1.27/drivers/pci/ |
D | slot.c | 110 if (PCI_SLOT(dev->devfn) == slot->number) in pci_slot_release() 305 if (PCI_SLOT(dev->devfn) == slot_nr) in pci_create_slot()
|
D | quirks.c | 882 via_vlink_dev_lo = PCI_SLOT(dev->devfn); in quirk_via_bridge() 883 via_vlink_dev_hi = PCI_SLOT(dev->devfn); in quirk_via_bridge() 937 if (dev->bus->number != 0 || PCI_SLOT(dev->devfn) > via_vlink_dev_hi || in quirk_via_vlink() 938 PCI_SLOT(dev->devfn) < via_vlink_dev_lo) in quirk_via_vlink() 1930 f0 = pci_get_slot(dev->bus, PCI_DEVFN(PCI_SLOT(dev->devfn), 0)); in quirk_f0_vpd_link() 3588 dev->dma_alias_devfn = PCI_DEVFN(PCI_SLOT(dev->devfn), 0); in quirk_dma_func0_alias() 3604 dev->dma_alias_devfn = PCI_DEVFN(PCI_SLOT(dev->devfn), 1); in quirk_dma_func1_alias() 3670 PCI_SLOT(dev->dma_alias_devfn), in quirk_fixed_dma_alias()
|
D | access.c | 446 PCI_DEVFN(PCI_SLOT(dev->devfn), 0)); in pci_vpd_f0_read() 461 PCI_DEVFN(PCI_SLOT(dev->devfn), 0)); in pci_vpd_f0_write()
|
D | xen-pcifront.c | 197 pci_domain_nr(bus), bus->number, PCI_SLOT(devfn), in pcifront_bus_read() 238 PCI_SLOT(devfn), PCI_FUNC(devfn), where, size, val); in pcifront_bus_write() 441 PCI_SLOT(devfn), PCI_FUNC(devfn)); in pcifront_scan_bus()
|
D | proc.c | 397 sprintf(name, "%02x.%x", PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in pci_proc_attach_device()
|
D | probe.c | 1141 if (PCI_SLOT(dev->devfn) == slot->number) in pci_setup_device() 1149 dev->bus->number, PCI_SLOT(dev->devfn), in pci_setup_device() 1478 pci_domain_nr(bus), bus->number, PCI_SLOT(devfn), in pci_bus_read_dev_vendor_id()
|
D | pci-acpi.c | 589 addr = (PCI_SLOT(pci_dev->devfn) << 16) | PCI_FUNC(pci_dev->devfn); in acpi_pci_find_companion()
|
D | iov.c | 466 iov->link = PCI_DEVFN(PCI_SLOT(dev->devfn), iov->link); in sriov_init()
|
D | pci.c | 2459 slot = PCI_SLOT(dev->devfn); in pci_swizzle_interrupt_pin() 2497 return PCI_SLOT(dev->devfn); in pci_common_swizzle() 4379 slot == PCI_SLOT(dev->devfn) && in pci_specified_resource_alignment()
|
/linux-4.1.27/arch/parisc/kernel/ |
D | drivers.c | 300 path->bc[i--] = PCI_SLOT(devfn); in get_node_path() 307 path->bc[i--] = PCI_SLOT(devfn) | (PCI_FUNC(devfn)<< 5); in get_node_path() 647 return ((modpath->bc[5] == PCI_SLOT(devfn)) && in match_pci_device() 651 id = PCI_SLOT(pdev->devfn) | (PCI_FUNC(pdev->devfn) << 5); in match_pci_device()
|
/linux-4.1.27/drivers/pci/pcie/aer/ |
D | aerdrv_acpi.c | 28 p->device == PCI_SLOT(pci->devfn) && in hest_match_pci()
|
D | aerdrv_core.c | 580 domain, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in aer_recover_queue() 596 PCI_SLOT(entry.devfn), PCI_FUNC(entry.devfn)); in aer_recover_work_func()
|
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/ |
D | mpc7448_hpc2.c | 59 if (bus == 0 && PCI_SLOT(devfn) == 0) in mpc7448_hpc2_exclude_device()
|
D | holly.c | 49 if (bus == 0 && PCI_SLOT(devfn) == 0) in holly_exclude_device()
|
/linux-4.1.27/arch/powerpc/platforms/maple/ |
D | pci.c | 86 return (1 << (unsigned long)PCI_SLOT(devfn)) | in u3_agp_cfa0() 202 if (PCI_SLOT(devfn) == 0) in u3_ht_cfg_access() 340 return (1 << PCI_SLOT(devfn)) | in u4_pcie_cfa0()
|
/linux-4.1.27/drivers/misc/ |
D | ioc4.c | 244 3 == PCI_SLOT(pdev->devfn)) in ioc4_variant() 259 3 == PCI_SLOT(pdev->devfn)) in ioc4_variant()
|
/linux-4.1.27/drivers/media/pci/mantis/ |
D | mantis_pci.c | 60 PCI_SLOT(mantis->pdev->devfn), in mantis_pci_init()
|
D | mantis_core.c | 121 mantis->pdev->bus->number, PCI_SLOT(mantis->pdev->devfn), PCI_FUNC(mantis->pdev->devfn)); in mantis_core_init()
|
/linux-4.1.27/drivers/edac/ |
D | i7core_edac.c | 884 dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn), in write_and_test() 899 dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn), in write_and_test() 1250 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in i7core_put_devices() 1389 if (unlikely(PCI_SLOT(pdev->devfn) != dev_descr->dev || in i7core_get_onedevice() 1395 bus, PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in i7core_get_onedevice() 1473 slot = PCI_SLOT(pdev->devfn); in mci_bind_devs() 1516 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in mci_bind_devs() 1519 if (PCI_SLOT(pdev->devfn) == 3 && in mci_bind_devs()
|
D | sb_edac.c | 1469 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in sbridge_put_devices() 1756 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in ibridge_mci_bind_devs() 1863 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in haswell_mci_bind_devs() 1939 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in broadwell_mci_bind_devs()
|
D | i7300_edac.c | 1038 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in i7300_init_one()
|
D | i5400_edac.c | 1272 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in i5400_probe1()
|
D | amd64_edac.c | 977 (PCI_SLOT(dev->devfn) == PCI_SLOT(related->devfn))) in pci_get_related_function()
|
D | i5000_edac.c | 1372 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in i5000_probe1()
|
/linux-4.1.27/drivers/ide/ |
D | pdc202xx_new.c | 429 dev2 = pci_get_slot(dev->bus, PCI_DEVFN(PCI_SLOT(dev->devfn) + 1, in pdc20270_get_dev2() 492 if (PCI_SLOT(dev->devfn) & 2) in pdc202new_init_one()
|
D | sl82c105.c | 243 PCI_DEVFN(PCI_SLOT(dev->devfn), 0)); in sl82c105_bridge_revision()
|
D | ns87415.c | 310 if (PCI_SLOT(dev->devfn) == 0xE) { in ns87415_init_one()
|
D | ide-acpi.c | 133 devnum = PCI_SLOT(pdev->devfn); in ide_get_dev_handle()
|
/linux-4.1.27/drivers/pci/host/ |
D | pcie-designware.c | 586 busdev = PCIE_ATU_BUS(bus->number) | PCIE_ATU_DEV(PCI_SLOT(devfn)) | in dw_pcie_rd_other_conf() 611 busdev = PCIE_ATU_BUS(bus->number) | PCIE_ATU_DEV(PCI_SLOT(devfn)) | in dw_pcie_wr_other_conf() 659 if (dw_pcie_valid_config(pp, bus, PCI_SLOT(devfn)) == 0) { in dw_pcie_rd_conf() 683 if (dw_pcie_valid_config(pp, bus, PCI_SLOT(devfn)) == 0) in dw_pcie_wr_conf()
|
D | pci-mvebu.c | 48 (PCIE_CONF_BUS(bus) | PCIE_CONF_DEV(PCI_SLOT(devfn)) | \ 663 PCI_SLOT(devfn) != 0) in mvebu_pcie_wr_conf() 704 PCI_SLOT(devfn) != 0) { in mvebu_pcie_rd_conf() 878 if (slot == PCI_SLOT(devfn) && type == rtype) { in mvebu_get_tgt_attr()
|
D | pci-versatile.c | 59 if (pci_slot_ignore & (1 << PCI_SLOT(devfn))) in versatile_map_bus()
|
D | pcie-iproc.c | 76 unsigned slot = PCI_SLOT(devfn); in iproc_pcie_map_cfg_bus()
|
D | pci-rcar-gen2.c | 119 slot = PCI_SLOT(devfn); in rcar_pci_cfg_base()
|
D | pci-keystone-dw.c | 376 u8 device = PCI_SLOT(devfn), function = PCI_FUNC(devfn); in ks_pcie_cfg_setup()
|
D | pci-tegra.c | 378 return ((where & 0xf00) << 8) | (PCI_SLOT(devfn) << 11) | in tegra_pcie_conf_offset() 459 unsigned int slot = PCI_SLOT(devfn); in tegra_pcie_conf_address() 1684 index = PCI_SLOT(err); in tegra_pcie_parse_dt()
|
D | pci-xgene.c | 102 d = PCI_SLOT(devfn); in xgene_pcie_set_rtdid_reg()
|
D | pcie-rcar.c | 185 dev = PCI_SLOT(devfn); in rcar_pcie_config_access()
|
/linux-4.1.27/drivers/usb/host/ |
D | ohci-pci.c | 76 b = pci_get_slot (pdev->bus, PCI_DEVFN (PCI_SLOT (pdev->devfn), 1)); in ohci_quirk_ns()
|
/linux-4.1.27/drivers/usb/core/ |
D | hcd-pci.c | 65 unsigned int slot = PCI_SLOT(pdev->devfn); in for_each_companion() 75 PCI_SLOT(companion->devfn) != slot) in for_each_companion()
|
/linux-4.1.27/arch/arm/mach-ks8695/ |
D | pci.c | 47 pbca |= PCI_SLOT(devfn) << 11 ; in ks8695_pci_setupconfig()
|
/linux-4.1.27/drivers/spi/ |
D | spi-pxa2xx-pci.c | 130 dma_dev = pci_get_slot(dev->bus, PCI_DEVFN(PCI_SLOT(dev->devfn), 0)); in pxa2xx_spi_pci_probe()
|
/linux-4.1.27/drivers/ata/ |
D | pata_sl82c105.c | 272 PCI_DEVFN(PCI_SLOT(pdev->devfn), 0)); in sl82c105_bridge_revision()
|
D | pata_ns87415.c | 368 if (PCI_SLOT(pdev->devfn) == 0x0E) in ns87415_init_one()
|
D | sata_sil.c | 727 return slot == PCI_SLOT(pdev->devfn); in sil_broken_system_poweroff()
|
D | ata_piix.c | 1580 return slot == PCI_SLOT(pdev->devfn); in piix_broken_system_poweroff()
|
D | ahci.c | 1139 return slot == PCI_SLOT(pdev->devfn); in ahci_broken_system_poweroff()
|
/linux-4.1.27/arch/arm/mach-footbridge/ |
D | dc21285.c | 45 if (PCI_SLOT(devfn) == 0) in dc21285_base_address()
|
/linux-4.1.27/drivers/gpu/vga/ |
D | vga_switcheroo.c | 678 if (PCI_SLOT(client->pdev->devfn) == PCI_SLOT(pdev->devfn) && client_is_vga(client)) { in vga_switcheroo_runtime_resume_hdmi_audio()
|
D | vgaarb.c | 1079 domain, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in vga_arb_write()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_drm.c | 87 name |= PCI_SLOT(pdev->devfn) << 8; in nouveau_pci_name() 354 PCI_DEVFN(PCI_SLOT(pdev->devfn), 1)); in nouveau_get_hdmi_dev() 357 NV_DEBUG(drm, "hdmi device not found %d %d %d\n", pdev->bus->number, PCI_SLOT(pdev->devfn), 1); in nouveau_get_hdmi_dev()
|
/linux-4.1.27/arch/ia64/sn/pci/pcibr/ |
D | pcibr_dma.c | 51 u8 internal_device = (PCI_SLOT(pcidev_info->pdi_host_pcidev_info-> in pcibr_dmamap_ate32()
|
/linux-4.1.27/drivers/misc/cb710/ |
D | core.c | 35 unsigned int devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0); in cb710_pci_configure()
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
D | aic79xx_osm_pci.c | 142 unsigned int master_devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0); in ahd_linux_pci_inherit_flags()
|
D | aic7xxx_osm_pci.c | 185 unsigned int master_devfn = PCI_DEVFN(PCI_SLOT(pdev->devfn), 0); in ahc_linux_pci_inherit_flags()
|
D | aic7xxx_osm.h | 492 return (PCI_SLOT(pci->devfn)); in ahc_get_pci_slot()
|
D | aic79xx_osm.h | 489 return (PCI_SLOT(pci->devfn)); in ahd_get_pci_slot()
|
/linux-4.1.27/drivers/isdn/hysdn/ |
D | hysdn_procconf.c | 277 PCI_SLOT(card->devfn), in hysdn_conf_open()
|
/linux-4.1.27/drivers/infiniband/hw/usnic/ |
D | usnic_ib_sysfs.c | 98 PCI_SLOT(us_ibdev->pdev->devfn), in usnic_ib_show_config()
|
/linux-4.1.27/arch/tile/kernel/ |
D | pci.c | 350 (PCI_SLOT(dev->devfn) == 0)) { in pcibios_init()
|
D | pci_gx.c | 1215 int device = PCI_SLOT(devfn); in tile_cfg_read() 1338 int device = PCI_SLOT(devfn); in tile_cfg_write()
|
/linux-4.1.27/drivers/pci/pcie/ |
D | pme.c | 209 busnr, PCI_SLOT(devfn), PCI_FUNC(devfn)); in pcie_pme_handle_request()
|
/linux-4.1.27/arch/mips/txx9/generic/ |
D | pci.c | 277 irq = pcibios_map_irq(dev, PCI_SLOT(dev->devfn), 1); /* INTA */ in quirk_slc90e66_bridge()
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
D | adf_ctl_drv.c | 416 dev_info.dev = PCI_SLOT(accel_to_pci_dev(accel_dev)->devfn); in adf_ctl_ioctl_get_status()
|
/linux-4.1.27/drivers/acpi/ |
D | pci_irq.c | 166 int device = PCI_SLOT(dev->devfn); in acpi_pci_irq_check_entry()
|
/linux-4.1.27/drivers/staging/i2o/ |
D | pci.c | 374 PCI_DEVFN(PCI_SLOT(c->pdev->devfn), 0)); in i2o_pci_probe()
|
/linux-4.1.27/arch/x86/kernel/ |
D | quirks.c | 544 devfn = PCI_DEVFN(PCI_SLOT(dev->devfn), 0); in quirk_amd_nb_node()
|
/linux-4.1.27/drivers/net/can/sja1000/ |
D | plx_pci.c | 525 ci->name, PCI_SLOT(pdev->devfn)); in plx_pci_add_card()
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
D | dvb-bt8xx.c | 116 (PCI_SLOT(adev->devfn) == PCI_SLOT(bdev->devfn))) in is_pci_slot_eq()
|
D | bt878.c | 457 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in bt878_probe()
|
D | bttv-cards.c | 4311 if ((PCI_SLOT(btv->c.pci->devfn) & ~3) != 0xC) { in init_PCI8604PW() 4316 if (PCI_SLOT(btv->c.pci->devfn) != 0xD) in init_PCI8604PW()
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
D | pci.c | 128 ((1 << (unsigned int)PCI_SLOT(dev_fn)) \ 387 ((1 << ((unsigned int)PCI_SLOT(dev_fn))) \
|
/linux-4.1.27/drivers/scsi/csiostor/ |
D | csio_hw.h | 540 #define CSIO_PCI_DEV(hw) (PCI_SLOT((hw)->pdev->devfn))
|
/linux-4.1.27/arch/arm/mach-integrator/ |
D | pci_v3.c | 378 int slot = PCI_SLOT(devfn); in v3_open_config_window()
|
/linux-4.1.27/drivers/staging/dgnc/ |
D | dgnc_driver.c | 402 brd->pci_slot = PCI_SLOT(pdev->devfn); in dgnc_found_board()
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
D | eeh_pseries.c | 269 __func__, pdn->busno, PCI_SLOT(pdn->devfn), in pseries_eeh_probe()
|
/linux-4.1.27/arch/mips/bcm47xx/ |
D | sprom.c | 656 PCI_SLOT(bus->host_pci->devfn)); in bcm47xx_get_sprom_ssb() 709 PCI_SLOT(bus->host_pci->devfn)); in bcm47xx_get_sprom_bcma()
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
D | ivtv-driver.c | 417 int pci_slot = PCI_SLOT(itv->pdev->devfn); in ivtv_process_eeprom() 902 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in ivtv_setup_pci()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_bios.c | 627 vhdr->PCIDevice != PCI_SLOT(rdev->pdev->devfn) || in radeon_acpi_vfct_bios()
|
/linux-4.1.27/drivers/mmc/host/ |
D | sdhci-pci.c | 421 if ((PCI_SLOT(chip->pdev->devfn) == in jmicron_probe() 422 PCI_SLOT(sd_dev->devfn)) && in jmicron_probe()
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
D | nes_hw.c | 280 PCI_SLOT(nesadapter->devfn), in nes_init_adapter() 282 PCI_SLOT(nesdev->pcidev->devfn), in nes_init_adapter() 284 if ((PCI_SLOT(nesadapter->devfn) == PCI_SLOT(nesdev->pcidev->devfn)) && in nes_init_adapter() 628 PCI_DEVFN(PCI_SLOT(nesdev->pcidev->devfn), in nes_init_adapter()
|
/linux-4.1.27/drivers/scsi/aacraid/ |
D | commctrl.c | 844 pci_info.slot = PCI_SLOT(dev->pdev->devfn); in aac_get_pci_info()
|
/linux-4.1.27/drivers/scsi/esas2r/ |
D | esas2r_ioctl.c | 453 gcc->pci_addr.device_num = PCI_SLOT(a->pcid->devfn); in csmi_ioctl_callback() 784 gai->pci.dev_num = PCI_SLOT(a->pcid->devfn); in hba_ioctl_callback()
|
/linux-4.1.27/drivers/media/pci/cx88/ |
D | cx88-core.c | 1018 if (PCI_SLOT(pci->devfn) != core->pci_slot) in cx88_core_get()
|
/linux-4.1.27/drivers/net/ethernet/dec/tulip/ |
D | tulip_core.c | 1570 ((PCI_SLOT(pdev->devfn) == 7) || in tulip_init_one() 1571 (PCI_SLOT(pdev->devfn) == 12))) { in tulip_init_one()
|
/linux-4.1.27/drivers/scsi/ |
D | fdomain.c | 849 PCI_SLOT(pdev->devfn), in fdomain_pci_bios_detect()
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
D | eeh-powernv.c | 426 PCI_SLOT(pdn->devfn), PCI_FUNC(pdn->devfn), ret); in pnv_eeh_probe()
|
D | pci-ioda.c | 72 PCI_SLOT(pe->rid), PCI_FUNC(pe->rid)); in pe_level_printk() 1452 PCI_SLOT(pci_iov_virtfn_devfn(pdev, vf_index)), in pnv_ioda_setup_vf_PE()
|
/linux-4.1.27/drivers/media/pci/cx18/ |
D | cx18-driver.c | 850 PCI_SLOT(pci_dev->devfn), PCI_FUNC(pci_dev->devfn), in cx18_setup_pci()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/ |
D | pci.c | 2046 pcipriv->ndis_adapter.devnumber = PCI_SLOT(pdev->devfn); in _rtl_pci_find_adapter() 2073 PCI_SLOT(bridge_pdev->devfn); in _rtl_pci_find_adapter()
|
/linux-4.1.27/drivers/scsi/megaraid/ |
D | megaraid_mbox.c | 430 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn))); in megaraid_probe_one() 3810 hinfo->pci_slot = PCI_SLOT(adapter->pdev->devfn); in gather_hbainfo()
|
/linux-4.1.27/drivers/message/fusion/ |
D | mptctl.c | 1319 karg->pciInfo.u.bits.deviceNumber = PCI_SLOT( pdev->devfn ); in mptctl_getiocinfo() 1325 karg->pciInfo.u.bits.deviceNumber = PCI_SLOT( pdev->devfn ); in mptctl_getiocinfo()
|
/linux-4.1.27/drivers/media/pci/cx25821/ |
D | cx25821-core.c | 897 dev->pci_slot = PCI_SLOT(dev->pci->devfn); in cx25821_dev_setup()
|
/linux-4.1.27/drivers/media/pci/saa7164/ |
D | saa7164-core.c | 988 dev->pci_slot = PCI_SLOT(dev->pci->devfn); in saa7164_dev_setup()
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
D | adl_pci9118.c | 1473 PCI_SLOT(pcidev->devfn) != slot) in pci9118_find_pci()
|
/linux-4.1.27/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 1182 if (ioc3_is_menet(pdev) && PCI_SLOT(pdev->devfn) == 3) in ioc3_serial_probe()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | tgafb.c | 1509 PCI_SLOT(to_pci_dev(dev)->devfn),
|