Lines Matching refs:nbits_avail
228 int nbits_avail = p_ab->nbits_avail; in decrease_offset_low_ldac() local
232 if (*p_nbits_spec > nbits_avail) { in decrease_offset_low_ldac()
240 if (*p_nbits_spec < nbits_avail) { in decrease_offset_low_ldac()
251 else if (*p_nbits_spec > nbits_avail) { in decrease_offset_low_ldac()
272 while ((*p_nbits_spec > nbits_avail) && (grad_os_l < limit)) { in decrease_offset_low_ldac()
292 int nbits_avail = p_ab->nbits_avail; in decrease_offset_high_ldac() local
296 if (*p_nbits_spec > nbits_avail) { in decrease_offset_high_ldac()
304 if (*p_nbits_spec < nbits_avail) { in decrease_offset_high_ldac()
315 else if (*p_nbits_spec > nbits_avail) { in decrease_offset_high_ldac()
336 while ((*p_nbits_spec > nbits_avail) && (grad_os_h < LDAC_MAXGRADOS)) { in decrease_offset_high_ldac()
356 int nbits_avail = p_ab->nbits_avail; in increase_offset_low_ldac() local
367 if (*p_nbits_spec < nbits_avail) { in increase_offset_low_ldac()
378 else if (*p_nbits_spec > nbits_avail) { in increase_offset_low_ldac()
399 while ((*p_nbits_spec > nbits_avail) && (grad_os_l < LDAC_MAXGRADOS)) { in increase_offset_low_ldac()
420 int nbits_avail = p_ab->nbits_avail; in increase_qu_low_ldac() local
431 if (*p_nbits_spec < nbits_avail) { in increase_qu_low_ldac()
442 else if (*p_nbits_spec > nbits_avail) { in increase_qu_low_ldac()
463 while ((*p_nbits_spec > nbits_avail) && (grad_qu_l <= LDAC_DEFGRADQUH)) { in increase_qu_low_ldac()
483 int nbits_avail = p_ab->nbits_avail; in increase_qu_low_0_ldac() local
494 if (*p_nbits_spec < nbits_avail) { in increase_qu_low_0_ldac()
505 else if (*p_nbits_spec > nbits_avail) { in increase_qu_low_0_ldac()
526 while ((*p_nbits_spec > nbits_avail) && (grad_qu_l > 0)) { in increase_qu_low_0_ldac()
546 int nbits_avail = p_ab->nbits_avail; in adjust_remain_bits_ldac() local
636 if (nbits_spec < nbits_avail) { in adjust_remain_bits_ldac()
642 else if (nbits_spec > nbits_avail) { in adjust_remain_bits_ldac()
655 if (nbits_spec > nbits_avail) { in adjust_remain_bits_ldac()
675 int nbits_avail, nbits_side = 0, nbits_spec = 0; in alloc_bits_ldac() local
679 p_ab->nbits_avail = nbits_avail = nbits_ab - nbits_side; in alloc_bits_ldac()
683 if (nbits_spec > nbits_avail) { in alloc_bits_ldac()
695 while ((nbits_spec > nbits_avail) && (p_ab->nbands > LDAC_BAND_OFFSET)) { in alloc_bits_ldac()
700 p_ab->nbits_avail = nbits_avail = nbits_ab - nbits_side; in alloc_bits_ldac()
706 if (nbits_spec < nbits_avail) { in alloc_bits_ldac()
722 if (nbits_spec > nbits_avail) { in alloc_bits_ldac()