uffs_storageAttrSt Struct Reference

uffs device storage attribute, provide by nand specific file More...

#include <uffs_device.h>


Data Fields

u32 block_data_size
 block data size (= page_data_size * pages_per_block)
u32 dev_type
 device type
int id
 chip id, or device id
int maker
 flash maker
u16 page_data_size
 page data size (physical page data size, e.g. 512)
u16 pages_per_block
 pages per block
u16 spare_size
 page spare size (physical page spare size, e.g. 16)
u32 total_blocks
 total blocks in this chip


Detailed Description

uffs device storage attribute, provide by nand specific file

Definition at line 81 of file uffs_device.h.


Field Documentation

u32 uffs_storageAttrSt::block_data_size

block data size (= page_data_size * pages_per_block)

Definition at line 86 of file uffs_device.h.

Referenced by cmdSt(), uffs_GetDeviceFree(), uffs_GetDeviceTotal(), and uffs_GetDeviceUsed().

u32 uffs_storageAttrSt::dev_type

device type

Definition at line 82 of file uffs_device.h.

int uffs_storageAttrSt::id

chip id, or device id

Definition at line 84 of file uffs_device.h.

Referenced by uffs_InitFlashClass().

int uffs_storageAttrSt::maker

flash maker

Definition at line 83 of file uffs_device.h.

Referenced by uffs_InitFlashClass().

u16 uffs_storageAttrSt::page_data_size

page data size (physical page data size, e.g. 512)

Definition at line 87 of file uffs_device.h.

Referenced by uffs_BufInit().

u16 uffs_storageAttrSt::pages_per_block

pages per block

Definition at line 89 of file uffs_device.h.

Referenced by uffs_BufInit(), uffs_ExpireBlockInfo(), uffs_FindBestPageInBlock(), uffs_FindFirstFreePage(), uffs_FindFirstValidPage(), uffs_FindPageInBlockWithPageId(), uffs_GetBlockFileDataLength(), uffs_GetBlockInfo(), uffs_GetFreePagesCount(), uffs_InitBlockInfoCache(), uffs_IsBlockPagesFullUsed(), uffs_IsDataBlockReguFull(), uffs_LoadBlockInfo(), uffs_RecoverBadBlock(), and uffs_TruncateObject().

u16 uffs_storageAttrSt::spare_size

page spare size (physical page spare size, e.g. 16)

Definition at line 88 of file uffs_device.h.

u32 uffs_storageAttrSt::total_blocks

total blocks in this chip

Definition at line 85 of file uffs_device.h.

Referenced by cmdSt(), and uffs_initMountTable().


The documentation for this struct was generated from the following file:
Generated on Sat Mar 17 15:45:45 2007 for uffs-doc by  doxygen 1.5.0