Home
last modified time | relevance | path

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

/linux-4.4.14/tools/iio/
Dgeneric_buffer.c73 int8_t val = (int8_t)(input << (8 - info->bits_used)) >> in print1byte()
74 (8 - info->bits_used); in print1byte()
96 int16_t val = (int16_t)(input << (16 - info->bits_used)) >> in print2byte()
97 (16 - info->bits_used); in print2byte()
119 int32_t val = (int32_t)(input << (32 - info->bits_used)) >> in print4byte()
120 (32 - info->bits_used); in print4byte()
142 int64_t val = (int64_t)(input << (64 - info->bits_used)) >> in print8byte()
143 (64 - info->bits_used); in print8byte()
Diio_utils.h47 unsigned bits_used; member
56 int iioutils_get_type(unsigned *is_signed, unsigned *bytes, unsigned *bits_used,
Diio_utils.c88 int iioutils_get_type(unsigned *is_signed, unsigned *bytes, unsigned *bits_used, in iioutils_get_type() argument
149 bits_used, in iioutils_get_type()
165 if (*bits_used == 64) in iioutils_get_type()
168 *mask = (1ULL << *bits_used) - 1; in iioutils_get_type()
500 &current->bits_used, in build_channel_array()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dfile_ops.c1621 unsigned free, pinned, pmapped = 0, bits_used; in exp_tid_setup() local
1657 bits_used = min(free, ngroups); in exp_tid_setup()
1658 tidmap[useidx] |= ((1ULL << bits_used) - 1) << bitidx; in exp_tid_setup()
1674 pinned = min((bits_used * dd->rcv_entries.group_size), in exp_tid_setup()
1698 ~(((1ULL << bits_used) - 1) << bitidx); in exp_tid_setup()
1770 ((bitidx + bits_used) & 0xffffff))); in exp_tid_setup()
/linux-4.4.14/drivers/video/fbdev/
Dsticore.h176 s32 bits_used; /* bits which can be accessed */ member
/linux-4.4.14/drivers/video/console/
Dsticore.c409 sti->sti_data->inq_outptr.bits_used, in sti_dump_outptr()