Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/ide/legacy/
Dht6560b.c216 int active_cycles, recovery_cycles; in ht_pio2timings() local
236 recovery_cycles = (recovery_time * bus_speed + 999) / 1000; in ht_pio2timings()
241 if (recovery_cycles < 2) recovery_cycles = 2; in ht_pio2timings()
243 if (recovery_cycles > 15) recovery_cycles = 0; /* 0==16 */ in ht_pio2timings()
246 …ing pio=%d recovery=%d (%dns) active=%d (%dns)\n", drive->name, pio, recovery_cycles, recovery_tim… in ht_pio2timings()
249 return (u8)((recovery_cycles << 4) | active_cycles); in ht_pio2timings()