nandpsu
Xilinx SDK Drivers API Documentation
XNandPsu Struct Reference

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...
 

Detailed Description

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.

Member Function Documentation

◆ __attribute__()

u8 PartialDataBuf [XNANDPSU_MAX_PAGE_SIZE] XNandPsu::__attribute__ ( (aligned(64))  )

Partial read/write buffer.

Field Documentation

◆ BbPattern

XNandPsu_BadBlockPattern XNandPsu::BbPattern

Bad block pattern to search.

◆ Bbt

u8 XNandPsu::Bbt[XNANDPSU_MAX_BLOCKS >> 2]

Bad block table array.

Referenced by XNandPsu_IsBlockBad(), XNandPsu_MarkBlockBad(), and XNandPsu_ScanBbt().

◆ BbtDesc

XNandPsu_BbtDesc XNandPsu::BbtDesc

Bad block table descriptor.

Referenced by XNandPsu_InitBbtDesc().

◆ BbtMirrorDesc

XNandPsu_BbtDesc XNandPsu::BbtMirrorDesc

Mirror BBT descriptor.

◆ DmaMode

◆ Ecc_Stat_PerPage_flips

u32 XNandPsu::Ecc_Stat_PerPage_flips

Ecc Correctable Error Counter for Current Page.

◆ Ecc_Stats_total_flips

u32 XNandPsu::Ecc_Stats_total_flips

Total Ecc Errors Corrected.

◆ EccCfg

XNandPsu_EccCfg XNandPsu::EccCfg

ECC configuration.

◆ EccMode

◆ Features

XNandPsu_Features XNandPsu::Features

ONFI features.

◆ Geometry

◆ IsReady

◆ Mode

XNandPsu_SWMode XNandPsu::Mode

Driver operating mode.

Referenced by XNandPsu_CfgInitialize().