Searched refs:ecc_bits (Results 1 – 17 of 17) sorted by relevance
/linux-6.1.9/include/linux/mtd/ |
D | onfi.h | 95 u8 ecc_bits; member 131 u8 ecc_bits; member
|
D | jedec.h | 14 u8 ecc_bits; member
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | nand_onfi.c | 99 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()
|
D | davinci_nand.c | 470 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()
|
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() 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()
|
D | nand_jedec.c | 125 .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.1.9/include/linux/platform_data/ |
D | mtd-davinci.h | 73 u8 ecc_bits; member
|
/linux-6.1.9/include/linux/ |
D | bch.h | 42 unsigned int ecc_bits; member
|
/linux-6.1.9/lib/ |
D | bch.c | 412 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/ |
D | board-dm355-leopard.c | 77 .ecc_bits = 4,
|
D | board-dm355-evm.c | 84 .ecc_bits = 4,
|
D | board-omapl138-hawk.c | 207 .ecc_bits = 4,
|
D | board-mityomapl138.c | 441 .ecc_bits = 1, /* 4 bit mode is not supported with 16 bit NAND */
|
D | board-da830-evm.c | 307 .ecc_bits = 4,
|
D | board-dm365-evm.c | 143 .ecc_bits = 4,
|
D | board-da850-evm.c | 240 .ecc_bits = 4,
|