Searched refs:zbits (Results 1 – 5 of 5) sorted by relevance
118 u8 zbits; /* Resolution encoded as number of member134 static inline u16 DS1621_TEMP_TO_REG(long temp, u8 zbits) in DS1621_TEMP_TO_REG() argument137 temp = DIV_ROUND_CLOSEST(temp * (1 << (8 - zbits)), 1000) << zbits; in DS1621_TEMP_TO_REG()162 data->zbits = 7; in ds1621_init_client()171 data->zbits = 7 - resol; in ds1621_init_client()176 data->zbits = 7; in ds1621_init_client()246 data->temp[attr->index] = DS1621_TEMP_TO_REG(val, data->zbits); in temp_store()300 data->zbits = 7 - resol; in update_interval_store()
277 static u16 tmp401_temp_to_register(long temp, bool extended, int zbits) in tmp401_temp_to_register() argument286 return DIV_ROUND_CLOSEST(temp * (1 << (8 - zbits)), 1000) << zbits; in tmp401_temp_to_register()
89 s->zbits[s->numZ] = (UChar)(s->bsBuff >> 24); in bsFinishWrite()101 s->zbits[s->numZ] \660 s->zbits = (UChar*) (&((UChar*)s->arr2)[s->nblock]); in BZ2_compressBlock()
251 UChar* zbits; member
251 s->zbits = NULL; in BZ_API()398 *(s->strm->next_out) = s->zbits[s->state_out_pos]; in copy_output_until_stop()