Home
last modified time | relevance | path

Searched refs:ecc_bits (Results 1 – 7 of 7) sorted by relevance

/external/u-boot/tools/
Datmel_pmecc_params.c30 unsigned int ecc_bits = CONFIG_PMECC_CAP; in main() local
39 pmecc_get_ecc_bytes(ecc_bits, sector_size) * sector_per_page; in main()
45 printf("eccBits=%d,", ecc_bits); in main()
Datmelimage.c33 int ecc_bits; member
82 pmecc.ecc_bits = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token()
267 switch (pmecc.ecc_bits) { in atmel_vrec_header()
286 pmecc.ecc_bits); in atmel_vrec_header()
/external/u-boot/board/ge/common/
Dvpd_reader.c46 static int verify_bch(int ecc_bits, unsigned int prim_poly, u8 *data, in verify_bch() argument
54 struct bch_control *bch = init_bch(gfo, ecc_bits, prim_poly); in verify_bch()
/external/u-boot/include/linux/
Dbch.h41 unsigned int ecc_bits; member
/external/u-boot/lib/
Dbch.c384 s = bch->ecc_bits; in compute_syndromes()
958 const unsigned int k = 8*len+bch->ecc_bits; in chien_search()
1035 if (8*len > (bch->n-bch->ecc_bits)) in decode_bch()
1073 nbits = (len*8)+bch->ecc_bits; in decode_bch()
1122 const int plen = DIV_ROUND_UP(bch->ecc_bits+1, 32); in build_mod8_tables()
1123 const int ecclen = DIV_ROUND_UP(bch->ecc_bits, 32); in build_mod8_tables()
1257 bch->ecc_bits = g->deg; in compute_generator_polynomial()
/external/u-boot/include/linux/mtd/
Drawnand.h317 u8 ecc_bits; member
352 u8 ecc_bits; member
405 u8 ecc_bits; member
/external/u-boot/drivers/mtd/nand/
Dnand_base.c3227 chip->ecc_strength_ds = ecc->ecc_bits; in nand_flash_detect_ext_param_page()
3336 if (p->ecc_bits != 0xff) { in nand_flash_detect_onfi()
3337 chip->ecc_strength_ds = p->ecc_bits; in nand_flash_detect_onfi()
3443 chip->ecc_strength_ds = ecc->ecc_bits; in nand_flash_detect_jedec()