Lines Matching refs:nleft
303 while (s->nleft < s->nbits) { in isdn_audio_get_bits()
307 s->nleft += 8; in isdn_audio_get_bits()
309 s->nleft -= s->nbits; in isdn_audio_get_bits()
310 return (s->word >> s->nleft) & bitmask[s->nbits]; in isdn_audio_get_bits()
318 s->nleft += nbits; in isdn_audio_put_bits()
319 while (s->nleft >= 8) { in isdn_audio_put_bits()
320 int d = (s->word >> (s->nleft - 8)); in isdn_audio_put_bits()
323 s->nleft -= 8; in isdn_audio_put_bits()
336 s->nleft = 0; in isdn_audio_adpcm_init()
399 if (s->nleft) in isdn_audio_2adpcm_flush()
400 isdn_audio_put_bits(0, 8 - s->nleft, s, &out, &olen); in isdn_audio_2adpcm_flush()