Home
last modified time | relevance | path

Searched refs:BSWAP_32 (Results 1 – 9 of 9) sorted by relevance

/openbmc/ipmitool/include/ipmitool/
H A Dbswap.h41 #undef BSWAP_32
46 # define BSWAP_32(x) bswap_32(x) macro
49 # define BSWAP_32(x) ((((x) & 0xff000000) >> 24) | (((x) & 0x00ff0000) >> 8) |\ macro
H A Dipmi_sdr.h61 # define __TO_B(bacc) (int32_t)(tos32((((BSWAP_32(bacc) & 0xff000000) >> 24) | \
62 ((BSWAP_32(bacc) & 0xc00000) >> 14)), 10))
63 # define __TO_ACC(bacc) (uint32_t)(((BSWAP_32(bacc) & 0x3f0000) >> 16) | ((BSWAP_32(bacc) & 0xf…
64 # define __TO_ACC_EXP(bacc) (uint32_t)((BSWAP_32(bacc) & 0xc00) >> 10)
65 # define __TO_R_EXP(bacc) (int32_t)(tos32(((BSWAP_32(bacc) & 0xf0) >> 4), 4))
66 # define __TO_B_EXP(bacc) (int32_t)(tos32((BSWAP_32(bacc) & 0xf), 4))
/openbmc/ipmitool/src/plugins/lan/
H A Dauth.c73 temp = BSWAP_32(s->in_seq); in ipmi_auth_md5()
107 temp = BSWAP_32(s->in_seq); in ipmi_auth_md5()
137 temp = BSWAP_32(s->in_seq); in ipmi_auth_md2()
/openbmc/ipmitool/src/plugins/lanplus/
H A Dlanplus_crypt.c114 SIDm_lsbf = BSWAP_32(SIDm_lsbf); in lanplus_rakp2_hmac_matches()
122 SIDc_lsbf = BSWAP_32(SIDc_lsbf); in lanplus_rakp2_hmac_matches()
279 SIDc_lsbf = BSWAP_32(SIDc_lsbf); in lanplus_rakp4_hmac_matches()
403 SIDm_lsbf = BSWAP_32(SIDm_lsbf); in lanplus_generate_rakp3_authcode()
H A Dlanplus.c920 BSWAP_32(rsp->payload.open_session_response.console_id); in read_open_session_response()
934 BSWAP_32(rsp->payload.open_session_response.bmc_id); in read_open_session_response()
982 BSWAP_32(rsp->payload.rakp2_message.console_id); in read_rakp2_message()
1063 BSWAP_32(rsp->payload.rakp4_message.console_id); in read_rakp4_message()
1161 rsp->session.id = BSWAP_32(rsp->session.id); in read_session_data_v2x()
1182 rsp->session.seq = BSWAP_32(rsp->session.seq); in read_session_data_v2x()
2735 bmc_session_lsbf = BSWAP_32(bmc_session_lsbf); in ipmi_close_session_cmd()
/openbmc/ipmitool/lib/
H A Dipmi_delloem.c2835 bmctimeconv=BSWAP_32(*bmctimeconvval); in ipmi_powermgmt()
2874 cumStartTimeConv = BSWAP_32(pwrMonitorInfo->cumStartTime); in ipmi_powermgmt()
2875 cumReadingConv = BSWAP_32(pwrMonitorInfo->cumReading); in ipmi_powermgmt()
2876 maxPeakStartTimeConv = BSWAP_32(pwrMonitorInfo->maxPeakStartTime); in ipmi_powermgmt()
2877 ampPeakTimeConv = BSWAP_32(pwrMonitorInfo->ampPeakTime); in ipmi_powermgmt()
2879 wattPeakTimeConv = BSWAP_32(pwrMonitorInfo->wattPeakTime); in ipmi_powermgmt()
3344 pstPeakpower->lastminutepowertime = BSWAP_32(pstPeakpower->lastminutepowertime); in ipmi_get_peakpower_consmpt_history()
3345 pstPeakpower->lasthourpowertime = BSWAP_32(pstPeakpower->lasthourpowertime); in ipmi_get_peakpower_consmpt_history()
3346 pstPeakpower->lastdaypowertime = BSWAP_32(pstPeakpower->lastdaypowertime); in ipmi_get_peakpower_consmpt_history()
3347 pstPeakpower->lastweekpowertime = BSWAP_32(pstPeakpower->lastweekpowertime); in ipmi_get_peakpower_consmpt_history()
[all …]
H A Dipmi_pef.c761 timei = BSWAP_32(timei); in ipmi_pef_get_status()
H A Dipmi_chassis.c222 count = BSWAP_32(count); in ipmi_chassis_poh()
H A Dipmi_sel.c2680 time = (time_t)(BSWAP_32(timei)); in ipmi_sel_get_time()
2759 timei = BSWAP_32(timei); in ipmi_sel_set_time()