ATA_UNPACK_XFERMASK

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

NAME

ata_unpack_xfermask - Unpack xfer_mask into pio, mwdma and udma masks  

SYNOPSIS

void ata_unpack_xfermask(unsigned long xfer_mask, unsigned long * pio_mask, unsigned long * mwdma_mask, unsigned long * udma_mask);
 

ARGUMENTS

xfer_mask

xfer_mask to unpack

pio_mask

resulting pio_mask

mwdma_mask

resulting mwdma_mask

udma_mask

resulting udma_mask
 

DESCRIPTION

Unpack xfer_mask into pio_mask, mwdma_mask and udma_mask. Any NULL distination masks will be ignored.  

AUTHOR

Jeff Garzik

Author.
 

COPYRIGHT