1. NAME

swap_buf_le16 - swap halves of 16-bit words in place

2. SYNOPSIS

void swap_buf_le16(u16 *  buf , unsigned int  buf_words );

3. ARGUMENTS

buf
    Buffer to swap

buf_words
    Number of 16-bit words in buffer.

4. DESCRIPTION

Swap halves of 16-bit words if needed to convert from little-endian byte order to native cpu byte order, or vice-versa.

5. LOCKING

Inherited from caller.

6. AUTHOR

Jeff Garzik
    Author.

7. COPYRIGHT