'\" t .\" Title: ata_get_xlat_func .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: libata SCSI translation/emulation .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ATA_GET_XLAT_FUNC" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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" ata_get_xlat_func \- check if SCSI to ATA translation is possible .SH "SYNOPSIS" .HP \w'ata_xlat_func_t\ ata_get_xlat_func('u .BI "ata_xlat_func_t ata_get_xlat_func(struct\ ata_device\ *\ " "dev" ", u8\ " "cmd" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 ATA device .RE .PP \fIcmd\fR .RS 4 SCSI command opcode to consider .RE .SH "DESCRIPTION" .PP Look up the SCSI command given, and determine whether the SCSI command is to be translated or simulated\&. .SH "RETURN" .PP Pointer to translation function if possible, \fBNULL\fR if not\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br