Home
last modified time | relevance | path

Searched refs:PCI_FUNC (Results 1 – 200 of 206) sorted by relevance

12

/linux-4.4.14/drivers/xen/xen-pciback/
Dvpci.c47 if (PCI_FUNC(entry->dev->devfn) == PCI_FUNC(devfn)) { in __xen_pcibk_get_pci_dev()
109 PCI_FUNC(dev->devfn)); in __xen_pcibk_add_pci_dev()
112 func = PCI_FUNC(dev->devfn); in __xen_pcibk_add_pci_dev()
125 func = dev->is_virtfn ? 0 : PCI_FUNC(dev->devfn); in __xen_pcibk_add_pci_dev()
253 PCI_FUNC(pcidev->devfn)); in __xen_pcibk_get_pcifront_dev()
Dpci_stub.c165 && func == PCI_FUNC(psdev->dev->devfn)) { in pcistub_device_find()
215 && func == PCI_FUNC(psdev->dev->devfn)) { in pcistub_get_pci_dev_by_slot()
731 PCI_FUNC(dev->devfn)); in xen_pcibk_slot_reset()
789 PCI_FUNC(dev->devfn)); in xen_pcibk_mmio_enabled()
847 PCI_FUNC(dev->devfn)); in xen_pcibk_error_detected()
901 PCI_FUNC(dev->devfn)); in xen_pcibk_error_resume()
1038 || PCI_FUNC(devfn) != func) in pcistub_device_id_add()
1070 && (func < 0 || PCI_FUNC(pci_dev_id->devfn) == func)) { in pcistub_device_id_remove()
1183 PCI_FUNC(pci_dev_id->devfn)); in pcistub_slot_show()
1299 PCI_FUNC(quirk->pdev->devfn), in pcistub_quirk_show()
Dxenbus.c220 PCI_SLOT(devfn), PCI_FUNC(devfn)); in xen_pcibk_publish_pci_dev()
/linux-4.4.14/arch/mips/pci/
Dops-emma2rh.c101 *(volatile u32 *)(base + (PCI_FUNC(devfn) << 8) + in pci_config_read()
146 *(volatile u32 *)(base + (PCI_FUNC(devfn) << 8) + in pci_config_write()
167 *(volatile u32 *)(base + (PCI_FUNC(devfn) << 8) + in pci_config_write()
Dops-bridge.c49 int fn = PCI_FUNC(devfn); in pci_conf0_read_config()
110 int fn = PCI_FUNC(devfn); in pci_conf1_read_config()
182 int fn = PCI_FUNC(devfn); in pci_conf0_write_config()
248 int fn = PCI_FUNC(devfn); in pci_conf1_write_config()
Dpci-xlp.c75 !nlm_node_present(PCI_FUNC(devfn))) in pci_cfg_read_32bit()
203 return PCI_FUNC(lnkdev->bus->self->devfn); in xlp_socdev_to_node()
221 lnkfunc = PCI_FUNC(lnkdev->devfn); in pcibios_map_irq()
Dfixup-mpc30x.c40 return internal_func_irqs[PCI_FUNC(dev->devfn)]; in pcibios_map_irq()
Dpci-rt2880.c75 PCI_FUNC(devfn), where); in rt2880_pci_config_read()
105 PCI_FUNC(devfn), where); in rt2880_pci_config_write()
Dops-vr41xx.c45 writel((1U << PCI_SLOT(devfn)) | (PCI_FUNC(devfn) << 8) | in set_pci_configuration_address()
Dops-loongson3.c23 int function = PCI_FUNC(devfn); in loongson3_pci_config_access()
Dops-msc.c59 (PCI_FUNC(devfn) << MSC01_PCI_CFGADDR_FNUM_SHF) | in msc_pcibios_config_access()
Dops-bonito64.c46 int function = PCI_FUNC(devfn); in bonito64_pcibios_config_access()
Dfixup-lemote2f.c68 switch (PCI_FUNC(dev->devfn)) { in pcibios_map_irq()
Dops-nile4.c51 ((1 << (PCI_SLOT(devfn) + 15)) | (PCI_FUNC(devfn) << 8) in nile4_pcibios_config_access()
Dfixup-fuloong2e.c27 switch (PCI_FUNC(dev->devfn)) { in pcibios_map_irq()
Dpci-ar71xx.c90 ret = (1 << PCI_SLOT(devfn)) | (PCI_FUNC(devfn) << 8) | in ar71xx_pci_bus_addr()
95 (PCI_FUNC(devfn) << 8) | (where & ~3) | 1; in ar71xx_pci_bus_addr()
Dops-rc32434.c51 u8 func = PCI_FUNC(devfn); in config_access()
Dops-loongson2.c45 int function = PCI_FUNC(devfn); in loongson_pcibios_config_access()
Dpci-rt3883.c247 PCI_FUNC(devfn), where); in rt3883_pci_config_read()
281 PCI_FUNC(devfn), where); in rt3883_pci_config_write()
Dops-bcm63xx.c71 func = PCI_FUNC(devfn); in bcm63xx_setup_cfg_access()
Dpci-ar2315.c201 int func = PCI_FUNC(devfn); in ar2315_pci_cfg_access()
Dmsi-xlp.c456 link = PCI_FUNC(lnkdev->devfn); in arch_setup_msi_irq()
Dpci-alchemy.c103 unsigned int function = PCI_FUNC(dev_fn); in config_access()
/linux-4.4.14/arch/arm/plat-orion/
Dpcie.c213 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | in orion_pcie_rd_conf()
232 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | in orion_pcie_rd_conf_tlp()
239 PCI_FUNC(devfn) != 0) in orion_pcie_rd_conf_tlp()
255 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | in orion_pcie_rd_conf_wa()
273 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | in orion_pcie_wr_conf()
/linux-4.4.14/drivers/ide/
Dide-pci-generic.c118 !(PCI_FUNC(dev->devfn) & 1)) in generic_init_one()
123 !(PCI_FUNC(dev->devfn) & 1)) in generic_init_one()
128 PCI_FUNC(dev->devfn) != 1) in generic_init_one()
Dcy82c693.c153 if (PCI_FUNC(dev->devfn) == 1) in init_iops_cy82c693()
185 PCI_FUNC(dev->devfn) == 1) { in cy82c693_init_one()
Dserverworks.c192 if (!(PCI_FUNC(dev->devfn) & 1)) { in init_chipset_svwks()
244 if (!(PCI_FUNC(dev->devfn) & 1)) in init_chipset_svwks()
404 if ((PCI_FUNC(dev->devfn) & 1) == 0) { in svwks_init_one()
Dhpt366.c967 if (chip_type == HPT374 && (PCI_FUNC(dev->devfn) & 1)) { in init_chipset_hpt366()
1166 if (chip_type == HPT374 && (PCI_FUNC(dev->devfn) & 1)) { in hpt3xx_cable_detect()
1415 if ((idx == 0 || idx == 4) && (PCI_FUNC(dev->devfn) & 1)) in hpt366_init_one()
Dpdc202xx_new.c430 PCI_FUNC(dev->devfn))); in pdc20270_get_dev2()
Dide-acpi.c134 func = PCI_FUNC(pdev->devfn); in ide_get_dev_handle()
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes.c174 NES_IDX_DST_IP_ADDR+(0x10*PCI_FUNC(nesdev->pcidev->devfn)), 0); in nes_inetaddr_event()
201 NES_IDX_DST_IP_ADDR+(0x10*PCI_FUNC(nesdev->pcidev->devfn)), in nes_inetaddr_event()
553 nesdev->index_reg = 0x50 + (PCI_FUNC(pcidev->devfn)*8) + mmio_regs; in nes_probe()
590 switch (PCI_FUNC(nesdev->pcidev->devfn) % in nes_probe()
606 nesdev->mac_index = PCI_FUNC(nesdev->pcidev->devfn) % in nes_probe()
632 PCI_FUNC(nesdev->pcidev->devfn)); in nes_probe()
636 nesdev->int_req = (0x101 << PCI_FUNC(nesdev->pcidev->devfn)) | in nes_probe()
637 (1 << (PCI_FUNC(nesdev->pcidev->devfn)+16)); in nes_probe()
638 if (PCI_FUNC(nesdev->pcidev->devfn) < 4) { in nes_probe()
639 nesdev->int_req |= (1 << (PCI_FUNC(nesdev->mac_index)+24)); in nes_probe()
[all …]
Dnes_hw.c300 nes_read_indexed(nesdev, NES_IDX_QP_CONTROL + PCI_FUNC(nesdev->pcidev->devfn) * 8), in nes_init_adapter()
675 if (nes_read_indexed(nesdev, NES_IDX_QP_CONTROL+(PCI_FUNC(nesdev->pcidev->devfn)*8))) { in nes_reset_adapter_ne020()
1041 nesdev->cqp.qp_id = PCI_FUNC(nesdev->pcidev->devfn); in nes_init_cqp()
1051 nesdev->ccq.cq_number = PCI_FUNC(nesdev->pcidev->devfn); in nes_init_cqp()
1056 nesdev->ceq_index = PCI_FUNC(nesdev->pcidev->devfn); in nes_init_cqp()
1066 nesdev->nic_ceq_index = PCI_FUNC(nesdev->pcidev->devfn) + 8; in nes_init_cqp()
1076 aeq = &nesadapter->aeq[PCI_FUNC(nesdev->pcidev->devfn)]; in nes_init_cqp()
1088 cpu_to_le32((PCI_FUNC(nesdev->pcidev->devfn) << 12) + (2 << 10)); in nes_init_cqp()
1097 NES_IDX_CREATE_CQP_HIGH + (PCI_FUNC(nesdev->pcidev->devfn) * 8), in nes_init_cqp()
1101 NES_IDX_CREATE_CQP_HIGH + (PCI_FUNC(nesdev->pcidev->devfn) * 8), 0); in nes_init_cqp()
[all …]
Dnes_nic.c305 (PCI_FUNC(first_nesvnic->nesdev->pcidev->devfn) != in nes_netdev_stop()
306 PCI_FUNC(nesvnic->nesdev->pcidev->devfn))) { in nes_netdev_stop()
1691 curr_qp_map = nic_qp_mapping_per_function[PCI_FUNC(nesdev->pcidev->devfn)]; in nes_netdev_init()
1766 ((PCI_FUNC(nesdev->pcidev->devfn) == nesdev->mac_index) || in nes_netdev_init()
1768 (((PCI_FUNC(nesdev->pcidev->devfn) == 1) && (nesdev->mac_index == 2)) || in nes_netdev_init()
1769 ((PCI_FUNC(nesdev->pcidev->devfn) == 2) && (nesdev->mac_index == 1)))))) { in nes_netdev_init()
Dnes_cm.c1447 PCI_FUNC(listener->nesvnic->nesdev->pcidev->devfn), in mini_cm_dec_refcnt_listen()
1724 PCI_FUNC(cm_node->nesvnic->nesdev->pcidev->devfn), in rem_ref_cm_node()
3391 (u32)PCI_FUNC(nesdev->pcidev->devfn) << in nes_accept()
3411 cpu_to_le32((u32)PCI_FUNC(nesdev->pcidev->devfn) << 24); in nes_accept()
3588 PCI_FUNC(nesdev->pcidev->devfn), NES_MANAGE_APBVT_ADD); in nes_connect()
3604 PCI_FUNC(nesdev->pcidev->devfn), in nes_connect()
3683 PCI_FUNC(nesvnic->nesdev->pcidev->devfn), in nes_create_listen()
3814 (u32)PCI_FUNC(nesdev->pcidev->devfn) << in cm_event_connected()
3840 cpu_to_le32((u32)PCI_FUNC(nesdev->pcidev->devfn) << 24); in cm_event_connected()
Dnes_mgt.c669 cpu_to_le32((u32)PCI_FUNC(nesdev->pcidev->devfn) << 24); in nes_chg_qh_handler()
973 ((u32)PCI_FUNC(nesdev->pcidev->devfn) << 12)); in nes_init_mgt_qp()
Dnes_verbs.c1253 nesqp->nesqp_context->misc |= cpu_to_le32((u32)PCI_FUNC(nesdev->pcidev->devfn) << in nes_create_qp()
1823 (nescq->hw_cq.cq_number | ((u32)PCI_FUNC(nesdev->pcidev->devfn) << 16))); in nes_destroy_cq()
/linux-4.4.14/arch/xtensa/lib/
Dpci-auto.c267 if (PCI_FUNC(pci_devfn) && !found_multi) in pciauto_bus_scan()
277 if (!PCI_FUNC(pci_devfn)) in pciauto_bus_scan()
341 current_bus, PCI_SLOT(pci_devfn), PCI_FUNC(pci_devfn) ); in pciauto_bus_scan()
/linux-4.4.14/arch/arm/mach-ixp4xx/
Dcommon-pci.c174 addr = BIT(32-PCI_SLOT(devfn)) | ((PCI_FUNC(devfn)) << 8) | in ixp4xx_config_addr()
179 ((PCI_FUNC(devfn)) << 8) | (where & ~3) | 1; 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.4.14/include/uapi/linux/
Dpci.h32 #define PCI_FUNC(devfn) ((devfn) & 0x07) macro
/linux-4.4.14/arch/arm/mach-iop32x/
Diq31244.c122 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()
Diq80321.c93 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in iq80321_pci_map_irq()
Dn2100.c107 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in n2100_pci_map_irq()
/linux-4.4.14/drivers/iommu/
Damd_iommu_init.c823 PCI_FUNC(e->devid), in init_iommu_from_acpi()
835 PCI_FUNC(e->devid), in init_iommu_from_acpi()
849 PCI_FUNC(e->devid), in init_iommu_from_acpi()
853 PCI_FUNC(e->ext >> 8)); in init_iommu_from_acpi()
868 PCI_FUNC(e->devid), in init_iommu_from_acpi()
872 PCI_FUNC(e->ext >> 8)); in init_iommu_from_acpi()
886 PCI_FUNC(e->devid), in init_iommu_from_acpi()
899 PCI_FUNC(e->devid), in init_iommu_from_acpi()
912 PCI_FUNC(e->devid)); in init_iommu_from_acpi()
946 PCI_FUNC(devid)); in init_iommu_from_acpi()
[all …]
Damd_iommu.c215 PCI_FUNC(ivrs_alias), dev_name(dev), pdev->vendor, pdev->device, in get_alias()
217 PCI_FUNC(pci_alias)); in get_alias()
228 PCI_SLOT(ivrs_alias), PCI_FUNC(ivrs_alias), in get_alias()
544 PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid), in iommu_print_event()
551 PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid), in iommu_print_event()
557 PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid), in iommu_print_event()
563 PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid), in iommu_print_event()
577 PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid), in iommu_print_event()
583 PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid), in iommu_print_event()
Ddmar.c169 info->path[level].function = PCI_FUNC(tmp->devfn); in dmar_alloc_pci_notify_info()
1580 PCI_FUNC(source_id & 0xFF), addr >> 48, in dmar_fault_do_one()
1588 PCI_FUNC(source_id & 0xFF), addr, fault_reason, reason); in dmar_fault_do_one()
Dintel-iommu.c1957 bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in domain_context_mapping_one()
/linux-4.4.14/arch/powerpc/kernel/
Deeh_pe.c356 PCI_FUNC(edev->config_addr & 0xFF), in eeh_add_to_parent_pe()
379 PCI_FUNC(edev->config_addr & 0xFF), in eeh_add_to_parent_pe()
424 PCI_FUNC(edev->config_addr & 0xFF), in eeh_add_to_parent_pe()
449 PCI_FUNC(edev->config_addr & 0xFF)); in eeh_rmv_from_parent_pe()
711 PCI_FUNC(edev->config_addr & 0xFF)); in eeh_bridge_check_link()
Dpci_of_scan.c156 dev->bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn)); in of_create_pci_dev()
Deeh.c173 PCI_SLOT(pdn->devfn), PCI_FUNC(pdn->devfn)); in eeh_dump_dev_log()
176 PCI_SLOT(pdn->devfn), PCI_FUNC(pdn->devfn)); in eeh_dump_dev_log()
/linux-4.4.14/drivers/ata/
Data_generic.c186 (!(PCI_FUNC(dev->devfn) & 1))) in ata_generic_init_one()
191 (!(PCI_FUNC(dev->devfn) & 1))) in ata_generic_init_one()
Dpata_serverworks.c302 if (!(PCI_FUNC(pdev->devfn) & 1)) { in serverworks_fixup_csb()
339 if (!(PCI_FUNC(pdev->devfn) & 1)) in serverworks_fixup_csb()
Dpata_cypress.c137 if (PCI_FUNC(pdev->devfn) != 1) in cy82c693_init_one()
Dpata_hpt37x.c709 if (PCI_FUNC(pdev->devfn) & 1) { in hpt374_read_freq()
902 if (!(PCI_FUNC(dev->devfn) & 1)) in hpt37x_init_one()
/linux-4.4.14/arch/arm/mach-footbridge/
Debsa285-pci.c22 switch (PCI_FUNC(dev->devfn)) { in ebsa285_map_irq()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_pci.c138 PCI_FUNC(dev->pdev->devfn)); in drm_pci_set_busid()
182 (func != PCI_FUNC(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.4.14/arch/x86/pci/
Ddirect.c107 fn = PCI_FUNC(devfn); in pci_conf2_read()
147 fn = PCI_FUNC(devfn); in pci_conf2_write()
Dcommon.c662 (PCI_FUNC(dev->devfn) == rom->function) && in pcibios_add_device()
/linux-4.4.14/arch/mn10300/include/asm/
Dpci.h27 PCI_FUNC(DEVFN), \
/linux-4.4.14/arch/powerpc/platforms/pasemi/
Dmisc.c87 i2c_register_board_info(PCI_FUNC(pdev->devfn), &info, in pasemi_register_i2c_devices()
Dpci.c58 return ((busno == 0) && (PCI_FUNC(devfn) < 4) && in is_root_port()
/linux-4.4.14/arch/powerpc/platforms/
Dfsl_uli1575.c352 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.4.14/arch/arm/mach-orion5x/
Dpci.c328 if (PCI_SLOT(devfn) == 0 && PCI_FUNC(devfn) != 0) in orion5x_pci_valid_config()
351 PCI_FUNC(devfn), where, size, val); in orion5x_pci_rd_conf()
361 PCI_FUNC(devfn), where, size, val); in orion5x_pci_wr_conf()
/linux-4.4.14/drivers/pcmcia/
Dti113x.h240 if(PCI_FUNC(socket->dev->devfn)==1) in ti1250_zoom_video()
789 if ((PCI_FUNC(socket->dev->devfn) == 0) || in ti12xx_power_hook()
848 if (disable_clkrun && PCI_FUNC(socket->dev->devfn) == 0) { in ti12xx_override()
871 if (PCI_FUNC(socket->dev->devfn) == 0) in ti12xx_override()
Do2micro.h121 if (PCI_FUNC(socket->dev->devfn) == 0) { in o2micro_override()
/linux-4.4.14/arch/arm/mach-iop33x/
Diq80332.c75 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in iq80332_pci_map_irq()
Diq80331.c75 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in iq80331_pci_map_irq()
/linux-4.4.14/drivers/ssb/
Ddriver_gige.c116 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()
Ddriver_pcicore.c212 PCI_FUNC(devfn), reg, val, size); in ssb_pcicore_read_config()
226 PCI_FUNC(devfn), reg, &val, size); in ssb_pcicore_write_config()
/linux-4.4.14/arch/parisc/kernel/
Ddrivers.c299 path->mod = PCI_FUNC(devfn); in get_node_path()
307 path->bc[i--] = PCI_SLOT(devfn) | (PCI_FUNC(devfn)<< 5); in get_node_path()
648 (modpath->mod == PCI_FUNC(devfn))); in match_pci_device()
651 id = PCI_SLOT(pdev->devfn) | (PCI_FUNC(pdev->devfn) << 5); in match_pci_device()
/linux-4.4.14/drivers/scsi/snic/
Dsnic_main.c370 PCI_FUNC(pdev->devfn)); in snic_probe()
391 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in snic_probe()
764 PCI_FUNC(pdev->devfn)); in snic_probe()
783 PCI_FUNC(pdev->devfn)); in snic_remove()
/linux-4.4.14/drivers/pci/pcie/aer/
Daerdrv_acpi.c29 p->function == PCI_FUNC(pci->devfn); in hest_match_pci()
Daerdrv_core.c607 domain, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in aer_recover_queue()
623 PCI_SLOT(entry.devfn), PCI_FUNC(entry.devfn)); in aer_recover_work_func()
/linux-4.4.14/drivers/i2c/busses/
Di2c-amd756.c335 if (PCI_FUNC(pdev->devfn) != 1) in amd756_probe()
341 if (PCI_FUNC(pdev->devfn) != 3) in amd756_probe()
Di2c-pasemi.c368 smbus->adapter.nr = PCI_FUNC(dev->devfn); in pasemi_smb_probe()
/linux-4.4.14/arch/x86/ras/
Dmce_amd_inj.c226 __func__, PCI_FUNC(F3->devfn), NBCFG); in toggle_nb_mca_mst_cpu()
240 __func__, PCI_FUNC(F3->devfn), NBCFG); in toggle_nb_mca_mst_cpu()
/linux-4.4.14/drivers/pci/pcie/
Daspm.c207 child_reg[PCI_FUNC(child->devfn)] = reg16; in pcie_aspm_configure_common_clock()
245 child_reg[PCI_FUNC(child->devfn)]); in pcie_aspm_configure_common_clock()
314 acceptable = &link->acceptable[PCI_FUNC(endpoint->devfn)]; in pcie_aspm_check_latency()
406 &link->acceptable[PCI_FUNC(child->devfn)]; in pcie_aspm_cap_init()
Dpme.c209 busnr, PCI_SLOT(devfn), PCI_FUNC(devfn)); in pcie_pme_handle_request()
/linux-4.4.14/arch/alpha/kernel/
Dsys_miata.c183 if((slot == 7) && (PCI_FUNC(dev->devfn) == 3)) { in miata_map_irq()
Dpci.c79 if (PCI_FUNC(dev->devfn) == 2) { in quirk_cypress()
Dsys_marvel.c352 PCI_FUNC(dev->devfn), in marvel_map_irq()
/linux-4.4.14/drivers/media/pci/mantis/
Dmantis_pci.c61 PCI_FUNC(mantis->pdev->devfn)); in mantis_pci_init()
Dmantis_core.c121 mantis->pdev->bus->number, PCI_SLOT(mantis->pdev->devfn), PCI_FUNC(mantis->pdev->devfn)); in mantis_core_init()
/linux-4.4.14/drivers/edac/
Di7core_edac.c884 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()
1390 PCI_FUNC(pdev->devfn) != dev_descr->func)) { in i7core_get_onedevice()
1395 bus, PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in i7core_get_onedevice()
1472 func = PCI_FUNC(pdev->devfn); in mci_bind_devs()
1516 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in mci_bind_devs()
1520 PCI_FUNC(pdev->devfn) == 2) in mci_bind_devs()
Di5400_edac.c746 if (PCI_FUNC(pdev->devfn) == 1) in i5400_get_devices()
770 if (PCI_FUNC(pdev->devfn) == 2) in i5400_get_devices()
1272 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in i5400_probe1()
1275 if (PCI_FUNC(pdev->devfn) != 0) in i5400_probe1()
Di7300_edac.c950 switch (PCI_FUNC(pdev->devfn)) { in i7300_get_devices()
1038 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in i7300_init_one()
1041 if (PCI_FUNC(pdev->devfn) != 0) in i7300_init_one()
Di5000_edac.c807 if (PCI_FUNC(pdev->devfn) == 1) in i5000_get_devices()
833 if (PCI_FUNC(pdev->devfn) == 2) in i5000_get_devices()
1372 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in i5000_probe1()
1375 if (PCI_FUNC(pdev->devfn) != 0) in i5000_probe1()
Di5100_edac.c652 if (PCI_FUNC(ret->devfn) == func) in pci_get_device_func()
1005 if (PCI_FUNC(pdev->devfn) != 1) in i5100_init_one()
Dsb_edac.c1546 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in sbridge_put_devices()
1820 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in ibridge_mci_bind_devs()
1924 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in haswell_mci_bind_devs()
2015 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in broadwell_mci_bind_devs()
Damd64_edac.c70 func, PCI_FUNC(pdev->devfn), offset); in __amd64_read_pci_cfg_dword()
83 func, PCI_FUNC(pdev->devfn), offset); in __amd64_write_pci_cfg_dword()
/linux-4.4.14/arch/sh/drivers/pci/
Dops-sh7786.c29 func = PCI_FUNC(devfn); in sh7786_pcie_config_access()
Dcommon.c59 if (PCI_FUNC(pci_devfn)) in EARLY_PCI_OP()
Dpci.c202 if (PCI_FUNC(pci_devfn)) in pcibios_bus_report_status_early()
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dpci.c129 | (((unsigned int)PCI_FUNC(dev_fn)) << 8) \
388 | (((unsigned int)PCI_FUNC(dev_fn)) << 8) \
592 if (PCI_FUNC(devfn) != 0) in fixup_nec_usb2()
1145 if (PCI_FUNC(dev->devfn) > 0) { in fixup_k2_sata()
/linux-4.4.14/arch/arm/mach-iop13xx/
Dpci.c191 addr |= PCI_FUNC(devfn) << 8 | ((where & 0xff) & ~3); in iop13xx_atux_cfg_address()
210 bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn)); in iop13xx_atue_cfg_address()
213 ((u32) PCI_FUNC(devfn)) << IOP13XX_ATUE_OCCAR_FUNC_NUM | in iop13xx_atue_cfg_address()
/linux-4.4.14/drivers/crypto/qat/qat_dh895xccvf/
Dadf_isr.c198 PCI_FUNC(pdev->devfn)); in adf_request_msi_irq()
Dadf_drv.c264 PCI_FUNC(pdev->devfn)); in adf_probe()
/linux-4.4.14/drivers/pci/hotplug/
Dcpqphp_nvram.c293 rc = add_byte(&pFill, PCI_FUNC(ctrl->pci_dev->devfn), &usedbytes, &available); in store_HRT()
484 (function != PCI_FUNC(ctrl->pci_dev->devfn))) { in compaq_nvram_load()
Dcpci_hotplug_pci.c265 slot->bus->number, PCI_SLOT(slot->devfn), PCI_FUNC(slot->devfn)); in cpci_configure_slot()
Dacpiphp_glue.c455 if (PCI_FUNC(dev->devfn) == func->function) { in check_hotplug_bridge()
Dpciehp_hpc.c293 PCI_FUNC(devfn), count, step, l); in pci_bus_check_dev()
Dcpqphp_core.c1092 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), ctrl->rev); in cpqhpc_probe()
/linux-4.4.14/arch/arm/plat-iop/
Dpci.c49 addr |= PCI_FUNC(devfn) << 8 | (where & ~3); in iop3xx_cfg_address()
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_pci.c53 unsigned int func = PCI_FUNC(info->pdev->devfn); in stmmac_pci_find_phy_addr()
/linux-4.4.14/arch/sparc/kernel/
Dpci_common.c263 unsigned int func = PCI_FUNC(devfn); in sun4v_read_pci_cfg()
296 unsigned int func = PCI_FUNC(devfn); in sun4v_write_pci_cfg()
Dleon_pci_grpci1.c268 busno, PCI_SLOT(devfn), PCI_FUNC(devfn), where, *val, size); in grpci1_read_config()
289 busno, PCI_SLOT(devfn), PCI_FUNC(devfn), where, size, val); in grpci1_write_config()
Dleon_pci_grpci2.c404 "size=%d\n", busno, PCI_SLOT(devfn), PCI_FUNC(devfn), where, in grpci2_read_config()
425 "val=%x\n", busno, PCI_SLOT(devfn), PCI_FUNC(devfn), in grpci2_write_config()
Dpci.c314 dev->bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn)); in of_create_pci_dev()
/linux-4.4.14/arch/powerpc/platforms/maple/
Dpci.c87 ((unsigned long)PCI_FUNC(devfn) << 8) | in u3_agp_cfa0()
341 (PCI_FUNC(devfn) << 8) | in u4_pcie_cfa0()
/linux-4.4.14/arch/powerpc/platforms/85xx/
Dmpc85xx_cds.c146 if (PCI_FUNC(dev->devfn) == 3) in mpc85xx_cds_pci_irq_fixup()
/linux-4.4.14/arch/arm/mach-ks8695/
Dpci.c48 pbca |= PCI_FUNC(devfn) << 8; in ks8695_pci_setupconfig()
/linux-4.4.14/drivers/bcma/
Ddriver_pci_host.c244 PCI_FUNC(devfn), reg, val, size); in bcma_core_pci_hostmode_read_config()
264 PCI_FUNC(devfn), reg, &val, size); in bcma_core_pci_hostmode_write_config()
/linux-4.4.14/arch/arm/mach-versatile/
Dpci.c94 (PCI_SLOT(devfn) << 11) | (PCI_FUNC(devfn) << 8) | offset); in __pci_addr()
/linux-4.4.14/arch/arm/mach-cns3xxx/
Dpcie.c138 PCI_FUNC(dev->devfn), slot, pin, irq); in cns3xxx_pcie_map_irq()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dpci.c1675 PCI_FUNC(pci_dev->devfn), name, in nvkm_device_pci_new()
/linux-4.4.14/drivers/parisc/
Diosapic.c747 if (PCI_FUNC(pcidev->devfn) != SUPERIO_USB_FN) in iosapic_fixup_irq()
808 PCI_SLOT(pcidev->devfn), PCI_FUNC(pcidev->devfn), in iosapic_fixup_irq()
Dsuperio.c344 fn = PCI_FUNC(pcidev->devfn); in superio_fixup_irq()
/linux-4.4.14/drivers/pci/
Dxen-pcifront.c196 PCI_FUNC(devfn), where, size); in pcifront_bus_read()
236 PCI_SLOT(devfn), PCI_FUNC(devfn), where, size, val); in pcifront_bus_write()
439 PCI_SLOT(devfn), PCI_FUNC(devfn)); in pcifront_scan_bus()
Dquirks.c1505 if (PCI_FUNC(pdev->devfn)) in quirk_jmicron_ata()
1919 if (!PCI_FUNC(dev->devfn)) in quirk_f0_vpd_link()
2773 if (PCI_FUNC(dev->devfn)) in ricoh_mmc_fixup_rl5c476()
2801 if (PCI_FUNC(dev->devfn)) in ricoh_mmc_fixup_r5c832()
3570 if (PCI_FUNC(dev->devfn) != 0) { in quirk_dma_func0_alias()
3586 if (PCI_FUNC(dev->devfn) != 1) { in quirk_dma_func1_alias()
3656 PCI_FUNC(dev->dma_alias_devfn)); in quirk_fixed_dma_alias()
Dproc.c397 sprintf(name, "%02x.%x", PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in pci_proc_attach_device()
Dpci-acpi.c589 addr = (PCI_SLOT(pci_dev->devfn) << 16) | PCI_FUNC(pci_dev->devfn); in acpi_pci_find_companion()
Dprobe.c1204 PCI_FUNC(dev->devfn)); in pci_setup_device()
1575 PCI_FUNC(devfn)); in pci_bus_read_dev_vendor_id()
Dpci.c4632 func == PCI_FUNC(dev->devfn)) { in pci_specified_resource_alignment()
/linux-4.4.14/drivers/scsi/be2iscsi/
Dbe_cmds.c847 PCI_FUNC(ctrl->pdev->devfn)); in beiscsi_cmd_eq_create()
981 PCI_FUNC(ctrl->pdev->devfn)); in beiscsi_cmd_cq_create()
1049 PCI_FUNC(phba->pcidev->devfn)); in beiscsi_cmd_mccq_create()
1179 pci_func_id, ctxt, PCI_FUNC(ctrl->pdev->devfn)); in be_cmd_create_default_pdu_queue()
Dbe_main.c950 (PCI_FUNC(ctrl->pdev->devfn) * CEV_ISR_SIZE)); in be_isr()
/linux-4.4.14/arch/ia64/sn/pci/pcibr/
Dpcibr_dma.c159 if (!IS_PCIX(pcibus_info) && PCI_FUNC(info->pdi_linux_pcidev->devfn)) in pcibr_dmatrans_direct64()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bios.c285 vhdr->PCIFunction != PCI_FUNC(adev->pdev->devfn) || in amdgpu_acpi_vfct_bios()
/linux-4.4.14/drivers/crypto/qat/qat_common/
Dadf_dev_mgr.c68 PCI_FUNC(accel_to_pci_dev(vf)->devfn) + in adf_get_vf_id()
Dadf_ctl_drv.c416 dev_info.fun = PCI_FUNC(accel_to_pci_dev(accel_dev)->devfn); in adf_ctl_ioctl_get_status()
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic79xx_osm_pci.c218 if ((ahd->features & AHD_MULTI_FUNC) && PCI_FUNC(pdev->devfn) != 0) in ahd_linux_pci_dev_probe()
Daic7xxx_osm_pci.c263 if ((ahc->features & AHC_MULTI_FUNC) && PCI_FUNC(pdev->devfn) != 0) in ahc_linux_pci_dev_probe()
Daic7xxx_osm.h485 return (PCI_FUNC(pci->devfn)); in ahc_get_pci_function()
Daic79xx_osm.h482 return (PCI_FUNC(pci->devfn)); in ahd_get_pci_function()
/linux-4.4.14/drivers/pci/host/
Dpcie-iproc.c104 unsigned fn = PCI_FUNC(devfn); in iproc_pcie_map_cfg_bus()
Dpci-rcar-gen2.c115 if (sys->busnr != bus->number || PCI_FUNC(devfn)) in rcar_pci_cfg_base()
Dpcie-designware.c575 PCIE_ATU_FUNC(PCI_FUNC(devfn)); in dw_pcie_rd_other_conf()
609 PCIE_ATU_FUNC(PCI_FUNC(devfn)); in dw_pcie_wr_other_conf()
Dpci-keystone-dw.c366 u8 device = PCI_SLOT(devfn), function = PCI_FUNC(devfn); in ks_pcie_cfg_setup()
Dpci-xgene.c110 f = PCI_FUNC(devfn); in xgene_pcie_set_rtdid_reg()
Dpcie-rcar.c192 func = PCI_FUNC(devfn); in rcar_pcie_config_access()
Dpci-mvebu.c50 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | PCIE_CONF_REG(where) | \
Dpci-tegra.c379 (PCI_FUNC(devfn) << 8) | (where & 0xfc); in tegra_pcie_conf_offset()
/linux-4.4.14/drivers/crypto/qat/qat_dh895xcc/
Dadf_drv.c283 PCI_FUNC(pdev->devfn)); in adf_probe()
/linux-4.4.14/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c114 PCI_FUNC(us_ibdev->pdev->devfn), in usnic_ib_show_config()
/linux-4.4.14/drivers/tty/serial/8250/
D8250_mid.c80 int index = PCI_FUNC(pdev->devfn); in tng_setup()
/linux-4.4.14/arch/mips/txx9/generic/
Dpci.c65 if (PCI_FUNC(pci_devfn)) in txx9_pci66_check()
/linux-4.4.14/arch/powerpc/platforms/pseries/
Deeh_pseries.c270 PCI_FUNC(pdn->devfn), pe.phb->global_number, in pseries_eeh_probe()
/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_hw.h541 #define CSIO_PCI_FUNC(hw) (PCI_FUNC((hw)->pdev->devfn))
/linux-4.4.14/drivers/media/pci/bt8xx/
Dbt878.c457 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in bt878_probe()
/linux-4.4.14/arch/tile/kernel/
Dpci_gx.c1216 int function = PCI_FUNC(devfn); in tile_cfg_read()
1339 int function = PCI_FUNC(devfn); in tile_cfg_write()
/linux-4.4.14/arch/arm/kernel/
Dbios32.c229 } else if (PCI_FUNC(dev->devfn) == 0) { in pci_fixup_cy82c693()
/linux-4.4.14/arch/arm/mach-integrator/
Dpci_v3.c390 address = PCI_FUNC(devfn) << 8; in v3_open_config_window()
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/
Dkfd_device.c208 PCI_FUNC(pdev->devfn), in iommu_invalid_ppr_cb()
/linux-4.4.14/drivers/scsi/bfa/
Dbfad.c770 bfad->hal_pcidev.pci_func = PCI_FUNC(pdev->devfn); in bfad_pci_init()
780 bfad->pci_attr.pcifn = PCI_FUNC(pdev->devfn); in bfad_pci_init()
1312 (PCI_FUNC(pdev->devfn) != 0)) in bfad_pci_probe()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_bios.c627 vhdr->PCIFunction != PCI_FUNC(rdev->pdev->devfn) || in radeon_acpi_vfct_bios()
/linux-4.4.14/drivers/mmc/host/
Dsdhci-pci-core.c430 if ((PCI_FUNC(slot->chip->pdev->devfn) != INTEL_MRFL_EMMC_0) && in intel_mrfl_mmc_probe_slot()
431 (PCI_FUNC(slot->chip->pdev->devfn) != INTEL_MRFL_EMMC_1)) in intel_mrfl_mmc_probe_slot()
/linux-4.4.14/drivers/scsi/megaraid/
Dmegaraid_mm.c891 cinfo->pcifun = PCI_FUNC(hinfo->pci_dev_fn); in hinfo_to_cinfo()
Dmegaraid_mbox.c430 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn))); in megaraid_probe_one()
/linux-4.4.14/arch/powerpc/sysdev/
Dmpic.c476 PCI_SLOT(devfn), PCI_FUNC(devfn), in mpic_scan_ht_msi()
584 if (PCI_FUNC(devfn) == 0 && (hdr_type & 0x80) == 0) in mpic_scan_ht_pics()
/linux-4.4.14/drivers/scsi/esas2r/
Desas2r_ioctl.c454 gcc->pci_addr.function_num = PCI_FUNC(a->pcid->devfn); in csmi_ioctl_callback()
785 gai->pci.func_num = PCI_FUNC(a->pcid->devfn); in hba_ioctl_callback()
/linux-4.4.14/drivers/gpu/vga/
Dvgaarb.c1087 domain, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in vga_arb_write()
/linux-4.4.14/drivers/scsi/
Dfdomain.c850 PCI_FUNC(pdev->devfn)); in fdomain_pci_bios_detect()
Dmegaraid.c4466 mcontroller[i].pcifun = PCI_FUNC (pci_dev_func); in megaraid_probe_one()
Dadvansys.c5666 if (PCI_FUNC(pdev->devfn) == 0) { in AdvInitAsc38C1600Driver()
10525 if (PCI_FUNC(pdev->devfn) != 0) { in AdvInitFrom38C1600EEP()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_drm.c89 return name | PCI_FUNC(pdev->devfn); in nouveau_pci_name()
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_main.c500 PCI_FUNC(cdev->pdev->devfn)); in qed_slowpath_irq_req()
/linux-4.4.14/arch/powerpc/platforms/powernv/
Deeh-powernv.c412 PCI_SLOT(pdn->devfn), PCI_FUNC(pdn->devfn), ret); in pnv_eeh_probe()
Dpci-ioda.c81 PCI_SLOT(pe->rid), PCI_FUNC(pe->rid)); in pe_level_printk()
1419 PCI_FUNC(pci_iov_virtfn_devfn(pdev, vf_index)), pe_num); in pnv_ioda_setup_vf_PE()
/linux-4.4.14/drivers/char/agp/
Dintel-gtt.c1332 if (gmch_device && PCI_FUNC(gmch_device->devfn) != 0) { in find_gmch()
/linux-4.4.14/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_core.c789 ndev->pci_func = PCI_FUNC(pci_dev->devfn); in netup_unidvb_initdev()
/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-driver.c850 PCI_SLOT(pci_dev->devfn), PCI_FUNC(pci_dev->devfn), in cx18_setup_pci()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Dpci.c2047 pcipriv->ndis_adapter.funcnumber = PCI_FUNC(pdev->devfn); in _rtl_pci_find_adapter()
2075 PCI_FUNC(bridge_pdev->devfn); in _rtl_pci_find_adapter()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-driver.c902 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in ivtv_setup_pci()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_drv.c978 if (PCI_FUNC(pdev->devfn)) in i915_pci_probe()
/linux-4.4.14/drivers/message/fusion/
Dmptctl.c1324 karg->pciInfo.u.bits.functionNumber = PCI_FUNC( pdev->devfn ); in mptctl_getiocinfo()
1330 karg->pciInfo.u.bits.functionNumber = PCI_FUNC( pdev->devfn ); in mptctl_getiocinfo()
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c591 return (PCI_FUNC(pdev->devfn) == 0) ? true : false; in netxen_function_zero()
1471 int pci_func_id = PCI_FUNC(pdev->devfn); in netxen_nic_probe()
/linux-4.4.14/drivers/video/fbdev/intelfb/
Dintelfbdrv.c583 PCI_FUNC(pdev->devfn), dinfo->name, in intelfb_pci_register()
/linux-4.4.14/drivers/video/fbdev/
Dtgafb.c1510 PCI_FUNC(to_pci_dev(dev)->devfn));
/linux-4.4.14/drivers/block/
Dcpqarray.c516 PCI_FUNC(pdev->devfn)); in cpqarray_init_one()
Dskd_main.c2606 inq.pcie_function_number = PCI_FUNC(pdev->devfn); in skd_do_inq_page_da()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dsiena_sriov.c1271 PCI_SLOT(devfn), PCI_FUNC(devfn)); in efx_siena_sriov_vfs_init()
/linux-4.4.14/drivers/scsi/sym53c8xx_2/
Dsym_glue.c1850 if (PCI_FUNC(pdev->devfn) == 0) { in sym2_io_slot_reset()
/linux-4.4.14/Documentation/PCI/
Dpci-error-recovery.txt316 + if (PCI_FUNC(pdev->devfn) == 0)
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_os.c2473 ha->portnum = PCI_FUNC(ha->pdev->devfn); in qla2x00_probe_one()
2504 ha->portnum = PCI_FUNC(ha->pdev->devfn); in qla2x00_probe_one()
5491 fn = PCI_FUNC(ha->pdev->devfn); in qla82xx_error_recovery()
Dqla_nx2.c2933 ((PCI_FUNC(ha->pdev->devfn) & 0xf) << 0x4); in qla8044_minidump_pex_dma_read()
Dqla_nx.c2294 ha->portnum = PCI_FUNC(ha->pdev->devfn); in qla82xx_init_flags()
/linux-4.4.14/drivers/staging/xgifb/
DXGI_main_26.c1673 xgifb_info->pcifunc = PCI_FUNC(pdev->devfn); in xgifb_probe()
/linux-4.4.14/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c811 hba->pci_func = PCI_FUNC(hba->pcidev->devfn); in bnx2i_alloc_hba()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_pci.c957 PCI_SLOT(fault->func), PCI_FUNC(fault->func)); in fm10k_handle_fault()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40evf_main.c2477 hw->bus.func = PCI_FUNC(pdev->devfn); in i40evf_probe()
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c2315 if (0 != PCI_FUNC (pdev->devfn)) in ixgb_io_slot_reset()
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_os.c5885 func_num = PCI_FUNC(ha->pdev->devfn); in get_fw_boot_info()
8624 ha->func_num = PCI_FUNC(ha->pdev->devfn); in qla4xxx_probe_adapter()
8879 if (PCI_FUNC(ha->pdev->devfn) & BIT_1) in qla4xxx_prevent_other_port_reinit()
9624 fn = PCI_FUNC(ha->pdev->devfn); in qla4_8xxx_error_recovery()
Dql4_nx.c2067 dma_desc.cmd.dma_desc_cmd |= ((PCI_FUNC(ha->pdev->devfn) & 0xf) << 0x4); in qla4_8xxx_minidump_pex_dma_read()
/linux-4.4.14/drivers/media/pci/cx88/
Dcx88-cards.c3666 core->name, PCI_FUNC(pci->devfn), in cx88_get_resources()
/linux-4.4.14/drivers/atm/
Dfore200e.c656 pci_dev->bus->number, PCI_SLOT(pci_dev->devfn), PCI_FUNC(pci_dev->devfn)); in fore200e_pca_proc_read()
Diphase.c3189 pdev->bus->number, PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));)
/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_ctl.c1042 karg.pci_information.u.bits.function = PCI_FUNC(ioc->pdev->devfn); in _ctl_getiocinfo()
/linux-4.4.14/drivers/net/ethernet/intel/
De100.c3145 if (0 != PCI_FUNC(pdev->devfn)) in e100_io_slot_reset()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbnad.c3690 pcidev_info.pci_func = PCI_FUNC(bnad->pcidev->devfn); in bnad_pci_probe()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dmain.c2882 return PCI_SLOT(pdev->devfn) * 8 + PCI_FUNC(pdev->devfn); in extended_func_num()
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c2465 int pci_fun = PCI_FUNC(vdev->pdev->devfn); in vxge_add_isr()
/linux-4.4.14/drivers/video/fbdev/sis/
Dsis_main.c5841 ivideo->pcifunc = PCI_FUNC(pdev->devfn); in sisfb_probe()

12