'\" t .\" Title: z8530_shutdown .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: March 2017 .\" Manual: Public Functions Provided .\" Source: Kernel Hackers Manual 4.10.7 .\" Language: English .\" .TH "Z8530_SHUTDOWN" "9" "March 2017" "Kernel Hackers Manual 4\&.10\&" "Public Functions Provided" .\" ----------------------------------------------------------------- .\" * 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" z8530_shutdown \- Shutdown a Z8530 device .SH "SYNOPSIS" .HP \w'int\ z8530_shutdown('u .BI "int z8530_shutdown(struct\ z8530_dev\ *\ " "dev" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 The Z8530 chip to shutdown .RE .SH "DESCRIPTION" .PP We set the interrupt handlers to silence any interrupts\&. We then reset the chip and wait 100uS to be sure the reset completed\&. Just in case the caller then tries to do stuff\&. .PP This is called without the lock held .SH "AUTHOR" .PP \fBAlan Cox\fR <\&alan@lxorguk.ukuu.org.uk\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br