Lines Matching refs:active_time
111 static u8 qd6500_compute_timing (ide_hwif_t *hwif, int active_time, int recovery_time) in qd6500_compute_timing() argument
117 act_cyc = 9 - IDE_IN(active_time * clk / 1000 + 1, 2, 9); in qd6500_compute_timing()
120 act_cyc = 8 - IDE_IN(active_time * clk / 1000 + 1, 1, 8); in qd6500_compute_timing()
133 static u8 qd6580_compute_timing (int active_time, int recovery_time) in qd6580_compute_timing() argument
138 act_cyc = 17 - IDE_IN(active_time * clk / 1000 + 1, 2, 17); in qd6580_compute_timing()
151 int *active_time, int *recovery_time) in qd_find_disk_type() argument
166 *active_time = p->active; in qd_find_disk_type()
194 int active_time = 175; in qd6500_set_pio_mode() local
198 if (!qd_find_disk_type(drive, &active_time, &recovery_time) && in qd6500_set_pio_mode()
203 active_time = 110; in qd6500_set_pio_mode()
208 active_time, recovery_time)); in qd6500_set_pio_mode()
216 int active_time = 175; in qd6580_set_pio_mode() local
220 if (drive->id && !qd_find_disk_type(drive, &active_time, &recovery_time)) { in qd6580_set_pio_mode()
227 active_time = 86; in qd6580_set_pio_mode()
234 active_time = 70; in qd6580_set_pio_mode()
241 active_time = 110; in qd6580_set_pio_mode()
244 active_time = t->active; in qd6580_set_pio_mode()
245 recovery_time = cycle_time - active_time; in qd6580_set_pio_mode()
258 qd_set_timing(drive, qd6580_compute_timing(active_time, recovery_time)); in qd6580_set_pio_mode()