Home
last modified time | relevance | path

Searched refs:read_ecc (Results 1 – 9 of 9) sorted by relevance

/linux-2.4.37.9/drivers/mtd/nand/
Dnand_ecc.c122 int nand_correct_data (u_char *dat, u_char *read_ecc, u_char *calc_ecc) in nand_correct_data() argument
127 d1 = calc_ecc[0] ^ read_ecc[0]; in nand_correct_data()
128 d2 = calc_ecc[1] ^ read_ecc[1]; in nand_correct_data()
129 d3 = calc_ecc[2] ^ read_ecc[2]; in nand_correct_data()
192 read_ecc[0] = calc_ecc[0]; in nand_correct_data()
193 read_ecc[1] = calc_ecc[1]; in nand_correct_data()
194 read_ecc[2] = calc_ecc[2]; in nand_correct_data()
Dnand.c1380 mtd->read_ecc = nand_read_ecc; in nand_scan()
/linux-2.4.37.9/include/linux/mtd/
Dnand_ecc.h28 int nand_correct_data (u_char *dat, u_char *read_ecc, u_char *calc_ecc);
Dnand.h168 int (*correct_data)(u_char *dat, u_char *read_ecc, u_char *calc_ecc);
Dmtd.h179 …int (*read_ecc) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf, u_cha… member
274 #define MTD_READECC(mtd, args...) (*(mtd->read_ecc))(mtd, args)
/linux-2.4.37.9/drivers/mtd/
Dmtdpart.c88 return part->master->read_ecc (part->master, from + part->offset, in part_read_ecc()
334 if (master->read_ecc) in add_mtd_partitions()
335 slave->mtd.read_ecc = part_read_ecc; in add_mtd_partitions()
Dmtdchar.c504 if (!mtd->read_ecc) in mtd_ioctl()
516 ret = (mtd->read_ecc)(mtd, buf.start, buf.length, &retlen, databuf, NULL, 0); in mtd_ioctl()
/linux-2.4.37.9/drivers/mtd/devices/
Ddoc2001.c375 mtd->read_ecc = doc_read_ecc; in DoCMil_init()
Ddoc2000.c566 mtd->read_ecc = doc_read_ecc; in DoC2k_init()