Scroll to navigation

ATA_XFER_MODE2MASK(9) libata Library ATA_XFER_MODE2MASK(9)

NAME

ata_xfer_mode2mask - Find matching xfer_mask for XFER_*

SYNOPSIS

unsigned long ata_xfer_mode2mask(u8 xfer_mode);

ARGUMENTS

u8 xfer_mode

XFER_* of interest

DESCRIPTION

Return matching xfer_mask for xfer_mode.

LOCKING: None.

RETURN

Matching xfer_mask, 0 if no match found.

AUTHOR

Jeff Garzik

Author.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11