![]() |
nandpsu
Xilinx SDK Drivers API Documentation
|
The XNandPsu structure contains the driver instance data. More...
Public Member Functions | |
| u8 PartialDataBuf [XNANDPSU_MAX_PAGE_SIZE] | __attribute__ ((aligned(64))) |
| Partial read/write buffer. More... | |
Data Fields | |
| u32 | IsReady |
| Device is initialized and ready. More... | |
| u32 | Ecc_Stat_PerPage_flips |
| Ecc Correctable Error Counter for Current Page. More... | |
| u32 | Ecc_Stats_total_flips |
| Total Ecc Errors Corrected. More... | |
| XNandPsu_SWMode | Mode |
| Driver operating mode. More... | |
| XNandPsu_DmaMode | DmaMode |
| MDMA mode enabled/disabled. More... | |
| XNandPsu_EccMode | EccMode |
| ECC Mode. More... | |
| XNandPsu_EccCfg | EccCfg |
| ECC configuration. More... | |
| XNandPsu_Geometry | Geometry |
| Flash geometry. More... | |
| XNandPsu_Features | Features |
| ONFI features. More... | |
| XNandPsu_BbtDesc | BbtDesc |
| Bad block table descriptor. More... | |
| XNandPsu_BbtDesc | BbtMirrorDesc |
| Mirror BBT descriptor. More... | |
| XNandPsu_BadBlockPattern | BbPattern |
| Bad block pattern to search. More... | |
| u8 | Bbt [XNANDPSU_MAX_BLOCKS >> 2] |
| Bad block table array. More... | |
The XNandPsu structure contains the driver instance data.
The user is required to allocate a variable of this type for the NAND controller. A pointer to a variable of this type is then passed to the driver API functions.
| u8 PartialDataBuf [XNANDPSU_MAX_PAGE_SIZE] XNandPsu::__attribute__ | ( | (aligned(64)) | ) |
Partial read/write buffer.
| XNandPsu_BadBlockPattern XNandPsu::BbPattern |
Bad block pattern to search.
| u8 XNandPsu::Bbt[XNANDPSU_MAX_BLOCKS >> 2] |
Bad block table array.
Referenced by XNandPsu_IsBlockBad(), XNandPsu_MarkBlockBad(), and XNandPsu_ScanBbt().
| XNandPsu_BbtDesc XNandPsu::BbtDesc |
Bad block table descriptor.
Referenced by XNandPsu_InitBbtDesc().
| XNandPsu_BbtDesc XNandPsu::BbtMirrorDesc |
Mirror BBT descriptor.
| XNandPsu_DmaMode XNandPsu::DmaMode |
MDMA mode enabled/disabled.
Referenced by XNandPsu_CfgInitialize(), XNandPsu_DisableDmaMode(), XNandPsu_EnableDmaMode(), and XNandPsu_ReadSpareBytes().
| u32 XNandPsu::Ecc_Stat_PerPage_flips |
Ecc Correctable Error Counter for Current Page.
| u32 XNandPsu::Ecc_Stats_total_flips |
Total Ecc Errors Corrected.
| XNandPsu_EccCfg XNandPsu::EccCfg |
ECC configuration.
| XNandPsu_EccMode XNandPsu::EccMode |
ECC Mode.
Referenced by XNandPsu_DisableEccMode(), XNandPsu_EnableEccMode(), XNandPsu_InitBbtDesc(), XNandPsu_Prepare_Cmd(), and XNandPsu_WriteSpareBytes().
| XNandPsu_Features XNandPsu::Features |
ONFI features.
| XNandPsu_Geometry XNandPsu::Geometry |
Flash geometry.
Referenced by XNandPsu_Erase(), XNandPsu_EraseBlock(), XNandPsu_MarkBlockBad(), XNandPsu_Read(), XNandPsu_ReadSpareBytes(), XNandPsu_ScanBbt(), XNandPsu_Write(), and XNandPsu_WriteSpareBytes().
| u32 XNandPsu::IsReady |
Device is initialized and ready.
Referenced by XNandPsu_CfgInitialize(), XNandPsu_ChangeTimingMode(), XNandPsu_DisableDmaMode(), XNandPsu_DisableEccMode(), XNandPsu_EnableDmaMode(), XNandPsu_EnableEccMode(), XNandPsu_Erase(), XNandPsu_EraseBlock(), XNandPsu_InitBbtDesc(), XNandPsu_IsBlockBad(), XNandPsu_MarkBlockBad(), XNandPsu_Read(), XNandPsu_ReadSpareBytes(), XNandPsu_ScanBbt(), XNandPsu_Write(), and XNandPsu_WriteSpareBytes().
| XNandPsu_SWMode XNandPsu::Mode |
Driver operating mode.
Referenced by XNandPsu_CfgInitialize().