Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/mtd/
Donfi.h95 u8 ecc_bits; member
131 u8 ecc_bits; member
Djedec.h14 u8 ecc_bits; member
/linux-6.1.9/drivers/mtd/nand/raw/
Dnand_onfi.c99 requirements.strength = ecc->ecc_bits; in nand_flash_detect_ext_param_page()
272 if (p->ecc_bits != 0xff) { in nand_onfi_detect()
274 .strength = p->ecc_bits, in nand_onfi_detect()
Ddavinci_nand.c470 pdata->ecc_bits = prop; in nand_davinci_get_pdata()
523 pdata->ecc_bits = 0; in davinci_nand_attach_chip()
526 pdata->ecc_bits = 0; in davinci_nand_attach_chip()
536 if (pdata->ecc_bits == 4) { in davinci_nand_attach_chip()
596 chip->ecc.strength = pdata->ecc_bits; in davinci_nand_attach_chip()
Darasan-nand-controller.c183 unsigned int ecc_bits; member
461 anand->ecc_bits * step, anand->ecc_bits); in anfc_read_page_hw_ecc()
1069 unsigned int bch_gf_mag, ecc_bits; in anfc_calc_hw_ecc_bytes() local
1082 ecc_bits = bch_gf_mag * strength; in anfc_calc_hw_ecc_bytes()
1084 return DIV_ROUND_UP(ecc_bits, 8); in anfc_calc_hw_ecc_bytes()
1171 anand->ecc_bits = bch_gf_mag * ecc->strength; in anfc_init_hw_ecc_controller()
1172 ecc->bytes = DIV_ROUND_UP(anand->ecc_bits, 8); in anfc_init_hw_ecc_controller()
1173 anand->ecc_total = DIV_ROUND_UP(anand->ecc_bits * ecc->steps, 8); in anfc_init_hw_ecc_controller()
Dnand_jedec.c125 .strength = ecc->ecc_bits, in nand_jedec_detect()
Dhisi504_nand.c639 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.1.9/include/linux/platform_data/
Dmtd-davinci.h73 u8 ecc_bits; member
/linux-6.1.9/include/linux/
Dbch.h42 unsigned int ecc_bits; member
/linux-6.1.9/lib/
Dbch.c412 s = bch->ecc_bits; in compute_syndromes()
986 const unsigned int k = 8*len+bch->ecc_bits; in chien_search()
1063 if (8*len > (bch->n-bch->ecc_bits)) in bch_decode()
1101 nbits = (len*8)+bch->ecc_bits; in bch_decode()
1153 const int plen = DIV_ROUND_UP(bch->ecc_bits+1, 32); in build_mod8_tables()
1154 const int ecclen = DIV_ROUND_UP(bch->ecc_bits, 32); in build_mod8_tables()
1288 bch->ecc_bits = g->deg; in compute_generator_polynomial()
/linux-6.1.9/arch/arm/mach-davinci/
Dboard-dm355-leopard.c77 .ecc_bits = 4,
Dboard-dm355-evm.c84 .ecc_bits = 4,
Dboard-omapl138-hawk.c207 .ecc_bits = 4,
Dboard-mityomapl138.c441 .ecc_bits = 1, /* 4 bit mode is not supported with 16 bit NAND */
Dboard-da830-evm.c307 .ecc_bits = 4,
Dboard-dm365-evm.c143 .ecc_bits = 4,
Dboard-da850-evm.c240 .ecc_bits = 4,