Home
last modified time | relevance | path

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

/drivers/crypto/hisilicon/
Dqm.c3333 u16 sriov_ctrl; in qm_set_vf_mse() local
3338 pci_read_config_word(pdev, pos + PCI_SRIOV_CTRL, &sriov_ctrl); in qm_set_vf_mse()
3340 sriov_ctrl |= PCI_SRIOV_CTRL_MSE; in qm_set_vf_mse()
3342 sriov_ctrl &= ~PCI_SRIOV_CTRL_MSE; in qm_set_vf_mse()
3343 pci_write_config_word(pdev, pos + PCI_SRIOV_CTRL, sriov_ctrl); in qm_set_vf_mse()
3346 pci_read_config_word(pdev, pos + PCI_SRIOV_CTRL, &sriov_ctrl); in qm_set_vf_mse()
3347 if (set == (sriov_ctrl & PCI_SRIOV_CTRL_MSE) >> in qm_set_vf_mse()
/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()