Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/crypto/hisilicon/
Dqm.c3989 u16 sriov_ctrl; in qm_set_vf_mse() local
3999 pci_read_config_word(pdev, pos + PCI_SRIOV_CTRL, &sriov_ctrl); in qm_set_vf_mse()
4001 sriov_ctrl |= PCI_SRIOV_CTRL_MSE; in qm_set_vf_mse()
4003 sriov_ctrl &= ~PCI_SRIOV_CTRL_MSE; in qm_set_vf_mse()
4004 pci_write_config_word(pdev, pos + PCI_SRIOV_CTRL, sriov_ctrl); in qm_set_vf_mse()
4007 pci_read_config_word(pdev, pos + PCI_SRIOV_CTRL, &sriov_ctrl); in qm_set_vf_mse()
4008 if (set == (sriov_ctrl & PCI_SRIOV_CTRL_MSE) >> in qm_set_vf_mse()
/linux-6.12.1/drivers/net/ethernet/intel/fm10k/
Dfm10k_pf.c75 u16 sriov_ctrl = fm10k_read_pci_cfg_word(hw, FM10K_PCIE_SRIOV_CTRL); in fm10k_is_ari_hierarchy_pf() local
77 return !!(sriov_ctrl & FM10K_PCIE_SRIOV_CTRL_VFARI); in fm10k_is_ari_hierarchy_pf()