Searched refs:bits_avail (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/misc/altera-stapl/ |
H A D | altera-comp.c | 53 static u32 altera_read_packed(u8 *buffer, u32 bits, u32 *bits_avail, altera_read_packed() argument 62 result |= (((databyte >> (CHAR_BITS - *bits_avail)) altera_read_packed() 63 & (0xff >> (CHAR_BITS - *bits_avail))) << shift); altera_read_packed() 65 if (bits <= *bits_avail) { altera_read_packed() 67 *bits_avail -= bits; altera_read_packed() 71 shift += *bits_avail; altera_read_packed() 72 bits -= *bits_avail; altera_read_packed() 73 *bits_avail = CHAR_BITS; altera_read_packed() 85 u32 bits_avail = CHAR_BITS; altera_shrink() local 99 &bits_avail, altera_shrink() 111 if (altera_read_packed(in, 1, &bits_avail, altera_shrink() 117 &bits_avail, altera_shrink() 127 &bits_avail, altera_shrink() 130 &bits_avail, altera_shrink()
|
Completed in 101 milliseconds