STRUCT NAND_ECC_CTRL - Online Linux Manual PageSection : 9
Updated : June 2018
Source : Kernel Hackers Manual 2​.6​.
Note : Structures

NAMEstruct_nand_ecc_ctrl − Control structure for ecc

SYNOPSISstruct nand_ecc_ctrl { nand_ecc_modes_t mode; int steps; int size; int bytes; int total; int prepad; int postpad; struct nand_ecclayout * layout; void (* hwctl) (struct mtd_info *mtd, int mode); int (* calculate) (struct mtd_info *mtd,const uint8_t *dat,uint8_t *ecc_code); int (* correct) (struct mtd_info *mtd, uint8_t *dat,uint8_t *read_ecc,uint8_t *calc_ecc); int (* read_page_raw) (struct mtd_info *mtd,struct nand_chip *chip,uint8_t *buf, int page); void (* write_page_raw) (struct mtd_info *mtd,struct nand_chip *chip,const uint8_t *buf); int (* read_page) (struct mtd_info *mtd,struct nand_chip *chip,uint8_t *buf, int page); int (* read_subpage) (struct mtd_info *mtd,struct nand_chip *chip,uint32_t offs, uint32_t len,uint8_t *buf); void (* write_page) (struct mtd_info *mtd,struct nand_chip *chip,const uint8_t *buf); int (* read_oob) (struct mtd_info *mtd,struct nand_chip *chip,int page,int sndcmd); int (* write_oob) (struct mtd_info *mtd,struct nand_chip *chip,int page); };

MEMBERSmode ecc mode steps number of ecc steps per page size data bytes per ecc step bytes ecc bytes per step total total number of ecc bytes per page prepad padding information for syndrome based ecc generators postpad padding information for syndrome based ecc generators layout ECC layout control struct pointer hwctl function to control hardware ecc generator​. Must only be provided if an hardware ECC is available calculate function for ecc calculation or readback from ecc hardware correct function for ecc correction, matching to ecc generator (sw/hw) read_page_raw function to read a raw page without ECC write_page_raw function to write a raw page without ECC read_page function to read a page according to the ecc generator requirements read_subpage function to read parts of the page covered by ECC​. write_page function to write a page according to the ecc generator requirements read_oob function to read chip OOB data write_oob function to write chip OOB data

AUTHORThomas Gleixner <​tglx@linutronix.de​> Author.

COPYRIGHT
0
Johanes Gumabo
Data Size   :   10,860 byte
man-struct_nand_ecc_ctrl.9Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 238,045
Visitor ID   :     :  
Visitor IP   :   3.142.198.108   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.