Searched refs:read_ecc (Results 1 – 9 of 9) sorted by relevance
/linux-2.4.37.9/drivers/mtd/nand/ |
D | nand_ecc.c | 122 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()
|
D | nand.c | 1380 mtd->read_ecc = nand_read_ecc; in nand_scan()
|
/linux-2.4.37.9/include/linux/mtd/ |
D | nand_ecc.h | 28 int nand_correct_data (u_char *dat, u_char *read_ecc, u_char *calc_ecc);
|
D | nand.h | 168 int (*correct_data)(u_char *dat, u_char *read_ecc, u_char *calc_ecc);
|
D | mtd.h | 179 …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/ |
D | mtdpart.c | 88 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()
|
D | mtdchar.c | 504 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/ |
D | doc2001.c | 375 mtd->read_ecc = doc_read_ecc; in DoCMil_init()
|
D | doc2000.c | 566 mtd->read_ecc = doc_read_ecc; in DoC2k_init()
|