'\" t
.\" Title: ata_mode_string
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.79.1
.\" Date: July 2017
.\" Manual: libata Library
.\" Source: Kernel Hackers Manual 4.11.11
.\" Language: English
.\"
.TH "ATA_MODE_STRING" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "libata Library"
.\" -----------------------------------------------------------------
.\" * 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"
ata_mode_string \- convert xfer_mask to string
.SH "SYNOPSIS"
.HP \w'const\ char\ *\ ata_mode_string('u
.BI "const char * ata_mode_string(unsigned\ long\ " "xfer_mask" ");"
.SH "ARGUMENTS"
.PP
\fIunsigned long xfer_mask\fR
.RS 4
mask of bits supported; only highest bit counts\&.
.RE
.SH "DESCRIPTION"
.PP
Determine string which represents the highest speed (highest bit in
\fImodemask\fR)\&.
.PP
LOCKING: None\&.
.SH "RETURN"
.PP
Constant C string representing highest speed listed in
\fImode_mask\fR, or the constant C string
\(lq\(rq\&.
.SH "AUTHOR"
.PP
\fBJeff Garzik\fR
.RS 4
Author.
.RE
.SH "COPYRIGHT"
.br