nand_bch.c | 45 struct nand_bch_control *nbc = chip->ecc.priv; local 49 encode_bch(nbc->bch, buf, chip->ecc.size, code); 53 code[i] ^= nbc->eccmask[i]; 71 struct nand_bch_control *nbc = chip->ecc.priv; local 72 unsigned int *errloc = nbc->errloc; 75 count = decode_bch(nbc->bch, NULL, chip->ecc.size, read_ecc, calc_ecc, 115 struct nand_bch_control *nbc = NULL; local 134 nbc = kzalloc(sizeof(*nbc), GFP_KERNEL); 135 if (!nbc) [all...] |