'\" t .\" Title: atapi_cmd_type .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: libata Library .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ATAPI_CMD_TYPE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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" atapi_cmd_type \- Determine ATAPI command type from SCSI opcode .SH "SYNOPSIS" .HP \w'int\ atapi_cmd_type('u .BI "int atapi_cmd_type(u8\ " "opcode" ");" .SH "ARGUMENTS" .PP \fIopcode\fR .RS 4 SCSI opcode .RE .SH "DESCRIPTION" .PP Determine ATAPI command type from \fIopcode\fR\&. .PP LOCKING: None\&. .SH "RETURN" .PP ATAPI_{READ|WRITE|READ_CD|PASS_THRU|MISC} .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br