• Home
  • Raw
  • Download

Lines Matching refs:step

229     int step = limit - grad_os_l;  in decrease_offset_low_ldac()  local
236 if (step > 1) { in decrease_offset_low_ldac()
237 step = (step+1)/2; in decrease_offset_low_ldac()
241 grad_os_l -= step; in decrease_offset_low_ldac()
243 grad_os_l += step; in decrease_offset_low_ldac()
247 grad_os_l += step; in decrease_offset_low_ldac()
252 grad_os_l += step; in decrease_offset_low_ldac()
254 grad_os_l -= step; in decrease_offset_low_ldac()
258 grad_os_l -= step; in decrease_offset_low_ldac()
293 int step = LDAC_MAXGRADOS - grad_os_h; in decrease_offset_high_ldac() local
300 if (step > 1) { in decrease_offset_high_ldac()
301 step = (step+1)/2; in decrease_offset_high_ldac()
305 grad_os_h -= step; in decrease_offset_high_ldac()
307 grad_os_h += step; in decrease_offset_high_ldac()
311 grad_os_h += step; in decrease_offset_high_ldac()
316 grad_os_h += step; in decrease_offset_high_ldac()
318 grad_os_h -= step; in decrease_offset_high_ldac()
322 grad_os_h -= step; in decrease_offset_high_ldac()
357 int step = grad_os_l; in increase_offset_low_ldac() local
363 if (step > 1) { in increase_offset_low_ldac()
364 step = (step+1)/2; in increase_offset_low_ldac()
368 grad_os_l -= step; in increase_offset_low_ldac()
370 grad_os_l += step; in increase_offset_low_ldac()
374 grad_os_l += step; in increase_offset_low_ldac()
379 grad_os_l += step; in increase_offset_low_ldac()
381 grad_os_l -= step; in increase_offset_low_ldac()
385 grad_os_l -= step; in increase_offset_low_ldac()
421 int step = grad_qu_h - grad_qu_l; in increase_qu_low_ldac() local
427 if (step > 1) { in increase_qu_low_ldac()
428 step = (step+1)/2; in increase_qu_low_ldac()
432 grad_qu_l += step; in increase_qu_low_ldac()
434 grad_qu_l -= step; in increase_qu_low_ldac()
438 grad_qu_l -= step; in increase_qu_low_ldac()
443 grad_qu_l -= step; in increase_qu_low_ldac()
445 grad_qu_l += step; in increase_qu_low_ldac()
449 grad_qu_l += step; in increase_qu_low_ldac()
484 int step = grad_qu_h - grad_qu_l; in increase_qu_low_0_ldac() local
490 if (step > 1) { in increase_qu_low_0_ldac()
491 step = step/2; in increase_qu_low_0_ldac()
495 grad_qu_l += step; in increase_qu_low_0_ldac()
497 grad_qu_l -= step; in increase_qu_low_0_ldac()
501 grad_qu_l -= step; in increase_qu_low_0_ldac()
506 grad_qu_l -= step; in increase_qu_low_0_ldac()
508 grad_qu_l += step; in increase_qu_low_0_ldac()
512 grad_qu_l += step; in increase_qu_low_0_ldac()
548 int step = LDAC_MAXNADJQUS>>1; in adjust_remain_bits_ldac() local
633 while (step > 1) { in adjust_remain_bits_ldac()
634 step >>= 1; in adjust_remain_bits_ldac()
637 nadjqus += step; in adjust_remain_bits_ldac()
643 nadjqus -= step; in adjust_remain_bits_ldac()