Lines Matching refs:setup_count
462 u8 setup_count = setup_counts[index]; in program_drive_counts() local
477 if (setup_count < setup_counts[mate]) in program_drive_counts()
478 setup_count = setup_counts[mate]; in program_drive_counts()
489 switch (setup_count) { in program_drive_counts()
490 case 4: setup_count = 0x00; break; in program_drive_counts()
491 case 3: setup_count = 0x80; break; in program_drive_counts()
493 case 2: setup_count = 0x40; break; in program_drive_counts()
494 default: setup_count = 0xc0; /* case 5 */ in program_drive_counts()
506 setup_count |= __get_cmd640_reg(arttim_regs[index]) & 0x3f; in program_drive_counts()
507 __put_cmd640_reg(arttim_regs[index], setup_count); in program_drive_counts()
520 u8 setup_count, active_count, recovery_count, recovery_count2, cycle_count; in cmd640_set_mode() local
539 setup_count = DIV_ROUND_UP(setup_time, clock_time); in cmd640_set_mode()
546 recovery_count2 = cycle_count - (setup_count + active_count); in cmd640_set_mode()
562 setup_counts[index] = setup_count; in cmd640_set_mode()