Lines Matching refs:recovery_time
112 static u8 qd6500_compute_timing (ide_hwif_t *hwif, int active_time, int recovery_time)
119 rec_cyc = 15 - IDE_IN(recovery_time * clk / 1000 + 1, 0, 15);
122 rec_cyc = 18 - IDE_IN(recovery_time * clk / 1000 + 1, 3, 18);
134 static u8 qd6580_compute_timing (int active_time, int recovery_time)
140 rec_cyc = 15 - IDE_IN(recovery_time * clk / 1000 + 1, 2, 15);
152 int *active_time, int *recovery_time)
168 *recovery_time = p->recovery;
196 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));