nand_hw_control Struct Reference

#include <nand.h>

Collaboration diagram for nand_hw_control:

Collaboration graph
[legend]

Data Fields

spinlock_t lock
nand_chipactive
wait_queue_head_t wq
nand_chipactive

Detailed Description

struct nand_hw_control - Control structure for hardware controller (e.g ECC generator) shared among independent devices : protection lock : the mtd device which holds the controller currently : 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

Definition at line 221 of file nand.h.


Field Documentation

spinlock_t nand_hw_control::lock

Definition at line 222 of file nand.h.

Referenced by nand_get_device(), nand_release_device(), and nand_set_defaults().

struct nand_chip* nand_hw_control::active

Definition at line 223 of file nand.h.

Referenced by nand_get_device(), and nand_release_device().

wait_queue_head_t nand_hw_control::wq

Definition at line 224 of file nand.h.

Referenced by nand_get_device(), nand_release_device(), and nand_set_defaults().

struct nand_chip* nand_hw_control::active

Definition at line 270 of file nand.h.


The documentation for this struct was generated from the following files:
Generated on Fri Nov 28 00:08:50 2008 for elphel by  doxygen 1.5.1