Searched refs:errloc (Results 1 – 7 of 7) sorted by relevance
/external/fec/ |
D | rstest.c | 74 int errval,errloc; in exercise_8() local 102 errloc = random() % nn; in exercise_8() 103 } while(errlocs[errloc] != 0); /* Must not choose the same location twice */ in exercise_8() 105 errlocs[errloc] = 1; in exercise_8() 109 derrlocs[erasures++] = errloc; in exercise_8() 111 tblock[errloc] ^= errval; in exercise_8() 146 int errval,errloc; in exercise_char() local 182 errloc = random() % nn; in exercise_char() 183 } while(errlocs[errloc] != 0); /* Must not choose the same location twice */ in exercise_char() 185 errlocs[errloc] = 1; in exercise_char() [all …]
|
D | exercise.c | 51 int errval,errloc; in EXERCISE() local 80 errloc = random() % NN; in EXERCISE() 81 } while(errlocs[errloc] != 0); /* Must not choose the same location twice */ in EXERCISE() 83 errlocs[errloc] = 1; in EXERCISE() 87 derrlocs[erasures++] = errloc; in EXERCISE() 89 tblock[errloc] ^= errval; in EXERCISE()
|
/external/u-boot/drivers/mtd/nand/ |
D | nand_bch.c | 31 unsigned int *errloc; member 72 unsigned int *errloc = nbc->errloc; in nand_bch_correct_data() local 76 NULL, errloc); in nand_bch_correct_data() 79 if (errloc[i] < (chip->ecc.size*8)) in nand_bch_correct_data() 81 buf[errloc[i] >> 3] ^= (1 << (errloc[i] & 7)); in nand_bch_correct_data() 85 __func__, errloc[i]); in nand_bch_correct_data() 192 nbc->errloc = kmalloc(t*sizeof(*nbc->errloc), GFP_KERNEL); in nand_bch_init() 193 if (!nbc->eccmask || !nbc->errloc) in nand_bch_init() 227 kfree(nbc->errloc); in nand_bch_free()
|
D | omap_gpmc.c | 654 unsigned int errloc[8]; in omap_correct_data_bch_sw() local 659 read_ecc, calc_ecc, NULL, errloc); in omap_correct_data_bch_sw() 664 if (errloc[i] < SECTOR_BYTES << 3) in omap_correct_data_bch_sw() 665 data[errloc[i] >> 3] ^= 1 << (errloc[i] & 7); in omap_correct_data_bch_sw() 666 debug("corrected bitflip %u\n", errloc[i]); in omap_correct_data_bch_sw()
|
/external/u-boot/board/ge/common/ |
D | vpd_reader.c | 64 unsigned int *errloc = (unsigned int *)calloc(data_length, in verify_bch() local 67 errloc); in verify_bch() 71 free(errloc); in verify_bch() 77 if (errloc[n] >= 8 * data_length) { in verify_bch() 84 data[errloc[n] / 8] ^= 1 << (errloc[n] % 8); in verify_bch() 89 free(errloc); in verify_bch()
|
/external/u-boot/lib/ |
D | bch.c | 1027 const unsigned int *syn, unsigned int *errloc) in decode_bch() argument 1067 nroots = find_poly_roots(bch, 1, bch->elp, errloc); in decode_bch() 1075 if (errloc[i] >= nbits) { in decode_bch() 1079 errloc[i] = nbits-1-errloc[i]; in decode_bch() 1080 errloc[i] = (errloc[i] & ~7)|(7-(errloc[i] & 7)); in decode_bch()
|
/external/u-boot/include/linux/ |
D | bch.h | 65 const unsigned int *syn, unsigned int *errloc);
|