Query: ata_timing_cycle2mode
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATA_TIMING_CYCLE2MOD(9) libata Library ATA_TIMING_CYCLE2MOD(9)NAMEata_timing_cycle2mode - find xfer mode for the specified cycle durationSYNOPSISu8 ata_timing_cycle2mode(unsigned int xfer_shift, int cycle);ARGUMENTSxfer_shift ATA_SHIFT_* value for transfer type to examine. cycle cycle duration in nsDESCRIPTIONReturn matching xfer mode for cycle. The returned mode is of the transfer type specified by xfer_shift. If cycle is too slow for xfer_shift, 0xff is returned. If cycle is faster than the fastest known mode, the fasted mode is returned.LOCKINGNone.RETURNSMatching xfer_mode, 0xff if no match found.AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 ATA_TIMING_CYCLE2MOD(9)