Home
last modified time | relevance | path

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

/Linux-v5.10/lib/
Dpacking.c95 u64 value_width; in packing() local
106 value_width = startbit - endbit + 1; in packing()
107 if (value_width > 64) in packing()
114 if (op == PACK && value_width < 64 && (*uval >= (1ull << value_width))) in packing()
/Linux-v5.10/drivers/staging/comedi/drivers/
Dcb_pcidda.c158 const int value_width = 16; /* number of bits wide values are */ in cb_pcidda_serial_in() local
160 for (i = 1; i <= value_width; i++) { in cb_pcidda_serial_in()
163 value |= 1 << (value_width - i); in cb_pcidda_serial_in()
Dni_labpc_common.c944 unsigned int value_width) in labpc_serial_out() argument
949 for (i = 1; i <= value_width; i++) { in labpc_serial_out()
953 if (value & (1 << (value_width - i))) in labpc_serial_out()
972 const int value_width = 8; /* number of bits wide values are */ in labpc_serial_in() local
974 for (i = 1; i <= value_width; i++) { in labpc_serial_in()
987 value |= 1 << (value_width - i); in labpc_serial_in()