Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A 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()
H A Dqlcnic_main.c1099 u32 op_mode, priv_level; in qlcnic_check_vf() local
1111 priv_level = QLCNIC_MGMT_FUNC; in qlcnic_check_vf()
1113 priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func); in qlcnic_check_vf()
1115 if (priv_level == QLCNIC_NON_PRIV_FUNC) { in qlcnic_check_vf()
1437 u32 op_mode, priv_level; in qlcnic_check_eswitch_mode() local
1448 priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func); in qlcnic_check_eswitch_mode()
1451 priv_level = QLCNIC_MGMT_FUNC; in qlcnic_check_eswitch_mode()
1453 priv_level = QLC_DEV_GET_DRV(op_mode, adapter->ahw->pci_func); in qlcnic_check_eswitch_mode()
1456 if (priv_level == QLCNIC_MGMT_FUNC) { in qlcnic_check_eswitch_mode()
1466 } else if (priv_level == QLCNIC_PRIV_FUNC) { in qlcnic_check_eswitch_mode()
H A 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()
/openbmc/ipmitool/lib/
H A Dipmi_lanp.c549 static char priv_level_to_char(unsigned char priv_level) in priv_level_to_char() argument
553 switch (priv_level) in priv_level_to_char()
1171 unsigned char priv_level = IPMI_SESSION_PRIV_ADMIN; in get_cmdline_cipher_suite_priv_data() local
1176 priv_level = IPMI_SESSION_PRIV_UNSPECIFIED; /* 0 */ in get_cmdline_cipher_suite_priv_data()
1179 priv_level = IPMI_SESSION_PRIV_CALLBACK; /* 1 */ in get_cmdline_cipher_suite_priv_data()
1182 priv_level = IPMI_SESSION_PRIV_USER; /* 2 */ in get_cmdline_cipher_suite_priv_data()
1185 priv_level = IPMI_SESSION_PRIV_OPERATOR; /* 3 */ in get_cmdline_cipher_suite_priv_data()
1188 priv_level = IPMI_SESSION_PRIV_ADMIN; /* 4 */ in get_cmdline_cipher_suite_priv_data()
1191 priv_level = IPMI_SESSION_PRIV_OEM; /* 5 */ in get_cmdline_cipher_suite_priv_data()
1207 buf[1 + (i / 2)] += priv_level; in get_cmdline_cipher_suite_priv_data()
[all …]
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_emulate.c64 enum priv_level { enum
70 static bool spr_allowed(struct kvm_vcpu *vcpu, enum priv_level level) in spr_allowed()