'\" t .\" Title: ata_msleep .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: libata Library .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ATA_MSLEEP" "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" ata_msleep \- ATA EH owner aware msleep .SH "SYNOPSIS" .HP \w'void\ ata_msleep('u .BI "void ata_msleep(struct\ ata_port\ *\ " "ap" ", unsigned\ int\ " "msecs" ");" .SH "ARGUMENTS" .PP \fIap\fR .RS 4 ATA port to attribute the sleep to .RE .PP \fImsecs\fR .RS 4 duration to sleep in milliseconds .RE .SH "DESCRIPTION" .PP Sleeps \fImsecs\fR\&. If the current task is owner of \fIap\fR\*(Aqs EH, the ownership is released before going to sleep and reacquired after the sleep is complete\&. IOW, other ports sharing the \fIap\fR\->host will be allowed to own the EH while this task is sleeping\&. .PP LOCKING: Might sleep\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br