Home
last modified time | relevance | path

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

/linux-4.1.27/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.c218 PCI_SLOT(devfn), PCI_FUNC(devfn)); in xen_pcibk_publish_pci_dev()
/linux-4.1.27/arch/mips/pci/
Dops-emma2rh.c103 *(volatile u32 *)(base + (PCI_FUNC(devfn) << 8) + in pci_config_read()
148 *(volatile u32 *)(base + (PCI_FUNC(devfn) << 8) + in pci_config_write()
169 *(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.c74 PCI_FUNC(devfn), where); in rt2880_pci_config_read()
104 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-msc.c59 (PCI_FUNC(devfn) << MSC01_PCI_CFGADDR_FNUM_SHF) | in msc_pcibios_config_access()
Dops-loongson3.c23 int function = PCI_FUNC(devfn); in loongson3_pci_config_access()
Dfixup-lemote2f.c68 switch (PCI_FUNC(dev->devfn)) { in pcibios_map_irq()
Dops-bonito64.c46 int function = PCI_FUNC(devfn); in bonito64_pcibios_config_access()
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.c248 PCI_FUNC(devfn), where); in rt3883_pci_config_read()
282 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.1.27/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.1.27/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.1.27/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()
1694 curr_qp_map = nic_qp_mapping_per_function[PCI_FUNC(nesdev->pcidev->devfn)]; in nes_netdev_init()
1769 ((PCI_FUNC(nesdev->pcidev->devfn) == nesdev->mac_index) || in nes_netdev_init()
1771 (((PCI_FUNC(nesdev->pcidev->devfn) == 1) && (nesdev->mac_index == 2)) || in nes_netdev_init()
1772 ((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()
1721 PCI_FUNC(cm_node->nesvnic->nesdev->pcidev->devfn), in rem_ref_cm_node()
3385 (u32)PCI_FUNC(nesdev->pcidev->devfn) << in nes_accept()
3405 cpu_to_le32((u32)PCI_FUNC(nesdev->pcidev->devfn) << 24); in nes_accept()
3582 PCI_FUNC(nesdev->pcidev->devfn), NES_MANAGE_APBVT_ADD); in nes_connect()
3598 PCI_FUNC(nesdev->pcidev->devfn), in nes_connect()
3675 PCI_FUNC(nesvnic->nesdev->pcidev->devfn), in nes_create_listen()
3806 (u32)PCI_FUNC(nesdev->pcidev->devfn) << in cm_event_connected()
3832 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.c1273 nesqp->nesqp_context->misc |= cpu_to_le32((u32)PCI_FUNC(nesdev->pcidev->devfn) << in nes_create_qp()
1838 (nescq->hw_cq.cq_number | ((u32)PCI_FUNC(nesdev->pcidev->devfn) << 16))); in nes_destroy_cq()
/linux-4.1.27/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.1.27/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.1.27/drivers/iommu/
Damd_iommu_init.c441 PCI_FUNC(h->devid), in find_last_devid_from_ivhd()
845 PCI_FUNC(iommu->first_device), in init_iommu_from_acpi()
848 PCI_FUNC(iommu->last_device), in init_iommu_from_acpi()
862 PCI_FUNC(e->devid), in init_iommu_from_acpi()
874 PCI_FUNC(e->devid), in init_iommu_from_acpi()
888 PCI_FUNC(e->devid), in init_iommu_from_acpi()
892 PCI_FUNC(e->ext >> 8)); in init_iommu_from_acpi()
907 PCI_FUNC(e->devid), in init_iommu_from_acpi()
911 PCI_FUNC(e->ext >> 8)); in init_iommu_from_acpi()
925 PCI_FUNC(e->devid), in init_iommu_from_acpi()
[all …]
Damd_iommu.c342 PCI_FUNC(ivrs_alias), dev_name(dev), pdev->vendor, pdev->device, in get_alias()
344 PCI_FUNC(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()
Ddmar.c169 info->path[level].function = PCI_FUNC(tmp->devfn); in dmar_alloc_pci_notify_info()
1559 PCI_FUNC(source_id & 0xFF), addr >> 48, in dmar_fault_do_one()
1567 PCI_FUNC(source_id & 0xFF), addr, fault_reason, reason); in dmar_fault_do_one()
Dintel-iommu.c1804 bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in domain_context_mapping_one()
/linux-4.1.27/include/uapi/linux/
Dpci.h32 #define PCI_FUNC(devfn) ((devfn) & 0x07) macro
/linux-4.1.27/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.1.27/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()
689 PCI_FUNC(edev->config_addr & 0xFF)); in eeh_bridge_check_link()
Dpci_of_scan.c160 dev->bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn)); in of_create_pci_dev()
Deeh.c175 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/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.1.27/arch/arm/mach-footbridge/
Debsa285-pci.c22 switch (PCI_FUNC(dev->devfn)) { in ebsa285_map_irq()
/linux-4.1.27/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.1.27/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.1.27/arch/mn10300/include/asm/
Dpci.h27 PCI_FUNC(DEVFN), \
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/arm/mach-iop33x/
Diq80331.c75 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in iq80331_pci_map_irq()
Diq80332.c75 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in iq80332_pci_map_irq()
/linux-4.1.27/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.1.27/drivers/pcmcia/
Do2micro.h121 if (PCI_FUNC(socket->dev->devfn) == 0) { in o2micro_override()
Dti113x.h240 if(PCI_FUNC(socket->dev->devfn)==1) in ti1250_zoom_video()
792 if ((PCI_FUNC(socket->dev->devfn) == 0) || in ti12xx_power_hook()
851 if (disable_clkrun && PCI_FUNC(socket->dev->devfn) == 0) { in ti12xx_override()
877 if (PCI_FUNC(socket->dev->devfn) == 0) in ti12xx_override()
/linux-4.1.27/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.1.27/drivers/pci/pcie/aer/
Daerdrv_acpi.c29 p->function == PCI_FUNC(pci->devfn); in hest_match_pci()
Daerdrv_core.c580 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/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.1.27/drivers/pci/pcie/
Daspm.c210 child_reg[PCI_FUNC(child->devfn)] = reg16; in pcie_aspm_configure_common_clock()
248 child_reg[PCI_FUNC(child->devfn)]); in pcie_aspm_configure_common_clock()
317 acceptable = &link->acceptable[PCI_FUNC(endpoint->devfn)]; in pcie_aspm_check_latency()
409 &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.1.27/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.1.27/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.1.27/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()
Dsb_edac.c1469 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()
Di5100_edac.c651 if (PCI_FUNC(ret->devfn) == func) in pci_get_device_func()
1004 if (PCI_FUNC(pdev->devfn) != 1) in i5100_init_one()
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.1.27/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.1.27/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.1.27/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.1.27/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.c285 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.1.27/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.c317 dev->bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn)); in of_create_pci_dev()
/linux-4.1.27/arch/arm/plat-iop/
Dpci.c49 addr |= PCI_FUNC(devfn) << 8 | (where & ~3); in iop3xx_cfg_address()
/linux-4.1.27/drivers/pci/host/
Dpcie-iproc.c77 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.c587 PCIE_ATU_FUNC(PCI_FUNC(devfn)); in dw_pcie_rd_other_conf()
612 PCIE_ATU_FUNC(PCI_FUNC(devfn)); in dw_pcie_wr_other_conf()
Dpci-keystone-dw.c376 u8 device = PCI_SLOT(devfn), function = PCI_FUNC(devfn); in ks_pcie_cfg_setup()
Dpci-xgene.c103 f = PCI_FUNC(devfn); in xgene_pcie_set_rtdid_reg()
Dpcie-rcar.c186 func = PCI_FUNC(devfn); in rcar_pcie_config_access()
Dpci-mvebu.c49 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.1.27/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.1.27/arch/arm/mach-ks8695/
Dpci.c48 pbca |= PCI_FUNC(devfn) << 8; in ks8695_pci_setupconfig()
/linux-4.1.27/arch/powerpc/platforms/85xx/
Dmpc85xx_cds.c146 if (PCI_FUNC(dev->devfn) == 3) in mpc85xx_cds_pci_irq_fixup()
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_pci.c53 unsigned int func = PCI_FUNC(info->pdev->devfn); in stmmac_pci_find_phy_addr()
/linux-4.1.27/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.1.27/arch/arm/mach-versatile/
Dpci.c94 (PCI_SLOT(devfn) << 11) | (PCI_FUNC(devfn) << 8) | offset); in __pci_addr()
/linux-4.1.27/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.1.27/drivers/pci/
Dxen-pcifront.c198 PCI_FUNC(devfn), where, size); 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()
Dquirks.c1511 if (PCI_FUNC(pdev->devfn)) in quirk_jmicron_ata()
1927 if (!PCI_FUNC(dev->devfn)) in quirk_f0_vpd_link()
2776 if (PCI_FUNC(dev->devfn)) in ricoh_mmc_fixup_rl5c476()
2804 if (PCI_FUNC(dev->devfn)) in ricoh_mmc_fixup_r5c832()
3587 if (PCI_FUNC(dev->devfn) != 0) { in quirk_dma_func0_alias()
3603 if (PCI_FUNC(dev->devfn) != 1) { in quirk_dma_func1_alias()
3671 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.c1150 PCI_FUNC(dev->devfn)); in pci_setup_device()
1479 PCI_FUNC(devfn)); in pci_bus_read_dev_vendor_id()
Dpci.c4380 func == PCI_FUNC(dev->devfn)) { in pci_specified_resource_alignment()
/linux-4.1.27/drivers/scsi/be2iscsi/
Dbe_cmds.c843 PCI_FUNC(ctrl->pdev->devfn)); in beiscsi_cmd_eq_create()
977 PCI_FUNC(ctrl->pdev->devfn)); in beiscsi_cmd_cq_create()
1045 PCI_FUNC(phba->pcidev->devfn)); in beiscsi_cmd_mccq_create()
1175 pci_func_id, ctxt, PCI_FUNC(ctrl->pdev->devfn)); in be_cmd_create_default_pdu_queue()
Dbe_main.c938 (PCI_FUNC(ctrl->pdev->devfn) * CEV_ISR_SIZE)); in be_isr()
/linux-4.1.27/arch/arm/mach-cns3xxx/
Dpcie.c137 PCI_FUNC(dev->devfn), slot, pin, irq); in cns3xxx_pcie_map_irq()
/linux-4.1.27/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.1.27/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.1.27/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c99 PCI_FUNC(us_ibdev->pdev->devfn), in usnic_ib_show_config()
/linux-4.1.27/arch/mips/txx9/generic/
Dpci.c65 if (PCI_FUNC(pci_devfn)) in txx9_pci66_check()
/linux-4.1.27/drivers/crypto/qat/qat_common/
Dadf_ctl_drv.c417 dev_info.fun = PCI_FUNC(accel_to_pci_dev(accel_dev)->devfn); in adf_ctl_ioctl_get_status()
/linux-4.1.27/drivers/media/pci/bt8xx/
Dbt878.c457 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in bt878_probe()
/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_hw.h541 #define CSIO_PCI_FUNC(hw) (PCI_FUNC((hw)->pdev->devfn))
/linux-4.1.27/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.1.27/arch/arm/mach-integrator/
Dpci_v3.c390 address = PCI_FUNC(devfn) << 8; in v3_open_config_window()
/linux-4.1.27/arch/arm/kernel/
Dbios32.c238 } else if (PCI_FUNC(dev->devfn) == 0) { in pci_fixup_cy82c693()
/linux-4.1.27/arch/powerpc/platforms/pseries/
Deeh_pseries.c270 PCI_FUNC(pdn->devfn), pe.phb->global_number, in pseries_eeh_probe()
/linux-4.1.27/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.1.27/drivers/gpu/drm/radeon/
Dradeon_bios.c628 vhdr->PCIFunction != PCI_FUNC(rdev->pdev->devfn) || in radeon_acpi_vfct_bios()
/linux-4.1.27/drivers/mmc/host/
Dsdhci-pci.c332 if ((PCI_FUNC(slot->chip->pdev->devfn) != INTEL_MRFL_EMMC_0) && in intel_mrfl_mmc_probe_slot()
333 (PCI_FUNC(slot->chip->pdev->devfn) != INTEL_MRFL_EMMC_1)) in intel_mrfl_mmc_probe_slot()
/linux-4.1.27/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()
Dmegaraid_sas_base.c5139 pdev->bus->number, PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in megasas_probe_one()
/linux-4.1.27/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.1.27/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.1.27/drivers/gpu/vga/
Dvgaarb.c1079 domain, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in vga_arb_write()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_drm.c88 return name | PCI_FUNC(pdev->devfn); in nouveau_pci_name()
/linux-4.1.27/drivers/scsi/
Dfdomain.c850 PCI_FUNC(pdev->devfn)); in fdomain_pci_bios_detect()
Dmegaraid.c4251 PCI_SLOT(pci_dev_func), PCI_FUNC(pci_dev_func)); in megaraid_probe_one()
4474 mcontroller[i].pcifun = PCI_FUNC (pci_dev_func); in megaraid_probe_one()
Dadvansys.c5836 if (PCI_FUNC(pdev->devfn) == 0) { in AdvInitAsc38C1600Driver()
10955 if (PCI_FUNC(pdev->devfn) != 0) { in AdvInitFrom38C1600EEP()
/linux-4.1.27/drivers/char/agp/
Dintel-gtt.c1332 if (gmch_device && PCI_FUNC(gmch_device->devfn) != 0) { in find_gmch()
/linux-4.1.27/arch/powerpc/platforms/powernv/
Deeh-powernv.c426 PCI_SLOT(pdn->devfn), PCI_FUNC(pdn->devfn), ret); in pnv_eeh_probe()
Dpci-ioda.c72 PCI_SLOT(pe->rid), PCI_FUNC(pe->rid)); in pe_level_printk()
1453 PCI_FUNC(pci_iov_virtfn_devfn(pdev, vf_index)), pe_num); in pnv_ioda_setup_vf_PE()
/linux-4.1.27/drivers/media/pci/cx18/
Dcx18-driver.c850 PCI_SLOT(pci_dev->devfn), PCI_FUNC(pci_dev->devfn), in cx18_setup_pci()
/linux-4.1.27/drivers/net/wireless/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.1.27/drivers/gpu/drm/i915/
Di915_drv.c921 if (PCI_FUNC(pdev->devfn)) in i915_pci_probe()
/linux-4.1.27/drivers/media/pci/ivtv/
Divtv-driver.c902 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in ivtv_setup_pci()
/linux-4.1.27/drivers/message/fusion/
Dmptctl.c1320 karg->pciInfo.u.bits.functionNumber = PCI_FUNC( pdev->devfn ); in mptctl_getiocinfo()
1326 karg->pciInfo.u.bits.functionNumber = PCI_FUNC( pdev->devfn ); in mptctl_getiocinfo()
Dmptbase.c2626 unsigned int func = PCI_FUNC(pdev->devfn); in mpt_detect_bound_ports()
/linux-4.1.27/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.1.27/drivers/video/fbdev/
Dtgafb.c1510 PCI_FUNC(to_pci_dev(dev)->devfn));
/linux-4.1.27/drivers/video/fbdev/intelfb/
Dintelfbdrv.c614 PCI_FUNC(pdev->devfn), dinfo->name, in intelfb_pci_register()
/linux-4.1.27/Documentation/PCI/
Dpci-error-recovery.txt316 + if (PCI_FUNC(pdev->devfn) == 0)
/linux-4.1.27/drivers/net/ethernet/sfc/
Dsiena_sriov.c1263 PCI_SLOT(devfn), PCI_FUNC(devfn)); in efx_siena_sriov_vfs_init()
/linux-4.1.27/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.1.27/drivers/scsi/sym53c8xx_2/
Dsym_glue.c1850 if (PCI_FUNC(pdev->devfn) == 0) { in sym2_io_slot_reset()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_os.c2477 ha->portnum = PCI_FUNC(ha->pdev->devfn); in qla2x00_probe_one()
2508 ha->portnum = PCI_FUNC(ha->pdev->devfn); in qla2x00_probe_one()
5489 fn = PCI_FUNC(ha->pdev->devfn); in qla82xx_error_recovery()
Dqla_nx2.c2934 ((PCI_FUNC(ha->pdev->devfn) & 0xf) << 0x4); in qla8044_minidump_pex_dma_read()
Dqla_nx.c2293 ha->portnum = PCI_FUNC(ha->pdev->devfn); in qla82xx_init_flags()
/linux-4.1.27/drivers/staging/xgifb/
DXGI_main_26.c1676 xgifb_info->pcifunc = PCI_FUNC(pdev->devfn); in xgifb_probe()
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
Dfm10k_pci.c920 PCI_SLOT(fault->func), PCI_FUNC(fault->func)); in fm10k_print_fault()
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dbnad.c3613 pdev, pcidev_id, PCI_FUNC(pdev->devfn)); in bnad_pci_probe()
3679 pcidev_info.pci_func = PCI_FUNC(bnad->pcidev->devfn); in bnad_pci_probe()
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40evf_main.c2336 hw->bus.func = PCI_FUNC(pdev->devfn); in i40evf_probe()
/linux-4.1.27/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c811 hba->pci_func = PCI_FUNC(hba->pcidev->devfn); in bnx2i_alloc_hba()
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c2315 if (0 != PCI_FUNC (pdev->devfn)) in ixgb_io_slot_reset()
/linux-4.1.27/drivers/scsi/qla4xxx/
Dql4_os.c5886 func_num = PCI_FUNC(ha->pdev->devfn); in get_fw_boot_info()
8625 ha->func_num = PCI_FUNC(ha->pdev->devfn); in qla4xxx_probe_adapter()
8887 if (PCI_FUNC(ha->pdev->devfn) & BIT_1) in qla4xxx_prevent_other_port_reinit()
9632 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.1.27/drivers/media/pci/cx88/
Dcx88-cards.c3666 core->name, PCI_FUNC(pci->devfn), in cx88_get_resources()
/linux-4.1.27/drivers/scsi/mpt3sas/
Dmpt3sas_ctl.c1035 karg.pci_information.u.bits.function = PCI_FUNC(ioc->pdev->devfn); in _ctl_getiocinfo()
/linux-4.1.27/drivers/scsi/mpt2sas/
Dmpt2sas_ctl.c1046 karg.pci_information.u.bits.function = PCI_FUNC(ioc->pdev->devfn); in _ctl_getiocinfo()
/linux-4.1.27/drivers/atm/
Dfore200e.c656 pci_dev->bus->number, PCI_SLOT(pci_dev->devfn), PCI_FUNC(pci_dev->devfn)); in fore200e_pca_proc_read()
Diphase.c3188 pdev->bus->number, PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));)
/linux-4.1.27/drivers/net/ethernet/intel/
De100.c3137 if (0 != PCI_FUNC(pdev->devfn)) in e100_io_slot_reset()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dmain.c2652 return PCI_SLOT(pdev->devfn) * 8 + PCI_FUNC(pdev->devfn); in extended_func_num()
/linux-4.1.27/drivers/tty/serial/8250/
D8250_pci.c1663 int index = PCI_FUNC(pdev->devfn); in tng_serial_setup()
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c2465 int pci_fun = PCI_FUNC(vdev->pdev->devfn); in vxge_add_isr()
/linux-4.1.27/drivers/video/fbdev/sis/
Dsis_main.c5844 ivideo->pcifunc = PCI_FUNC(pdev->devfn); in sisfb_probe()
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dcnic.c5316 cp->func = PCI_FUNC(dev->pcidev->devfn); in cnic_start_hw()
Dtg3.c16569 tp->pci_fn = PCI_FUNC(tp->pdev->devfn) & 3; in tg3_get_invariants()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_main.c9699 hw->bus.func = PCI_FUNC(pdev->devfn); in i40e_probe()
/linux-4.1.27/drivers/net/ethernet/sun/
Dniu.c9769 &niu_pci_ops, PCI_FUNC(pdev->devfn)); in niu_pci_init_one()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c12726 bp->pf_num = PCI_FUNC(pdev->devfn); in bnx2x_init_dev()