dataflash_bdev Struct Reference
[Internal Documentation]

DataFlash specific block device. More...

Collaboration diagram for dataflash_bdev:
Collaboration graph
[legend]

Data Fields

struct block_device bdev
 Base block device.
struct at45_device at45d
 AT45 device.
struct workqueue_taskevent_task
 Workqueue task to run on events.
struct mem_pool req_pool
 Memory pool used to allocate memory for dataflash_breq.
struct workqueue_task task
 Workqueue task for underlying driver use.
int8_t page_block_shift
struct slist current_buf_list
 Current buffer list beeing transfered.
int transfer_pos
 Current transfer byte position.

Detailed Description

DataFlash specific block device.

Definition at line 126 of file dataflash.c.


Field Documentation

AT45 device.

Definition at line 130 of file dataflash.c.

Referenced by dataflash_detect(), and dataflash_submit().

Base block device.

Definition at line 128 of file dataflash.c.

Referenced by dataflash_detect().

Current buffer list beeing transfered.

Definition at line 145 of file dataflash.c.

Workqueue task to run on events.

Definition at line 132 of file dataflash.c.

Referenced by dataflash_detect().

Indicates the shfit between page size and block size. = 0 means equal < 0 means page size is smaller than block size > 0 means page size if larger than block size

Definition at line 143 of file dataflash.c.

Referenced by dataflash_get_page_block_shift(), and dataflash_store_page_size().

Memory pool used to allocate memory for dataflash_breq.

Definition at line 134 of file dataflash.c.

Referenced by dataflash_alloc_req(), and dataflash_free_req().

Workqueue task for underlying driver use.

Definition at line 136 of file dataflash.c.

Current transfer byte position.

Definition at line 147 of file dataflash.c.


The documentation for this struct was generated from the following file:
Generated on Thu Apr 29 14:10:36 2010 for xplain-bc by  doxygen 1.6.3