Lines Matching defs:nand_ecc_ctrl
613 struct nand_ecc_ctrl { struct
614 nand_ecc_modes_t mode;
615 enum nand_ecc_algo algo;
616 int steps;
617 int size;
618 int bytes;
619 int total;
620 int strength;
621 int prepad;
622 int postpad;
623 unsigned int options;
624 struct nand_ecclayout *layout;
625 void *priv;
626 void (*hwctl)(struct mtd_info *mtd, int mode);
627 int (*calculate)(struct mtd_info *mtd, const uint8_t *dat,
629 int (*correct)(struct mtd_info *mtd, uint8_t *dat, uint8_t *read_ecc,
653 static inline int nand_standard_page_accessors(struct nand_ecc_ctrl *ecc) in nand_standard_page_accessors() argument