Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libipmi/common/
H A Dipmi_sdr.c39 #define tos32(val, bits) ((val & ((1<<((bits)-1)))) ? (-((val) & \ macro
44 #define __TO_M(mtol) (int16_t)(tos32((((BSWAP_16(mtol) & 0xff00) >> 8) | \
47 #define __TO_B(bacc) (int32_t)(tos32((((BSWAP_32(bacc) & \
55 #define __TO_R_EXP(bacc) (int32_t)(tos32(((BSWAP_32(bacc) & 0xf0) >> 4),\
57 #define __TO_B_EXP(bacc) (int32_t)(tos32((BSWAP_32(bacc) & 0xf), 4))