Lines Matching refs:recovery_count
431 u8 active_count, recovery_count;
436 recovery_count = recovery_counts[index];
437 if (active_count > 3 && recovery_count == 1)
438 ++recovery_count;
440 recovery_count += 1; /* cmd640b uses (count + 1)*/
441 printk(", clocks=%d/%d/%d\n", setup_counts[index], active_count, recovery_count);
462 u8 recovery_count = recovery_counts[index];
479 if (recovery_count < recovery_counts[mate])
480 recovery_count = recovery_counts[mate];
506 __put_cmd640_reg(drwtim_regs[index], pack_nibbles(active_count, recovery_count));
518 u8 setup_count, active_count, recovery_count, recovery_count2, cycle_count;
543 recovery_count = DIV_ROUND_UP(recovery_time, clock_time);
545 if (recovery_count2 > recovery_count)
546 recovery_count = recovery_count2;
547 if (recovery_count < 2)
548 recovery_count = 2; /* minimum allowed by cmd640 */
549 if (recovery_count > 17) {
550 active_count += recovery_count - 17;
551 recovery_count = 17;
556 recovery_count -= 1; /* cmd640b uses (count + 1)*/
557 if (recovery_count > 16)
558 recovery_count = 16; /* maximum allowed by cmd640 */
562 recovery_counts[index] = recovery_count;