Lines Matching refs:setup_count
532 u8 setup_count = setup_counts[index]; in program_drive_counts() local
545 if (setup_count < setup_counts[mate]) in program_drive_counts()
546 setup_count = setup_counts[mate]; in program_drive_counts()
557 switch (setup_count) { in program_drive_counts()
558 case 4: setup_count = 0x00; break; in program_drive_counts()
559 case 3: setup_count = 0x80; break; in program_drive_counts()
561 case 2: setup_count = 0x40; break; in program_drive_counts()
562 default: setup_count = 0xc0; /* case 5 */ in program_drive_counts()
574 setup_count |= __get_cmd640_reg(arttim_regs[index]) & 0x3f; in program_drive_counts()
575 __put_cmd640_reg(arttim_regs[index], setup_count); in program_drive_counts()
586 u8 setup_count, active_count, recovery_count, recovery_count2, cycle_count; in cmd640_set_mode() local
597 setup_count = (setup_time + clock_time - 1) / clock_time; in cmd640_set_mode()
604 recovery_count2 = cycle_count - (setup_count + active_count); in cmd640_set_mode()
620 setup_counts[index] = setup_count; in cmd640_set_mode()