Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
spear_smi Struct Reference

Data Fields

struct clkclk
 
u32 status
 
unsigned long clk_rate
 
struct mutex lock
 
void __iomemio_base
 
struct platform_devicepdev
 
wait_queue_head_t cmd_complete
 
u32 num_flashes
 
struct spear_snor_flashflash [MAX_NUM_FLASH_CHIP]
 

Detailed Description

struct spear_smi - Structure for SMI Device

: functional clock : current status register of SMI. : functional clock rate of SMI (default: SMI_MAX_CLOCK_FREQ) : lock to prevent parallel access of SMI. : base address for registers of SMI. : platform device : queue to wait for command completion of NOR-flash. : number of flashes actually present on board. : separate structure for each Serial NOR-flash attached to SMI.

Definition at line 169 of file spear_smi.c.

Field Documentation

Definition at line 170 of file spear_smi.c.

unsigned long clk_rate

Definition at line 172 of file spear_smi.c.

wait_queue_head_t cmd_complete

Definition at line 176 of file spear_smi.c.

Definition at line 178 of file spear_smi.c.

void __iomem* io_base

Definition at line 174 of file spear_smi.c.

struct mutex lock

Definition at line 173 of file spear_smi.c.

u32 num_flashes

Definition at line 177 of file spear_smi.c.

Definition at line 175 of file spear_smi.c.

Definition at line 171 of file spear_smi.c.


The documentation for this struct was generated from the following file: