Lines Matching defs:recovery_time
111 static u8 qd6500_compute_timing (ide_hwif_t *hwif, int active_time, int recovery_time)
118 rec_cyc = 15 - IDE_IN(recovery_time * clk / 1000 + 1, 0, 15);
121 rec_cyc = 18 - IDE_IN(recovery_time * clk / 1000 + 1, 3, 18);
133 static u8 qd6580_compute_timing (int active_time, int recovery_time)
139 rec_cyc = 15 - IDE_IN(recovery_time * clk / 1000 + 1, 2, 15);
151 int *active_time, int *recovery_time)
167 *recovery_time = p->recovery;
195 int recovery_time = 415; /* worst case values from the dos driver */
198 if (!qd_find_disk_type(drive, &active_time, &recovery_time) &&
204 recovery_time = drive->id[ATA_ID_EIDE_PIO] - 120;
208 active_time, recovery_time));
217 int recovery_time = 415; /* worst case values from the dos driver */
220 if (drive->id && !qd_find_disk_type(drive, &active_time, &recovery_time)) {
228 recovery_time = cycle_time - 102;
235 recovery_time = cycle_time - 61;
242 recovery_time = cycle_time - 120;
245 recovery_time = cycle_time - active_time;
258 qd_set_timing(drive, qd6580_compute_timing(active_time, recovery_time));