Home
last modified time | relevance | path

Searched refs:clock_time (Results 1 – 2 of 2) sorted by relevance

/drivers/ide/
Dcmd640.c516 int setup_time, active_time, recovery_time, clock_time; in cmd640_set_mode() local
533 clock_time = 1000 / bus_speed; in cmd640_set_mode()
534 cycle_count = DIV_ROUND_UP(cycle_time, clock_time); in cmd640_set_mode()
536 setup_count = DIV_ROUND_UP(setup_time, clock_time); in cmd640_set_mode()
538 active_count = DIV_ROUND_UP(active_time, clock_time); in cmd640_set_mode()
542 recovery_count = DIV_ROUND_UP(recovery_time, clock_time); in cmd640_set_mode()
Dcmd64x.c73 int clock_time = 1000 / (ide_pci_clk ? ide_pci_clk : 33); in program_cycle_times() local
82 cycle_count = quantize_timing( cycle_time, clock_time); in program_cycle_times()
83 active_count = quantize_timing(active_time, clock_time); in program_cycle_times()