Searched refs:ecc_bits (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/include/linux/mtd/ |
D | onfi.h | 96 u8 ecc_bits; member 132 u8 ecc_bits; member
|
D | jedec.h | 14 u8 ecc_bits; member
|
/linux-6.12.1/drivers/mtd/nand/raw/ |
D | davinci_nand.c | 77 u8 ecc_bits; member 530 pdata->ecc_bits = prop; in nand_davinci_get_pdata() 583 pdata->ecc_bits = 0; in davinci_nand_attach_chip() 586 pdata->ecc_bits = 0; in davinci_nand_attach_chip() 596 if (pdata->ecc_bits == 4) { in davinci_nand_attach_chip() 656 chip->ecc.strength = pdata->ecc_bits; in davinci_nand_attach_chip()
|
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()
|
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()
|
D | nand_jedec.c | 127 .strength = ecc->ecc_bits, in nand_jedec_detect()
|
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()
|
/linux-6.12.1/include/linux/ |
D | bch.h | 42 unsigned int ecc_bits; member
|
/linux-6.12.1/lib/ |
D | bch.c | 378 s = bch->ecc_bits; in compute_syndromes() 942 const unsigned int k = 8*len+bch->ecc_bits; in chien_search() 1019 if (8*len > (bch->n-bch->ecc_bits)) in bch_decode() 1057 nbits = (len*8)+bch->ecc_bits; in bch_decode() 1109 const int plen = DIV_ROUND_UP(bch->ecc_bits+1, 32); in build_mod8_tables() 1110 const int ecclen = DIV_ROUND_UP(bch->ecc_bits, 32); in build_mod8_tables() 1244 bch->ecc_bits = g->deg; in compute_generator_polynomial()
|