Home
last modified time | relevance | path

Searched refs:sriov_enabled (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.h29 bool sriov_enabled; member
H A Dhinic_sriov.c1283 if (!sriov_info->sriov_enabled) in hinic_pci_sriov_disable()
1297 sriov_info->sriov_enabled = false; in hinic_pci_sriov_disable()
1344 sriov_info->sriov_enabled = true; in hinic_pci_sriov_enable()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Dpsp_gfx_if.h190 uint32_t sriov_enabled:1; /* whether the device runs under SR-IOV*/ member
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_vf_rep.c498 if (!oct->sriov_info.sriov_enabled) in lio_vf_rep_create()
584 if (!oct->sriov_info.sriov_enabled) in lio_vf_rep_destroy()
H A Dlio_ethtool.c512 if (oct->sriov_info.sriov_enabled) { in lio_ethtool_get_channels()
621 if (oct->sriov_info.sriov_enabled) { in lio_ethtool_set_channels()
1147 if ((OCTEON_CN23XX_PF(oct)) && !oct->sriov_info.sriov_enabled) in lio_reset_queues()
1166 !oct->sriov_info.sriov_enabled) { in lio_reset_queues()
1194 if (OCTEON_CN23XX_PF(oct) && !oct->sriov_info.sriov_enabled) { in lio_reset_queues()
1223 if (OCTEON_CN23XX_PF(oct) && !oct->sriov_info.sriov_enabled) { in lio_reset_queues()
1249 if (oct->sriov_info.sriov_enabled || OCTEON_CN23XX_VF(oct)) in lio_reset_queues()
H A Docteon_device.h389 u32 sriov_enabled; member
H A Dlio_main.c1098 if (oct->sriov_info.sriov_enabled) in octeon_destroy_resources()
3811 oct->sriov_info.sriov_enabled = 1; in octeon_enable_sriov()
3864 (oct->sriov_info.sriov_enabled)) { in liquidio_enable_sriov()
H A Dcn23xx_pf_device.c1302 oct->sriov_info.sriov_enabled = 0; in cn23xx_sriov_config()
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c1861 if (!sriov_enabled(adapter)) in be_set_vf_mac()
1901 if (!sriov_enabled(adapter)) in be_get_vf_config()
1982 if (!sriov_enabled(adapter)) in be_set_vf_vlan()
2018 if (!sriov_enabled(adapter)) in be_set_vf_tx_rate()
2077 if (!sriov_enabled(adapter)) in be_set_vf_link_state()
2102 if (!sriov_enabled(adapter)) in be_set_vf_spoofchk()
4140 if (sriov_enabled(adapter)) in be_clear()
4978 if (!sriov_enabled(adapter)) in be_ndo_bridge_setlink()
H A Dbe.h683 #define sriov_enabled(adapter) (adapter->flags & \ macro