Searched refs:HS3001_FIXPOINT_ARITH (Results 1 – 1 of 1) sorted by relevance
34 #define HS3001_FIXPOINT_ARITH 1000U macro54 u32 temp = (raw >> 2) * HS3001_FIXPOINT_ARITH * 165; in hs3001_extract_temperature()58 return (int)temp - 40 * HS3001_FIXPOINT_ARITH; in hs3001_extract_temperature()63 u32 hum = (raw & HS3001_MASK_HUMIDITY_0X3FFF) * HS3001_FIXPOINT_ARITH * 100; in hs3001_extract_humidity()