Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/misc/altera-stapl/
Daltera-comp.c39 static u32 altera_read_packed(u8 *buffer, u32 bits, u32 *bits_avail, in altera_read_packed() argument
48 result |= (((databyte >> (CHAR_BITS - *bits_avail)) in altera_read_packed()
49 & (0xff >> (CHAR_BITS - *bits_avail))) << shift); in altera_read_packed()
51 if (bits <= *bits_avail) { in altera_read_packed()
53 *bits_avail -= bits; in altera_read_packed()
57 shift += *bits_avail; in altera_read_packed()
58 bits -= *bits_avail; in altera_read_packed()
59 *bits_avail = CHAR_BITS; in altera_read_packed()
71 u32 bits_avail = CHAR_BITS; in altera_shrink() local
85 &bits_avail, in altera_shrink()
[all …]