Home
last modified time | relevance | path

Searched refs:sriov_ctrl (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/intel/fm10k/
Dfm10k_pf.c74 u16 sriov_ctrl = fm10k_read_pci_cfg_word(hw, FM10K_PCIE_SRIOV_CTRL); in fm10k_is_ari_hierarchy_pf() local
76 return !!(sriov_ctrl & FM10K_PCIE_SRIOV_CTRL_VFARI); in fm10k_is_ari_hierarchy_pf()
/drivers/crypto/hisilicon/
Dqm.c4617 u16 sriov_ctrl; in qm_set_vf_mse() local
4622 pci_read_config_word(pdev, pos + PCI_SRIOV_CTRL, &sriov_ctrl); in qm_set_vf_mse()
4624 sriov_ctrl |= PCI_SRIOV_CTRL_MSE; in qm_set_vf_mse()
4626 sriov_ctrl &= ~PCI_SRIOV_CTRL_MSE; in qm_set_vf_mse()
4627 pci_write_config_word(pdev, pos + PCI_SRIOV_CTRL, sriov_ctrl); in qm_set_vf_mse()
4630 pci_read_config_word(pdev, pos + PCI_SRIOV_CTRL, &sriov_ctrl); in qm_set_vf_mse()
4631 if (set == (sriov_ctrl & PCI_SRIOV_CTRL_MSE) >> in qm_set_vf_mse()