Searched refs:clock_time (Results 1 – 2 of 2) sorted by relevance
585 int setup_time, active_time, recovery_time, clock_time; in cmd640_set_mode() local594 clock_time = 1000 / bus_speed; in cmd640_set_mode()595 cycle_count = (cycle_time + clock_time - 1) / clock_time; in cmd640_set_mode()597 setup_count = (setup_time + clock_time - 1) / clock_time; in cmd640_set_mode()599 active_count = (active_time + clock_time - 1) / clock_time; in cmd640_set_mode()603 recovery_count = (recovery_time + clock_time - 1) / clock_time; in cmd640_set_mode()
253 int clock_time, pio_mode, cycle_time; in cmd64x_tuneproc() local283 clock_time = 1000 / bus_speed; in cmd64x_tuneproc()284 cycle_count = (cycle_time + clock_time - 1) / clock_time; in cmd64x_tuneproc()286 setup_count = (setup_time + clock_time - 1) / clock_time; in cmd64x_tuneproc()288 active_count = (active_time + clock_time - 1) / clock_time; in cmd64x_tuneproc()290 recovery_count = (recovery_time + clock_time - 1) / clock_time; in cmd64x_tuneproc()