Lines Matching refs:active_time
112 static u8 qd6500_compute_timing (ide_hwif_t *hwif, int active_time, int recovery_time) in qd6500_compute_timing() argument
118 act_cyc = 9 - IDE_IN(active_time * clk / 1000 + 1, 2, 9); in qd6500_compute_timing()
121 act_cyc = 8 - IDE_IN(active_time * clk / 1000 + 1, 1, 8); in qd6500_compute_timing()
134 static u8 qd6580_compute_timing (int active_time, int recovery_time) in qd6580_compute_timing() argument
139 act_cyc = 17 - IDE_IN(active_time * clk / 1000 + 1, 2, 17); in qd6580_compute_timing()
152 int *active_time, int *recovery_time) in qd_find_disk_type() argument
167 *active_time = p->active; in qd_find_disk_type()
195 int active_time = 175; in qd6500_set_pio_mode() local
199 if (!qd_find_disk_type(drive, &active_time, &recovery_time) && in qd6500_set_pio_mode()
204 active_time = 110; in qd6500_set_pio_mode()
209 active_time, recovery_time)); in qd6500_set_pio_mode()
217 int active_time = 175; in qd6580_set_pio_mode() local
221 if (drive->id && !qd_find_disk_type(drive, &active_time, &recovery_time)) { in qd6580_set_pio_mode()
228 active_time = 86; in qd6580_set_pio_mode()
235 active_time = 70; in qd6580_set_pio_mode()
242 active_time = 110; in qd6580_set_pio_mode()
245 active_time = t->active; in qd6580_set_pio_mode()
246 recovery_time = cycle_time - active_time; in qd6580_set_pio_mode()
259 qd_set_timing(drive, qd6580_compute_timing(active_time, recovery_time)); in qd6580_set_pio_mode()