'\" t .\" Title: swap_buf_le16 .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: March 2017 .\" Manual: libata Core Internals .\" Source: Kernel Hackers Manual 4.10.7 .\" Language: English .\" .TH "SWAP_BUF_LE16" "9" "March 2017" "Kernel Hackers Manual 4\&.10\&" "libata Core Internals" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" swap_buf_le16 \- swap halves of 16\-bit words in place .SH "SYNOPSIS" .HP \w'void\ swap_buf_le16('u .BI "void swap_buf_le16(u16\ *\ " "buf" ", unsigned\ int\ " "buf_words" ");" .SH "ARGUMENTS" .PP \fIbuf\fR .RS 4 Buffer to swap .RE .PP \fIbuf_words\fR .RS 4 Number of 16\-bit words in buffer\&. .RE .SH "DESCRIPTION" .PP Swap halves of 16\-bit words if needed to convert from little\-endian byte order to native cpu byte order, or vice\-versa\&. .PP LOCKING: Inherited from caller\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br