#include <nand.h>
Data Fields | |
nand_ecc_modes_t | mode |
int | steps |
int | size |
int | bytes |
int | total |
int | prepad |
int | postpad |
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) |
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) |
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) |
Definition at line 248 of file nand.h.
Definition at line 249 of file nand.h.
Referenced by crisv32_nand_flash_probe(), and nand_scan_tail().
Definition at line 250 of file nand.h.
Referenced by nand_read_oob_syndrome(), nand_read_page_hwecc(), nand_read_page_swecc(), nand_read_page_syndrome(), nand_scan_tail(), nand_write_oob_syndrome(), nand_write_page_hwecc(), nand_write_page_swecc(), and nand_write_page_syndrome().
Definition at line 251 of file nand.h.
Referenced by nand_read_oob_syndrome(), nand_read_page_hwecc(), nand_read_page_swecc(), nand_read_page_syndrome(), nand_scan_tail(), nand_write_oob_syndrome(), nand_write_page_hwecc(), nand_write_page_swecc(), and nand_write_page_syndrome().
Definition at line 252 of file nand.h.
Referenced by nand_read_oob_syndrome(), nand_read_page_hwecc(), nand_read_page_swecc(), nand_read_page_syndrome(), nand_scan_tail(), nand_write_oob_syndrome(), nand_write_page_hwecc(), nand_write_page_swecc(), and nand_write_page_syndrome().
Definition at line 253 of file nand.h.
Referenced by nand_read_page_hwecc(), nand_read_page_swecc(), nand_write_page_hwecc(), and nand_write_page_swecc().
Definition at line 254 of file nand.h.
Referenced by nand_read_oob_syndrome(), nand_read_page_syndrome(), nand_write_oob_syndrome(), and nand_write_page_syndrome().
Definition at line 255 of file nand.h.
Referenced by nand_read_oob_syndrome(), nand_read_page_syndrome(), nand_write_oob_syndrome(), and nand_write_page_syndrome().
struct nand_ecclayout* nand_ecc_ctrl::layout |
Definition at line 256 of file nand.h.
Referenced by nand_fill_oob(), nand_read_page_hwecc(), nand_read_page_swecc(), nand_scan_tail(), nand_transfer_oob(), nand_write_page_hwecc(), and nand_write_page_swecc().
void(* nand_ecc_ctrl::hwctl)(struct mtd_info *mtd, int mode) |
int(* nand_ecc_ctrl::calculate)(struct mtd_info *mtd, const uint8_t *dat, uint8_t *ecc_code) |
int(* nand_ecc_ctrl::correct)(struct mtd_info *mtd, uint8_t *dat, uint8_t *read_ecc, uint8_t *calc_ecc) |
Referenced by nand_read_page_hwecc(), nand_read_page_swecc(), nand_read_page_syndrome(), and nand_scan_tail().
int(* nand_ecc_ctrl::read_page_raw)(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf) |
Referenced by nand_do_read_ops(), and nand_scan_tail().
void(* nand_ecc_ctrl::write_page_raw)(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf) |
Referenced by nand_scan_tail(), and nand_write_page().
int(* nand_ecc_ctrl::read_page)(struct mtd_info *mtd, struct nand_chip *chip, uint8_t *buf) |
Referenced by nand_do_read_ops(), and nand_scan_tail().
void(* nand_ecc_ctrl::write_page)(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf) |
Referenced by nand_scan_tail(), and nand_write_page().
int(* nand_ecc_ctrl::read_oob)(struct mtd_info *mtd, struct nand_chip *chip, int page, int sndcmd) |
Referenced by nand_do_read_oob(), and nand_scan_tail().
int(* nand_ecc_ctrl::write_oob)(struct mtd_info *mtd, struct nand_chip *chip, int page) |
Referenced by nand_do_write_oob(), and nand_scan_tail().