ata_xfer_mode2shift (9) - Linux Man Pages

ata_xfer_mode2shift: Find matching xfer_shift for XFER_*

NAME

ata_xfer_mode2shift - Find matching xfer_shift for XFER_*

SYNOPSIS

int ata_xfer_mode2shift(unsigned long xfer_mode);

ARGUMENTS

xfer_mode

XFER_* of interest

DESCRIPTION

Return matching xfer_shift for xfer_mode.

LOCKING: None.

RETURN

Matching xfer_shift, -1 if no match found.

AUTHOR

Jeff Garzik

Author.

COPYRIGHT