'\" t .\" Title: struct nand_hw_control .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: September 2017 .\" Manual: Structures .\" Source: Kernel Hackers Manual 4.12.13 .\" Language: English .\" .TH "STRUCT NAND_HW_CONTR" "9" "September 2017" "Kernel Hackers Manual 4\&.12\&" "Structures" .\" ----------------------------------------------------------------- .\" * 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" struct_nand_hw_control \- Control structure for hardware controller (e\&.g ECC generator) shared among independent devices .SH "SYNOPSIS" .sp .nf struct nand_hw_control { spinlock_t lock; struct nand_chip * active; wait_queue_head_t wq; }; .fi .SH "MEMBERS" .PP spinlock_t lock .RS 4 protection lock .RE .PP struct nand_chip * active .RS 4 the mtd device which holds the controller currently .RE .PP wait_queue_head_t wq .RS 4 wait queue to sleep on if a NAND operation is in progress used instead of the per chip wait queue when a hw controller is available\&. .RE .SH "AUTHOR" .PP \fBThomas Gleixner\fR <\&tglx@linutronix.de\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br