'\" t .\" Title: atapi_xlat .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: libata SCSI translation/emulation .\" Source: Kernel Hackers Manual 4.12.2 .\" Language: English .\" .TH "ATAPI_XLAT" "9" "July 2017" "Kernel Hackers Manual 4\&.12\&" "libata SCSI translation/emulat" .\" ----------------------------------------------------------------- .\" * 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_xlat \- Initialize PACKET taskfile .SH "SYNOPSIS" .HP \w'unsigned\ int\ atapi_xlat('u .BI "unsigned int atapi_xlat(struct\ ata_queued_cmd\ *\ " "qc" ");" .SH "ARGUMENTS" .PP \fIstruct ata_queued_cmd * qc\fR .RS 4 command structure to be initialized .RE .SH "DESCRIPTION" .PP LOCKING: spin_lock_irqsave(host lock) .SH "RETURN" .PP Zero on success, non\-zero on failure\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br