Home
last modified time | relevance | path

Searched refs:chInfo (Results 1 – 18 of 18) sorted by relevance

/openbmc/phosphor-host-ipmid/oem/nvidia/
H A Dbootstrap-credentials-oem-cmds.cpp90 ChannelInfo chInfo{}; in ipmiGetIpmiChannelRfHi() local
91 Cc compCode = ipmi::getChannelInfo(chNum, chInfo); in ipmiGetIpmiChannelRfHi()
100 if (chInfo.mediumType != in ipmiGetIpmiChannelRfHi()
102 chInfo.protocolType != in ipmiGetIpmiChannelRfHi()
104 chInfo.sessionSupported != in ipmiGetIpmiChannelRfHi()
106 chInfo.isIpmi != true) in ipmiGetIpmiChannelRfHi()
/openbmc/intel-ipmi-oem/src/
H A Dbridgingcommands.cpp465 ipmi::ChannelInfo chInfo; in ipmiAppGetMessage() local
469 getChannelInfo(ctx->channel, chInfo); in ipmiAppGetMessage()
478 if (chInfo.mediumType != in ipmiAppGetMessage()
532 ipmi::ChannelInfo chInfo; in ipmiAppGetMessageFlags() local
536 getChannelInfo(ctx->channel, chInfo); in ipmiAppGetMessageFlags()
545 if (chInfo.mediumType != in ipmiAppGetMessageFlags()
614 ipmi::ChannelInfo chInfo; in ipmiAppClearMessageFlags() local
618 getChannelInfo(ctx->channel, chInfo); in ipmiAppClearMessageFlags()
627 if (chInfo.mediumType != in ipmiAppClearMessageFlags()
706 ipmi::ChannelInfo chInfo; in ipmiAppReadEventMessageBuffer() local
[all …]
H A Dsensorcommands.cpp121 ipmi::ChannelInfo chInfo; in ipmiSenPlatformEvent() local
123 if (ipmi::getChannelInfo(ctx->channel, chInfo) != ipmi::ccSuccess) in ipmiSenPlatformEvent()
131 if (static_cast<ipmi::EChannelMediumType>(chInfo.mediumType) == in ipmiSenPlatformEvent()
H A Dallowlist-filter.cpp81 ipmi::ChannelInfo chInfo; in getSMMChannel() local
85 if (ipmi::getChannelInfo(channel, chInfo) != ipmi::ccSuccess) in getSMMChannel()
90 if (static_cast<ipmi::EChannelMediumType>(chInfo.mediumType) == in getSMMChannel()
H A Doemcommands.cpp1277 ChannelInfo chInfo{}; in ipmiOEMSetUser2Activation() local
1280 getChannelInfo(channel, chInfo); in ipmiOEMSetUser2Activation()
1289 if (chInfo.mediumType == in ipmiOEMSetUser2Activation()
1298 if (chInfo.mediumType == in ipmiOEMSetUser2Activation()
1423 ChannelInfo chInfo; in ipmiOEMSetSpecialUserPassword() local
1428 getChannelInfo(ctx->channel, chInfo); in ipmiOEMSetSpecialUserPassword()
1437 if (chInfo.mediumType != in ipmiOEMSetSpecialUserPassword()
3015 ChannelInfo chInfo; in ipmiSetSecurityMode() local
3016 if (getChannelInfo(ctx->channel, chInfo) != ccSuccess) in ipmiSetSecurityMode()
3049 if (chInfo.mediumType != in ipmiSetSecurityMode()
H A Dfirmware-update.cpp543 ipmi::ChannelInfo chInfo; in checkIPMBChannel() local
545 if (ipmi::getChannelInfo(ctx->channel, chInfo) != ipmi::ccSuccess) in checkIPMBChannel()
553 if (static_cast<ipmi::EChannelMediumType>(chInfo.mediumType) == in checkIPMBChannel()
/openbmc/phosphor-host-ipmid/user_channel/
H A Dchannel_mgmt.cpp388 (EChannelSessSupported)channelData[chNum].chInfo.sessionSupported; in getChannelSessionSupport()
401 uint8_t authTypeSupported = channelData[chNum].chInfo.authTypeSupported; in isValidAuthType()
426 Cc ChannelConfig::getChannelInfo(const uint8_t chNum, ChannelInfo& chInfo) in getChannelInfo() argument
435 std::copy_n(reinterpret_cast<uint8_t*>(&channelData[chNum].chInfo), in getChannelInfo()
436 sizeof(channelData[chNum].chInfo), in getChannelInfo()
437 reinterpret_cast<uint8_t*>(&chInfo)); in getChannelInfo()
677 authTypeSupported = channelData[chNum].chInfo.authTypeSupported; in getChannelAuthTypeSupported()
877 channelData[chNum].chInfo.mediumType = defaultMediumType; in setDefaultChannelConfig()
878 channelData[chNum].chInfo.protocolType = defaultProtocolType; in setDefaultChannelConfig()
879 channelData[chNum].chInfo.sessionSupported = defaultSessionSupported; in setDefaultChannelConfig()
[all …]
H A Dchannelcommands.cpp273 ChannelInfo chInfo; in ipmiGetChannelInfo() local
274 Cc compCode = getChannelInfo(chNum, chInfo); in ipmiGetChannelInfo()
286 uint8_t mediumType = chInfo.mediumType; in ipmiGetChannelInfo()
287 uint8_t protocolType = chInfo.protocolType; in ipmiGetChannelInfo()
288 uint2_t sessionType = chInfo.sessionSupported; in ipmiGetChannelInfo()
H A Dchannel_layer.cpp95 Cc getChannelInfo(const uint8_t chNum, ChannelInfo& chInfo) in getChannelInfo() argument
97 return getChannelConfigObject().getChannelInfo(chNum, chInfo); in getChannelInfo()
H A Dchannel_mgmt.hpp65 ChannelInfo chInfo; member
154 Cc getChannelInfo(const uint8_t chNum, ChannelInfo& chInfo);
H A Dchannel_layer.hpp279 Cc getChannelInfo(const uint8_t chNum, ChannelInfo& chInfo);
/openbmc/phosphor-host-ipmid/
H A Dsystemintfcmds.cpp114 ipmi::ChannelInfo chInfo; in ipmiAppSetBMCGlobalEnable() local
116 if (ipmi::getChannelInfo(ctx->channel, chInfo) != ipmi::ccSuccess) in ipmiAppSetBMCGlobalEnable()
123 if (chInfo.mediumType != in ipmiAppSetBMCGlobalEnable()
H A Dsbmrhandler.cpp282 ipmi::ChannelInfo chInfo; in sbmrFilterCommands() local
283 if (ipmi::getChannelInfo(request->ctx->channel, chInfo) != ipmi::ccSuccess) in sbmrFilterCommands()
291 !checkAllowedMediumType(chInfo.mediumType)) in sbmrFilterCommands()
294 "TYPE", chInfo.mediumType); in sbmrFilterCommands()
H A Dapphandler.cpp1001 ipmi::ChannelInfo chInfo{}; in getTotalSessionCount() local
1002 ipmi::getChannelInfo(ch, chInfo); in getTotalSessionCount()
1003 if (static_cast<ipmi::EChannelMediumType>(chInfo.mediumType) == in getTotalSessionCount()
1043 ipmi::ChannelInfo chInfo; in getSessionInfoRequestData() local
1044 ipmi::getChannelInfo(ctx->channel, chInfo); in getSessionInfoRequestData()
1046 if (static_cast<ipmi::EChannelMediumType>(chInfo.mediumType) != in getSessionInfoRequestData()
H A Dipmid-new.cpp551 ChannelInfo chInfo; in executionEntry() local
552 getChannelInfo(channel, chInfo); in executionEntry()
553 if (static_cast<EChannelMediumType>(chInfo.mediumType) == in executionEntry()
H A Dtransporthandler.cpp745 ChannelInfo chInfo; in isLanChannel() local
746 auto cc = getChannelInfo(channel, chInfo); in isLanChannel()
752 return chInfo.mediumType == in isLanChannel()
/openbmc/phosphor-net-ipmid/
H A Dsessions_manager.cpp31 ipmi::ChannelInfo chInfo; in setNetworkInstance() local
32 ipmi::getChannelInfo(ch, chInfo); in setNetworkInstance()
33 if (static_cast<ipmi::EChannelMediumType>(chInfo.mediumType) == in setNetworkInstance()
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorcommands.cpp736 ipmi::ChannelInfo chInfo; in ipmiSenPlatformEvent() local
738 if (ipmi::getChannelInfo(ctx->channel, chInfo) != ipmi::ccSuccess) in ipmiSenPlatformEvent()
745 if (static_cast<ipmi::EChannelMediumType>(chInfo.mediumType) == in ipmiSenPlatformEvent()