| /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() 516 if (!pdev->is_virtfn) { in pdsc_reset_prepare() 540 if (!pdev->is_virtfn) { in pdsc_reset_done() 560 if (pdev->is_virtfn) { in pdsc_reset_done() 580 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 | 487 unsigned int is_virtfn:1; member 607 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/drivers/infiniband/hw/bnxt_re/ |
| H A D | main.c | 221 rdev->is_virtfn = 1; in bnxt_re_get_sriov_func_type() 1059 if (!rdev->is_virtfn) in board_id_show() 1937 if (rdev->is_virtfn) in bnxt_re_net_unregister_async_event() 1947 if (rdev->is_virtfn) in bnxt_re_net_register_async_event() 2292 if (!rdev->is_virtfn && in bnxt_re_dev_init() 2310 rdev->is_virtfn); in bnxt_re_dev_init() 2335 if (!rdev->is_virtfn) { in bnxt_re_dev_init() 2351 if (!rdev->is_virtfn) in bnxt_re_dev_init() 2381 if (rdev->is_virtfn) in bnxt_re_setup_cc()
|
| 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/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/vdpa/octeon_ep/ |
| H A D | octep_vdpa_main.c | 546 if (pdev->is_virtfn) in octep_vdpa_remove() 967 if (pdev->is_virtfn) in octep_vdpa_probe()
|
| /linux/drivers/pci/ |
| H A D | setup-res.c | 36 if (dev->is_virtfn) in pci_std_update_resource()
|
| H A D | pci.c | 1274 if (PCI_POSSIBLE_ERROR(id) && dev->is_virtfn) in pci_dev_wait() 3757 if (dev->is_virtfn) in pci_enable_atomic_ops_to_root() 6604 if (dev->is_virtfn) in pci_reassigndev_resource_alignment()
|
| /linux/drivers/vdpa/solidrun/ |
| H A D | snet_main.c | 1083 if (pdev->is_virtfn) in snet_vdpa_probe() 1116 if (pdev->is_virtfn) in snet_vdpa_remove()
|
| /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 | pci-ioda.c | 990 if (WARN_ON(pdev->is_virtfn)) in pnv_pci_ioda_dma_dev_setup() 2380 if (pdev->is_virtfn) in pnv_pci_release_device()
|
| /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 | 1760 if (wx->pdev->is_virtfn) in wx_set_itr() 2031 if (ret == 0 || (ret == -ENOMEM) || pdev->is_virtfn) in wx_set_interrupt_capability() 2381 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()
|