| /linux/drivers/net/ethernet/amd/pds_core/ |
| H A D | main.c | 349 is_pf = !pdev->is_virtfn; in pdsc_probe() 421 if (!pdev->is_virtfn) { in pdsc_remove() 431 if (pdev->is_virtfn) { in pdsc_remove() 475 if (pdsc->pdev->is_virtfn) in pdsc_stop_health_thread() 487 if (pdsc->pdev->is_virtfn) in pdsc_restart_health_thread() 505 if (pdev->is_virtfn) { in pdsc_reset_prepare() 536 if (!pdev->is_virtfn) { in pdsc_reset_done() 554 if (pdev->is_virtfn) { in pdsc_reset_done() 574 if (!pdev->is_virtfn) in pdsc_pci_error_detected()
|
| H A D | core.c | 488 if (!pdsc->pdev->is_virtfn) in pdsc_teardown() 492 if (!pdsc->pdev->is_virtfn) { in pdsc_teardown() 571 if (pdsc->pdev->is_virtfn) in pdsc_fw_down() 598 if (pdsc->pdev->is_virtfn) { in pdsc_fw_up()
|
| /linux/drivers/xen/ |
| H A D | pci.c | 70 if (pci_dev->is_virtfn) { in xen_add_device() 82 if (!handle && pci_dev->is_virtfn) in xen_add_device() 124 else if (pci_dev->is_virtfn) { in xen_add_device() 128 .is_virtfn = 1, in xen_add_device()
|
| /linux/drivers/xen/xen-pciback/ |
| H A D | vpci.c | 102 if (!dev->is_virtfn || func) { in __xen_pcibk_add_pci_dev() 109 if (t->dev->is_virtfn && !PCI_FUNC(t->dev->devfn)) in __xen_pcibk_add_pci_dev()
|
| /linux/include/xen/interface/ |
| H A D | physdev.h | 170 unsigned is_virtfn; member
|
| /linux/include/linux/ |
| H A D | pci-tsm.h | 138 if (pdev->is_virtfn) in is_pci_tsm_pf0()
|
| H A D | pci.h | 486 unsigned int is_virtfn:1; member 606 if (dev->is_virtfn) in pci_physfn()
|
| /linux/drivers/vfio/pci/virtio/ |
| H A D | main.c | 158 if (pdev->is_virtfn) { in virtiovf_pci_probe()
|
| /linux/arch/s390/pci/ |
| H A D | pci_bus.c | 113 if (pdev->is_virtfn) { in zpci_bus_remove_device()
|
| /linux/drivers/vfio/pci/ |
| H A D | vfio_pci_core.c | 1951 if (vdev->pdev->is_virtfn) { in vfio_pci_core_match_token_uuid() 2074 pdev->is_virtfn && physfn == vdev->pdev) { in vfio_pci_bus_notifier() 2080 pdev->is_virtfn && physfn == vdev->pdev) { in vfio_pci_bus_notifier() 2100 if (pdev->is_virtfn) { in vfio_pci_vf_init() 2261 if (pci_is_root_bus(pdev->bus) || pdev->is_virtfn) { in vfio_pci_core_register_device()
|
| H A D | vfio_pci_config.c | 432 if (pdev->is_virtfn) in vfio_bar_restore() 1799 if (pdev->is_virtfn) { in vfio_config_init()
|
| /linux/drivers/pci/ |
| H A D | setup-res.c | 36 if (dev->is_virtfn) in pci_std_update_resource()
|
| /linux/drivers/vdpa/octeon_ep/ |
| H A D | octep_vdpa_main.c | 546 if (pdev->is_virtfn) in octep_vdpa_remove() 965 if (pdev->is_virtfn) in octep_vdpa_probe()
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | pci-sriov.c | 228 if (pdev->is_virtfn) { in pnv_pci_ioda_fixup_iov()
|
| H A D | eeh-powernv.c | 301 if (pdev->is_virtfn) in pnv_eeh_get_upstream_pe()
|
| /linux/drivers/vdpa/solidrun/ |
| H A D | snet_main.c | 1079 if (pdev->is_virtfn) in snet_vdpa_probe() 1112 if (pdev->is_virtfn) in snet_vdpa_remove()
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | qplib_rcfw.c | 832 struct bnxt_qplib_ctx *ctx, int is_virtfn) in bnxt_qplib_init_rcfw() argument 856 if (is_virtfn || bnxt_qplib_is_chip_gen_p5_p7(rcfw->res->cctx)) in bnxt_qplib_init_rcfw()
|
| /linux/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_hw.c | 128 if (wx->pdev->is_virtfn) { in wx_intr_enable() 2484 if (pdev->is_virtfn) in wx_sw_init() 2491 pdev->is_virtfn) { in wx_sw_init()
|
| H A D | wx_ethtool.c | 492 if (wx->pdev->is_virtfn) in wx_set_coalesce()
|
| H A D | wx_lib.c | 1739 if (wx->pdev->is_virtfn) in wx_set_itr() 2010 if (ret == 0 || (ret == -ENOMEM) || pdev->is_virtfn) in wx_set_interrupt_capability() 2360 if (wx->pdev->is_virtfn) { in wx_init_interrupt_scheme()
|
| /linux/arch/sparc/kernel/ |
| H A D | pci.c | 881 if (dev->is_virtfn) { in pcibios_device_add()
|
| /linux/arch/powerpc/kernel/ |
| H A D | eeh.c | 1603 if (pdev->is_virtfn) { in eeh_break_device()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | ef10.c | 937 if (efx->pci_dev->is_virtfn) { in efx_ef10_remove() 1103 if (efx->pci_dev->is_virtfn) { in efx_ef10_probe_vf() 3340 if (efx->pci_dev->is_virtfn && efx->pci_dev->physfn) { in efx_ef10_set_mac_address()
|
| /linux/drivers/iommu/iommufd/ |
| H A D | device.c | 560 return (!pdev->is_virtfn || !pci_pri_supported(pdev)); in iommufd_hwpt_compatible_device()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_sriov.c | 139 if (!vfdev->is_virtfn) in ixgbe_get_vfs()
|