Home
last modified time | relevance | path

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

/linux-3.4.99/arch/powerpc/kvm/
Dbook3s_emulate.c67 enum priv_level { enum
73 static bool spr_allowed(struct kvm_vcpu *vcpu, enum priv_level level) in spr_allowed()
/linux-3.4.99/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c550 u32 op_mode, priv_level; in qlcnic_check_vf() local
567 priv_level = QLCNIC_MGMT_FUNC; in qlcnic_check_vf()
569 priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func); in qlcnic_check_vf()
571 if (priv_level == QLCNIC_NON_PRIV_FUNC) { in qlcnic_check_vf()
829 u32 op_mode, priv_level; in qlcnic_check_eswitch_mode() local
841 priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func); in qlcnic_check_eswitch_mode()
844 priv_level = QLCNIC_MGMT_FUNC; in qlcnic_check_eswitch_mode()
846 priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func); in qlcnic_check_eswitch_mode()
849 if (priv_level == QLCNIC_MGMT_FUNC) { in qlcnic_check_eswitch_mode()
859 } else if (priv_level == QLCNIC_PRIV_FUNC) { in qlcnic_check_eswitch_mode()