Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_vnic.c194 u32 op_mode, priv_level; in qlcnic_83xx_config_vnic_opmode() local
202 priv_level = QLCNIC_MGMT_FUNC; in qlcnic_83xx_config_vnic_opmode()
204 priv_level = QLC_83XX_GET_FUNC_PRIVILEGE(op_mode, in qlcnic_83xx_config_vnic_opmode()
206 switch (priv_level) { in qlcnic_83xx_config_vnic_opmode()
Dqlcnic_main.c1122 u32 op_mode, priv_level; in qlcnic_check_vf() local
1134 priv_level = QLCNIC_MGMT_FUNC; in qlcnic_check_vf()
1136 priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func); in qlcnic_check_vf()
1138 if (priv_level == QLCNIC_NON_PRIV_FUNC) { in qlcnic_check_vf()
1460 u32 op_mode, priv_level; in qlcnic_check_eswitch_mode() local
1471 priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func); in qlcnic_check_eswitch_mode()
1474 priv_level = QLCNIC_MGMT_FUNC; in qlcnic_check_eswitch_mode()
1476 priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func); in qlcnic_check_eswitch_mode()
1479 if (priv_level == QLCNIC_MGMT_FUNC) { in qlcnic_check_eswitch_mode()
1489 } else if (priv_level == QLCNIC_PRIV_FUNC) { in qlcnic_check_eswitch_mode()
Dqlcnic_83xx_hw.c759 u32 op_mode, priv_level; in qlcnic_83xx_check_vf() local
773 priv_level = QLCNIC_MGMT_FUNC; in qlcnic_83xx_check_vf()
775 priv_level = QLC_83XX_GET_FUNC_PRIVILEGE(op_mode, in qlcnic_83xx_check_vf()
778 if (priv_level == QLCNIC_NON_PRIV_FUNC) { in qlcnic_83xx_check_vf()
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_emulate.c71 enum priv_level { enum
77 static bool spr_allowed(struct kvm_vcpu *vcpu, enum priv_level level) in spr_allowed()