'\" t .\" Title: parport_set_timeout .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Parallel Port Devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "PARPORT_SET_TIMEOUT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Parallel Port Devices" .\" ----------------------------------------------------------------- .\" * 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" parport_set_timeout \- set the inactivity timeout for a device .SH "SYNOPSIS" .HP \w'long\ parport_set_timeout('u .BI "long parport_set_timeout(struct\ pardevice\ *\ " "dev" ", long\ " "inactivity" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 device on a port .RE .PP \fIinactivity\fR .RS 4 inactivity timeout (in jiffies) .RE .SH "DESCRIPTION" .PP This sets the inactivity timeout for a particular device on a port\&. This affects functions like \fBparport_wait_peripheral\fR\&. The special value 0 means not to call \fBschedule\fR while dealing with this device\&. .PP The return value is the previous inactivity timeout\&. .PP Any callers of \fBparport_wait_event\fR for this device are woken up\&. .SH "COPYRIGHT" .br