Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dds1621.c118 u8 zbits; /* Resolution encoded as number of member
134 static inline u16 DS1621_TEMP_TO_REG(long temp, u8 zbits) in DS1621_TEMP_TO_REG() argument
137 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()
H A Dtmp401.c277 static u16 tmp401_temp_to_register(long temp, bool extended, int zbits) in tmp401_temp_to_register() argument
286 return DIV_ROUND_CLOSEST(temp * (1 << (8 - zbits)), 1000) << zbits; in tmp401_temp_to_register()
/openbmc/u-boot/lib/bzip2/
H A Dbzlib_compress.c89 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()
H A Dbzlib_private.h251 UChar* zbits; member
H A Dbzlib.c251 s->zbits = NULL; in BZ_API()
398 *(s->strm->next_out) = s->zbits[s->state_out_pos]; in copy_output_until_stop()