/openbmc/u-boot/tools/ |
H A D | atmel_pmecc_params.c | 30 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()
|
H A D | atmelimage.c | 33 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()
|
/openbmc/linux/include/linux/mtd/ |
H A D | onfi.h | 96 u8 ecc_bits; member 132 u8 ecc_bits; member
|
H A D | jedec.h | 14 u8 ecc_bits; member
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | nand_onfi.c | 99 requirements.strength = ecc->ecc_bits; in nand_flash_detect_ext_param_page() 271 if (p->ecc_bits != 0xff) { in nand_onfi_detect() 273 .strength = p->ecc_bits, in nand_onfi_detect()
|
H A D | davinci_nand.c | 469 pdata->ecc_bits = prop; in nand_davinci_get_pdata() 522 pdata->ecc_bits = 0; in davinci_nand_attach_chip() 525 pdata->ecc_bits = 0; in davinci_nand_attach_chip() 535 if (pdata->ecc_bits == 4) { in davinci_nand_attach_chip() 595 chip->ecc.strength = pdata->ecc_bits; in davinci_nand_attach_chip()
|
H A D | arasan-nand-controller.c | 183 unsigned int ecc_bits; member 461 anand->ecc_bits * step, anand->ecc_bits); in anfc_read_page_hw_ecc() 1066 unsigned int bch_gf_mag, ecc_bits; in anfc_calc_hw_ecc_bytes() local 1079 ecc_bits = bch_gf_mag * strength; in anfc_calc_hw_ecc_bytes() 1081 return DIV_ROUND_UP(ecc_bits, 8); in anfc_calc_hw_ecc_bytes() 1168 anand->ecc_bits = bch_gf_mag * ecc->strength; in anfc_init_hw_ecc_controller() 1169 ecc->bytes = DIV_ROUND_UP(anand->ecc_bits, 8); in anfc_init_hw_ecc_controller() 1170 anand->ecc_total = DIV_ROUND_UP(anand->ecc_bits * ecc->steps, 8); in anfc_init_hw_ecc_controller()
|
H A D | nand_jedec.c | 127 .strength = ecc->ecc_bits, in nand_jedec_detect()
|
H A D | hisi504_nand.c | 639 int size, strength, ecc_bits; in hisi_nfc_ecc_probe() local 666 ecc_bits = 6; in hisi_nfc_ecc_probe() 681 flag |= ((ecc_bits & HINFC504_CON_ECCTYPE_MASK) in hisi_nfc_ecc_probe()
|
/openbmc/u-boot/board/ge/common/ |
H A D | vpd_reader.c | 47 static int verify_bch(int ecc_bits, unsigned int prim_poly, u8 *data, in verify_bch() argument 55 struct bch_control *bch = init_bch(gfo, ecc_bits, prim_poly); in verify_bch()
|
/openbmc/linux/include/linux/platform_data/ |
H A D | mtd-davinci.h | 73 u8 ecc_bits; member
|
/openbmc/u-boot/include/linux/ |
H A D | bch.h | 41 unsigned int ecc_bits; member
|
/openbmc/linux/include/linux/ |
H A D | bch.h | 42 unsigned int ecc_bits; member
|
/openbmc/linux/lib/ |
H A D | bch.c | 378 s = bch->ecc_bits; in compute_syndromes() 952 const unsigned int k = 8*len+bch->ecc_bits; in chien_search() 1029 if (8*len > (bch->n-bch->ecc_bits)) in bch_decode() 1067 nbits = (len*8)+bch->ecc_bits; in bch_decode() 1119 const int plen = DIV_ROUND_UP(bch->ecc_bits+1, 32); in build_mod8_tables() 1120 const int ecclen = DIV_ROUND_UP(bch->ecc_bits, 32); in build_mod8_tables() 1254 bch->ecc_bits = g->deg; in compute_generator_polynomial()
|
/openbmc/u-boot/lib/ |
H A D | bch.c | 391 s = bch->ecc_bits; in compute_syndromes() 965 const unsigned int k = 8*len+bch->ecc_bits; in chien_search() 1042 if (8*len > (bch->n-bch->ecc_bits)) in decode_bch() 1080 nbits = (len*8)+bch->ecc_bits; in decode_bch() 1129 const int plen = DIV_ROUND_UP(bch->ecc_bits+1, 32); in build_mod8_tables() 1130 const int ecclen = DIV_ROUND_UP(bch->ecc_bits, 32); in build_mod8_tables() 1264 bch->ecc_bits = g->deg; in compute_generator_polynomial()
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | rawnand.h | 323 u8 ecc_bits; member 358 u8 ecc_bits; member 411 u8 ecc_bits; member
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 3175 chip->ecc_strength_ds = ecc->ecc_bits; in nand_flash_detect_ext_param_page() 3284 if (p->ecc_bits != 0xff) { in nand_flash_detect_onfi() 3285 chip->ecc_strength_ds = p->ecc_bits; in nand_flash_detect_onfi() 3391 chip->ecc_strength_ds = ecc->ecc_bits; in nand_flash_detect_jedec()
|