Home
last modified time | relevance | path

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

/tools/iio/
Diio_utils.h47 unsigned bits_used; member
63 int iioutils_get_type(unsigned *is_signed, unsigned *bytes, unsigned *bits_used,
Diio_generic_buffer.c84 int8_t val = (int8_t)(input << (8 - info->bits_used)) >> in print1byte()
85 (8 - info->bits_used); in print1byte()
107 int16_t val = (int16_t)(input << (16 - info->bits_used)) >> in print2byte()
108 (16 - info->bits_used); in print2byte()
130 int32_t val = (int32_t)(input << (32 - info->bits_used)) >> in print4byte()
131 (32 - info->bits_used); in print4byte()
153 int64_t val = (int64_t)(input << (64 - info->bits_used)) >> in print8byte()
154 (64 - info->bits_used); in print8byte()
Diio_utils.c88 int iioutils_get_type(unsigned *is_signed, unsigned *bytes, unsigned *bits_used, in iioutils_get_type() argument
145 bits_used, in iioutils_get_type()
161 if (*bits_used == 64) in iioutils_get_type()
164 *mask = (1ULL << *bits_used) - 1; in iioutils_get_type()
503 &current->bits_used, in build_channel_array()