Searched refs:value_width (Results 1 - 3 of 3) sorted by relevance

/linux-master/lib/
H A Dpacking.c83 u64 value_width; local
94 value_width = startbit - endbit + 1;
95 if (value_width > 64)
98 /* Check if "uval" fits in "value_width" bits.
99 * If value_width is 64, the check will fail, but any
102 if (op == PACK && value_width < 64 && (*uval >= (1ull << value_width)))
103 /* Cannot store "uval" inside "value_width" bits.
/linux-master/drivers/comedi/drivers/
H A Dcb_pcidda.c156 const int value_width = 16; /* number of bits wide values are */ local
158 for (i = 1; i <= value_width; i++) {
161 value |= 1 << (value_width - i);
H A Dni_labpc_common.c948 unsigned int value_width)
953 for (i = 1; i <= value_width; i++) {
957 if (value & (1 << (value_width - i)))
976 const int value_width = 8; /* number of bits wide values are */ local
978 for (i = 1; i <= value_width; i++) {
991 value |= 1 << (value_width - i);
947 labpc_serial_out(struct comedi_device *dev, unsigned int value, unsigned int value_width) argument

Completed in 139 milliseconds