/linux-4.1.27/drivers/xen/xen-pciback/ |
D | vpci.c | 47 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()
|
D | pci_stub.c | 165 && 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()
|
D | xenbus.c | 218 PCI_SLOT(devfn), PCI_FUNC(devfn)); in xen_pcibk_publish_pci_dev()
|
/linux-4.1.27/arch/mips/pci/ |
D | ops-emma2rh.c | 103 *(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()
|
D | ops-bridge.c | 49 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()
|
D | pci-xlp.c | 75 !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()
|
D | fixup-mpc30x.c | 40 return internal_func_irqs[PCI_FUNC(dev->devfn)]; in pcibios_map_irq()
|
D | pci-rt2880.c | 74 PCI_FUNC(devfn), where); in rt2880_pci_config_read() 104 PCI_FUNC(devfn), where); in rt2880_pci_config_write()
|
D | ops-vr41xx.c | 45 writel((1U << PCI_SLOT(devfn)) | (PCI_FUNC(devfn) << 8) | in set_pci_configuration_address()
|
D | ops-msc.c | 59 (PCI_FUNC(devfn) << MSC01_PCI_CFGADDR_FNUM_SHF) | in msc_pcibios_config_access()
|
D | ops-loongson3.c | 23 int function = PCI_FUNC(devfn); in loongson3_pci_config_access()
|
D | fixup-lemote2f.c | 68 switch (PCI_FUNC(dev->devfn)) { in pcibios_map_irq()
|
D | ops-bonito64.c | 46 int function = PCI_FUNC(devfn); in bonito64_pcibios_config_access()
|
D | ops-nile4.c | 51 ((1 << (PCI_SLOT(devfn) + 15)) | (PCI_FUNC(devfn) << 8) in nile4_pcibios_config_access()
|
D | fixup-fuloong2e.c | 27 switch (PCI_FUNC(dev->devfn)) { in pcibios_map_irq()
|
D | pci-ar71xx.c | 90 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()
|
D | ops-rc32434.c | 51 u8 func = PCI_FUNC(devfn); in config_access()
|
D | ops-loongson2.c | 45 int function = PCI_FUNC(devfn); in loongson_pcibios_config_access()
|
D | pci-rt3883.c | 248 PCI_FUNC(devfn), where); in rt3883_pci_config_read() 282 PCI_FUNC(devfn), where); in rt3883_pci_config_write()
|
D | ops-bcm63xx.c | 71 func = PCI_FUNC(devfn); in bcm63xx_setup_cfg_access()
|
D | pci-ar2315.c | 201 int func = PCI_FUNC(devfn); in ar2315_pci_cfg_access()
|
D | msi-xlp.c | 456 link = PCI_FUNC(lnkdev->devfn); in arch_setup_msi_irq()
|
D | pci-alchemy.c | 103 unsigned int function = PCI_FUNC(dev_fn); in config_access()
|
/linux-4.1.27/arch/arm/plat-orion/ |
D | pcie.c | 213 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/ |
D | ide-pci-generic.c | 118 !(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()
|
D | cy82c693.c | 153 if (PCI_FUNC(dev->devfn) == 1) in init_iops_cy82c693() 185 PCI_FUNC(dev->devfn) == 1) { in cy82c693_init_one()
|
D | serverworks.c | 192 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()
|
D | hpt366.c | 967 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()
|
D | pdc202xx_new.c | 430 PCI_FUNC(dev->devfn))); in pdc20270_get_dev2()
|
D | ide-acpi.c | 134 func = PCI_FUNC(pdev->devfn); in ide_get_dev_handle()
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
D | nes.c | 174 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 …]
|
D | nes_hw.c | 300 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 …]
|
D | nes_nic.c | 305 (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()
|
D | nes_cm.c | 1447 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()
|
D | nes_mgt.c | 669 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()
|
D | nes_verbs.c | 1273 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/ |
D | pci-auto.c | 267 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/ |
D | common-pci.c | 174 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/ |
D | amd_iommu_init.c | 441 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 …]
|
D | amd_iommu.c | 342 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()
|
D | dmar.c | 169 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()
|
D | intel-iommu.c | 1804 bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in domain_context_mapping_one()
|
/linux-4.1.27/include/uapi/linux/ |
D | pci.h | 32 #define PCI_FUNC(devfn) ((devfn) & 0x07) macro
|
/linux-4.1.27/arch/arm/mach-iop32x/ |
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()
|
D | n2100.c | 107 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in n2100_pci_map_irq()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | eeh_pe.c | 356 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()
|
D | pci_of_scan.c | 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/drivers/ata/ |
D | ata_generic.c | 186 (!(PCI_FUNC(dev->devfn) & 1))) in ata_generic_init_one() 191 (!(PCI_FUNC(dev->devfn) & 1))) in ata_generic_init_one()
|
D | pata_serverworks.c | 302 if (!(PCI_FUNC(pdev->devfn) & 1)) { in serverworks_fixup_csb() 339 if (!(PCI_FUNC(pdev->devfn) & 1)) in serverworks_fixup_csb()
|
D | pata_cypress.c | 137 if (PCI_FUNC(pdev->devfn) != 1) in cy82c693_init_one()
|
D | pata_hpt37x.c | 709 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/ |
D | ebsa285-pci.c | 22 switch (PCI_FUNC(dev->devfn)) { in ebsa285_map_irq()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_pci.c | 138 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/ |
D | direct.c | 107 fn = PCI_FUNC(devfn); in pci_conf2_read() 147 fn = PCI_FUNC(devfn); in pci_conf2_write()
|
D | common.c | 662 (PCI_FUNC(dev->devfn) == rom->function) && in pcibios_add_device()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | pci.h | 27 PCI_FUNC(DEVFN), \
|
/linux-4.1.27/arch/powerpc/platforms/pasemi/ |
D | misc.c | 87 i2c_register_board_info(PCI_FUNC(pdev->devfn), &info, in pasemi_register_i2c_devices()
|
D | pci.c | 58 return ((busno == 0) && (PCI_FUNC(devfn) < 4) && in is_root_port()
|
/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/arm/mach-orion5x/ |
D | pci.c | 328 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/ |
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/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 | 212 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/ |
D | o2micro.h | 121 if (PCI_FUNC(socket->dev->devfn) == 0) { in o2micro_override()
|
D | ti113x.h | 240 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/ |
D | drivers.c | 299 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/ |
D | aerdrv_acpi.c | 29 p->function == PCI_FUNC(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/drivers/i2c/busses/ |
D | i2c-amd756.c | 335 if (PCI_FUNC(pdev->devfn) != 1) in amd756_probe() 341 if (PCI_FUNC(pdev->devfn) != 3) in amd756_probe()
|
D | i2c-pasemi.c | 368 smbus->adapter.nr = PCI_FUNC(dev->devfn); in pasemi_smb_probe()
|
/linux-4.1.27/drivers/pci/pcie/ |
D | aspm.c | 210 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()
|
D | pme.c | 209 busnr, PCI_SLOT(devfn), PCI_FUNC(devfn)); in pcie_pme_handle_request()
|
/linux-4.1.27/drivers/media/pci/mantis/ |
D | mantis_pci.c | 61 PCI_FUNC(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/arch/alpha/kernel/ |
D | sys_miata.c | 183 if((slot == 7) && (PCI_FUNC(dev->devfn) == 3)) { in miata_map_irq()
|
D | pci.c | 79 if (PCI_FUNC(dev->devfn) == 2) { in quirk_cypress()
|
D | sys_marvel.c | 352 PCI_FUNC(dev->devfn), in marvel_map_irq()
|
/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() 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()
|
D | i5400_edac.c | 746 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()
|
D | i7300_edac.c | 950 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()
|
D | i5000_edac.c | 807 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()
|
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 | i5100_edac.c | 651 if (PCI_FUNC(ret->devfn) == func) in pci_get_device_func() 1004 if (PCI_FUNC(pdev->devfn) != 1) in i5100_init_one()
|
D | amd64_edac.c | 70 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/ |
D | ops-sh7786.c | 29 func = PCI_FUNC(devfn); in sh7786_pcie_config_access()
|
D | common.c | 59 if (PCI_FUNC(pci_devfn)) in EARLY_PCI_OP()
|
D | pci.c | 202 if (PCI_FUNC(pci_devfn)) in pcibios_bus_report_status_early()
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
D | pci.c | 129 | (((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/ |
D | pci.c | 191 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/ |
D | cpqphp_nvram.c | 293 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()
|
D | cpci_hotplug_pci.c | 265 slot->bus->number, PCI_SLOT(slot->devfn), PCI_FUNC(slot->devfn)); in cpci_configure_slot()
|
D | acpiphp_glue.c | 455 if (PCI_FUNC(dev->devfn) == func->function) { in check_hotplug_bridge()
|
D | pciehp_hpc.c | 285 PCI_FUNC(devfn), count, step, l); in pci_bus_check_dev()
|
D | cpqphp_core.c | 1092 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), ctrl->rev); in cpqhpc_probe()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | pci_common.c | 263 unsigned int func = PCI_FUNC(devfn); in sun4v_read_pci_cfg() 296 unsigned int func = PCI_FUNC(devfn); in sun4v_write_pci_cfg()
|
D | leon_pci_grpci1.c | 268 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()
|
D | leon_pci_grpci2.c | 404 "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()
|
D | pci.c | 317 dev->bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn)); in of_create_pci_dev()
|
/linux-4.1.27/arch/arm/plat-iop/ |
D | pci.c | 49 addr |= PCI_FUNC(devfn) << 8 | (where & ~3); in iop3xx_cfg_address()
|
/linux-4.1.27/drivers/pci/host/ |
D | pcie-iproc.c | 77 unsigned fn = PCI_FUNC(devfn); in iproc_pcie_map_cfg_bus()
|
D | pci-rcar-gen2.c | 115 if (sys->busnr != bus->number || PCI_FUNC(devfn)) in rcar_pci_cfg_base()
|
D | pcie-designware.c | 587 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()
|
D | pci-keystone-dw.c | 376 u8 device = PCI_SLOT(devfn), function = PCI_FUNC(devfn); in ks_pcie_cfg_setup()
|
D | pci-xgene.c | 103 f = PCI_FUNC(devfn); in xgene_pcie_set_rtdid_reg()
|
D | pcie-rcar.c | 186 func = PCI_FUNC(devfn); in rcar_pcie_config_access()
|
D | pci-mvebu.c | 49 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | PCIE_CONF_REG(where) | \
|
D | pci-tegra.c | 379 (PCI_FUNC(devfn) << 8) | (where & 0xfc); in tegra_pcie_conf_offset()
|
/linux-4.1.27/arch/powerpc/platforms/maple/ |
D | pci.c | 87 ((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/ |
D | pci.c | 48 pbca |= PCI_FUNC(devfn) << 8; in ks8695_pci_setupconfig()
|
/linux-4.1.27/arch/powerpc/platforms/85xx/ |
D | mpc85xx_cds.c | 146 if (PCI_FUNC(dev->devfn) == 3) in mpc85xx_cds_pci_irq_fixup()
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_pci.c | 53 unsigned int func = PCI_FUNC(info->pdev->devfn); in stmmac_pci_find_phy_addr()
|
/linux-4.1.27/drivers/bcma/ |
D | driver_pci_host.c | 244 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/ |
D | pci.c | 94 (PCI_SLOT(devfn) << 11) | (PCI_FUNC(devfn) << 8) | offset); in __pci_addr()
|
/linux-4.1.27/drivers/parisc/ |
D | iosapic.c | 747 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()
|
D | superio.c | 344 fn = PCI_FUNC(pcidev->devfn); in superio_fixup_irq()
|
/linux-4.1.27/drivers/pci/ |
D | xen-pcifront.c | 198 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()
|
D | quirks.c | 1511 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()
|
D | proc.c | 397 sprintf(name, "%02x.%x", PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in pci_proc_attach_device()
|
D | pci-acpi.c | 589 addr = (PCI_SLOT(pci_dev->devfn) << 16) | PCI_FUNC(pci_dev->devfn); in acpi_pci_find_companion()
|
D | probe.c | 1150 PCI_FUNC(dev->devfn)); in pci_setup_device() 1479 PCI_FUNC(devfn)); in pci_bus_read_dev_vendor_id()
|
D | pci.c | 4380 func == PCI_FUNC(dev->devfn)) { in pci_specified_resource_alignment()
|
/linux-4.1.27/drivers/scsi/be2iscsi/ |
D | be_cmds.c | 843 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()
|
D | be_main.c | 938 (PCI_FUNC(ctrl->pdev->devfn) * CEV_ISR_SIZE)); in be_isr()
|
/linux-4.1.27/arch/arm/mach-cns3xxx/ |
D | pcie.c | 137 PCI_FUNC(dev->devfn), slot, pin, irq); in cns3xxx_pcie_map_irq()
|
/linux-4.1.27/arch/ia64/sn/pci/pcibr/ |
D | pcibr_dma.c | 159 if (!IS_PCIX(pcibus_info) && PCI_FUNC(info->pdi_linux_pcidev->devfn)) in pcibr_dmatrans_direct64()
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
D | aic79xx_osm_pci.c | 218 if ((ahd->features & AHD_MULTI_FUNC) && PCI_FUNC(pdev->devfn) != 0) in ahd_linux_pci_dev_probe()
|
D | aic7xxx_osm_pci.c | 263 if ((ahc->features & AHC_MULTI_FUNC) && PCI_FUNC(pdev->devfn) != 0) in ahc_linux_pci_dev_probe()
|
D | aic7xxx_osm.h | 485 return (PCI_FUNC(pci->devfn)); in ahc_get_pci_function()
|
D | aic79xx_osm.h | 482 return (PCI_FUNC(pci->devfn)); in ahd_get_pci_function()
|
/linux-4.1.27/drivers/infiniband/hw/usnic/ |
D | usnic_ib_sysfs.c | 99 PCI_FUNC(us_ibdev->pdev->devfn), in usnic_ib_show_config()
|
/linux-4.1.27/arch/mips/txx9/generic/ |
D | pci.c | 65 if (PCI_FUNC(pci_devfn)) in txx9_pci66_check()
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
D | adf_ctl_drv.c | 417 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/ |
D | bt878.c | 457 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); in bt878_probe()
|
/linux-4.1.27/drivers/scsi/csiostor/ |
D | csio_hw.h | 541 #define CSIO_PCI_FUNC(hw) (PCI_FUNC((hw)->pdev->devfn))
|
/linux-4.1.27/arch/tile/kernel/ |
D | pci_gx.c | 1216 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/ |
D | pci_v3.c | 390 address = PCI_FUNC(devfn) << 8; in v3_open_config_window()
|
/linux-4.1.27/arch/arm/kernel/ |
D | bios32.c | 238 } else if (PCI_FUNC(dev->devfn) == 0) { in pci_fixup_cy82c693()
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
D | eeh_pseries.c | 270 PCI_FUNC(pdn->devfn), pe.phb->global_number, in pseries_eeh_probe()
|
/linux-4.1.27/drivers/scsi/bfa/ |
D | bfad.c | 770 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/ |
D | radeon_bios.c | 628 vhdr->PCIFunction != PCI_FUNC(rdev->pdev->devfn) || in radeon_acpi_vfct_bios()
|
/linux-4.1.27/drivers/mmc/host/ |
D | sdhci-pci.c | 332 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/ |
D | megaraid_mm.c | 891 cinfo->pcifun = PCI_FUNC(hinfo->pci_dev_fn); in hinfo_to_cinfo()
|
D | megaraid_mbox.c | 430 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn))); in megaraid_probe_one()
|
D | megaraid_sas_base.c | 5139 pdev->bus->number, PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); in megasas_probe_one()
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | mpic.c | 476 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/ |
D | esas2r_ioctl.c | 454 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/ |
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 | 88 return name | PCI_FUNC(pdev->devfn); in nouveau_pci_name()
|
/linux-4.1.27/drivers/scsi/ |
D | fdomain.c | 850 PCI_FUNC(pdev->devfn)); in fdomain_pci_bios_detect()
|
D | megaraid.c | 4251 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()
|
D | advansys.c | 5836 if (PCI_FUNC(pdev->devfn) == 0) { in AdvInitAsc38C1600Driver() 10955 if (PCI_FUNC(pdev->devfn) != 0) { in AdvInitFrom38C1600EEP()
|
/linux-4.1.27/drivers/char/agp/ |
D | intel-gtt.c | 1332 if (gmch_device && PCI_FUNC(gmch_device->devfn) != 0) { in find_gmch()
|
/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() 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/ |
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 | 2047 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/ |
D | i915_drv.c | 921 if (PCI_FUNC(pdev->devfn)) in i915_pci_probe()
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
D | ivtv-driver.c | 902 PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn), in ivtv_setup_pci()
|
/linux-4.1.27/drivers/message/fusion/ |
D | mptctl.c | 1320 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()
|
D | mptbase.c | 2626 unsigned int func = PCI_FUNC(pdev->devfn); in mpt_detect_bound_ports()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 591 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/ |
D | tgafb.c | 1510 PCI_FUNC(to_pci_dev(dev)->devfn));
|
/linux-4.1.27/drivers/video/fbdev/intelfb/ |
D | intelfbdrv.c | 614 PCI_FUNC(pdev->devfn), dinfo->name, in intelfb_pci_register()
|
/linux-4.1.27/Documentation/PCI/ |
D | pci-error-recovery.txt | 316 + if (PCI_FUNC(pdev->devfn) == 0)
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | siena_sriov.c | 1263 PCI_SLOT(devfn), PCI_FUNC(devfn)); in efx_siena_sriov_vfs_init()
|
/linux-4.1.27/drivers/block/ |
D | cpqarray.c | 516 PCI_FUNC(pdev->devfn)); in cpqarray_init_one()
|
D | skd_main.c | 2606 inq.pcie_function_number = PCI_FUNC(pdev->devfn); in skd_do_inq_page_da()
|
/linux-4.1.27/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.c | 1850 if (PCI_FUNC(pdev->devfn) == 0) { in sym2_io_slot_reset()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | qla_os.c | 2477 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()
|
D | qla_nx2.c | 2934 ((PCI_FUNC(ha->pdev->devfn) & 0xf) << 0x4); in qla8044_minidump_pex_dma_read()
|
D | qla_nx.c | 2293 ha->portnum = PCI_FUNC(ha->pdev->devfn); in qla82xx_init_flags()
|
/linux-4.1.27/drivers/staging/xgifb/ |
D | XGI_main_26.c | 1676 xgifb_info->pcifunc = PCI_FUNC(pdev->devfn); in xgifb_probe()
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_pci.c | 920 PCI_SLOT(fault->func), PCI_FUNC(fault->func)); in fm10k_print_fault()
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 3613 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/ |
D | i40evf_main.c | 2336 hw->bus.func = PCI_FUNC(pdev->devfn); in i40evf_probe()
|
/linux-4.1.27/drivers/scsi/bnx2i/ |
D | bnx2i_iscsi.c | 811 hba->pci_func = PCI_FUNC(hba->pcidev->devfn); in bnx2i_alloc_hba()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_main.c | 2315 if (0 != PCI_FUNC (pdev->devfn)) in ixgb_io_slot_reset()
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 5886 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()
|
D | ql4_nx.c | 2067 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/ |
D | cx88-cards.c | 3666 core->name, PCI_FUNC(pci->devfn), in cx88_get_resources()
|
/linux-4.1.27/drivers/scsi/mpt3sas/ |
D | mpt3sas_ctl.c | 1035 karg.pci_information.u.bits.function = PCI_FUNC(ioc->pdev->devfn); in _ctl_getiocinfo()
|
/linux-4.1.27/drivers/scsi/mpt2sas/ |
D | mpt2sas_ctl.c | 1046 karg.pci_information.u.bits.function = PCI_FUNC(ioc->pdev->devfn); in _ctl_getiocinfo()
|
/linux-4.1.27/drivers/atm/ |
D | fore200e.c | 656 pci_dev->bus->number, PCI_SLOT(pci_dev->devfn), PCI_FUNC(pci_dev->devfn)); in fore200e_pca_proc_read()
|
D | iphase.c | 3188 pdev->bus->number, PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));)
|
/linux-4.1.27/drivers/net/ethernet/intel/ |
D | e100.c | 3137 if (0 != PCI_FUNC(pdev->devfn)) in e100_io_slot_reset()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | main.c | 2652 return PCI_SLOT(pdev->devfn) * 8 + PCI_FUNC(pdev->devfn); in extended_func_num()
|
/linux-4.1.27/drivers/tty/serial/8250/ |
D | 8250_pci.c | 1663 int index = PCI_FUNC(pdev->devfn); in tng_serial_setup()
|
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/ |
D | vxge-main.c | 2465 int pci_fun = PCI_FUNC(vdev->pdev->devfn); in vxge_add_isr()
|
/linux-4.1.27/drivers/video/fbdev/sis/ |
D | sis_main.c | 5844 ivideo->pcifunc = PCI_FUNC(pdev->devfn); in sisfb_probe()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | cnic.c | 5316 cp->func = PCI_FUNC(dev->pcidev->devfn); in cnic_start_hw()
|
D | tg3.c | 16569 tp->pci_fn = PCI_FUNC(tp->pdev->devfn) & 3; in tg3_get_invariants()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 9699 hw->bus.func = PCI_FUNC(pdev->devfn); in i40e_probe()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | niu.c | 9769 &niu_pci_ops, PCI_FUNC(pdev->devfn)); in niu_pci_init_one()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 12726 bp->pf_num = PCI_FUNC(pdev->devfn); in bnx2x_init_dev()
|