Home
last modified time | relevance | path

Searched refs:priv_level (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_vnic.c193 u32 op_mode, priv_level; in qlcnic_83xx_config_vnic_opmode() local
201 priv_level = QLCNIC_MGMT_FUNC; in qlcnic_83xx_config_vnic_opmode()
203 priv_level = QLC_83XX_GET_FUNC_PRIVILEGE(op_mode, in qlcnic_83xx_config_vnic_opmode()
205 switch (priv_level) { in qlcnic_83xx_config_vnic_opmode()
Dqlcnic_main.c1100 u32 op_mode, priv_level; in qlcnic_check_vf() local
1112 priv_level = QLCNIC_MGMT_FUNC; in qlcnic_check_vf()
1114 priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func); in qlcnic_check_vf()
1116 if (priv_level == QLCNIC_NON_PRIV_FUNC) { in qlcnic_check_vf()
1438 u32 op_mode, priv_level; in qlcnic_check_eswitch_mode() local
1449 priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func); in qlcnic_check_eswitch_mode()
1452 priv_level = QLCNIC_MGMT_FUNC; in qlcnic_check_eswitch_mode()
1454 priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func); in qlcnic_check_eswitch_mode()
1457 if (priv_level == QLCNIC_MGMT_FUNC) { in qlcnic_check_eswitch_mode()
1467 } else if (priv_level == QLCNIC_PRIV_FUNC) { in qlcnic_check_eswitch_mode()
Dqlcnic_83xx_hw.c760 u32 op_mode, priv_level; in qlcnic_83xx_check_vf() local
774 priv_level = QLCNIC_MGMT_FUNC; in qlcnic_83xx_check_vf()
776 priv_level = QLC_83XX_GET_FUNC_PRIVILEGE(op_mode, in qlcnic_83xx_check_vf()
779 if (priv_level == QLCNIC_NON_PRIV_FUNC) { in qlcnic_83xx_check_vf()
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_emulate.c64 enum priv_level { enum
70 static bool spr_allowed(struct kvm_vcpu *vcpu, enum priv_level level) in spr_allowed()