Searched refs:bacc (Results 1 – 3 of 3) sorted by relevance
53 # define __TO_B(bacc) (int32_t)(tos32((((bacc & 0xff000000) >> 24) | ((bacc & 0xc00000) >> 14… argument54 # define __TO_ACC(bacc) (uint32_t)(((bacc & 0x3f0000) >> 16) | ((bacc & 0xf000) >> 6)) argument55 # define __TO_ACC_EXP(bacc) (uint32_t)((bacc & 0xc00) >> 10) argument56 # define __TO_R_EXP(bacc) (int32_t)(tos32(((bacc & 0xf0) >> 4), 4)) argument57 # define __TO_B_EXP(bacc) (int32_t)(tos32((bacc & 0xf), 4)) argument61 # define __TO_B(bacc) (int32_t)(tos32((((BSWAP_32(bacc) & 0xff000000) >> 24) | \ argument62 ((BSWAP_32(bacc) & 0xc00000) >> 14)), 10))63 # define __TO_ACC(bacc) (uint32_t)(((BSWAP_32(bacc) & 0x3f0000) >> 16) | ((BSWAP_32(bacc) & 0xf… argument64 # define __TO_ACC_EXP(bacc) (uint32_t)((BSWAP_32(bacc) & 0xc00) >> 10) argument65 # define __TO_R_EXP(bacc) (int32_t)(tos32(((BSWAP_32(bacc) & 0xf0) >> 4), 4)) argument[all …]
98 memcpy(&sensor->bacc, &rsp->data[3], sizeof(sensor->bacc)); in ipmi_sensor_get_sensor_reading_factors()
191 b = __TO_B(sensor->bacc); in sdr_convert_sensor_reading()192 k1 = __TO_B_EXP(sensor->bacc); in sdr_convert_sensor_reading()193 k2 = __TO_R_EXP(sensor->bacc); in sdr_convert_sensor_reading()274 k2 = __TO_R_EXP(sensor->bacc); in sdr_convert_sensor_hysterisis()348 k2 = __TO_R_EXP(sensor->bacc); in sdr_convert_sensor_tolerance()427 b = __TO_B(sensor->bacc); in sdr_convert_sensor_value_to_raw()428 k1 = __TO_B_EXP(sensor->bacc); in sdr_convert_sensor_value_to_raw()429 k2 = __TO_R_EXP(sensor->bacc); in sdr_convert_sensor_value_to_raw()