ATA_XFER_MODE2MASK

Section: libata Library (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

ata_xfer_mode2mask - Find matching xfer_mask for XFER_*  

SYNOPSIS

unsigned long ata_xfer_mode2mask(u8 xfer_mode);
 

ARGUMENTS

xfer_mode

XFER_* of interest
 

DESCRIPTION

Return matching xfer_mask for xfer_mode.  

LOCKING

None.  

RETURNS

Matching xfer_mask, 0 if no match found.  

AUTHOR

Jeff Garzik

Author.
 

COPYRIGHT