Home
last modified time | relevance | path

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

/openbmc/ipmitool/include/ipmitool/
H A Dipmi_sdr.h52 # define __TO_M(mtol) (int16_t)(tos32((((mtol & 0xff00) >> 8) | ((mtol & 0xc0) << 2)), 10)) macro
60 # define __TO_M(mtol) (int16_t)(tos32((((BSWAP_16(mtol) & 0xff00) >> 8) | ((BSWAP_16(mtol) & … macro
/openbmc/ipmitool/lib/
H A Dipmi_sdr.c190 m = __TO_M(sensor->mtol); in sdr_convert_sensor_reading()
272 m = __TO_M(sensor->mtol); in sdr_convert_sensor_hysterisis()
347 m = __TO_M(sensor->mtol); in sdr_convert_sensor_tolerance()
426 m = __TO_M(sensor->mtol); in sdr_convert_sensor_value_to_raw()