Searched refs:ecc_bits (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/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.6.21/drivers/mtd/nand/raw/ |
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 | 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 | 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()
|
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.6.21/include/linux/platform_data/ |
D | mtd-davinci.h | 73 u8 ecc_bits; member
|
/linux-6.6.21/include/linux/ |
D | bch.h | 42 unsigned int ecc_bits; member
|
/linux-6.6.21/lib/ |
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()
|