'\" t
.\"     Title: ata_scsi_start_stop_xlat
.\"    Author: 
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\"      Date: June 2017
.\"    Manual: libata SCSI translation/emulation
.\"    Source: Kernel Hackers Manual 4.9.30
.\"  Language: English
.\"
.TH "ATA_SCSI_START_STOP_" "9" "June 2017" "Kernel Hackers Manual 4\&.9\&." "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_scsi_start_stop_xlat \- Translate SCSI START STOP UNIT command
.SH "SYNOPSIS"
.HP \w'unsigned\ int\ ata_scsi_start_stop_xlat('u
.BI "unsigned int ata_scsi_start_stop_xlat(struct\ ata_queued_cmd\ *\ " "qc" ");"
.SH "ARGUMENTS"
.PP
\fIqc\fR
.RS 4
Storage for translated ATA taskfile
.RE
.SH "DESCRIPTION"
.PP
Sets up an ATA taskfile to issue STANDBY (to stop) or READ VERIFY (to start)\&. Perhaps these commands should be preceded by CHECK POWER MODE to see what power mode the device is already in\&. [See SAT revision 5 at www\&.t10\&.org]
.PP
LOCKING: spin_lock_irqsave(host lock)
.SH "RETURN"
.PP
Zero on success, non\-zero on error\&.
.SH "AUTHOR"
.PP
\fBJeff Garzik\fR
.RS 4
Author.
.RE
.SH "COPYRIGHT"
.br
