Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/u-boot/tools/
H A Datmel_pmecc_params.c31 unsigned int ecc_bits = CONFIG_PMECC_CAP; in main() local
40 pmecc_get_ecc_bytes(ecc_bits, sector_size) * sector_per_page; in main()
46 printf("eccBits=%d,", ecc_bits); in main()
H A Datmelimage.c34 int ecc_bits; member
83 pmecc.ecc_bits = strtol(param, NULL, 10); in atmel_find_pmecc_parameter_in_token()
268 switch (pmecc.ecc_bits) { in atmel_vrec_header()
287 pmecc.ecc_bits); in atmel_vrec_header()
/OK3568_Linux_fs/u-boot/drivers/rkflash/
H A Dflash.c180 if (error_ecc_bits >= (u32)nand_para.ecc_bits - 3) { in flash_read_page_raw()
352 rkflash_print_info("ecc_bits: %x\n", nand_para.ecc_bits); in flash_show_info()
406 g_nand_phy_info.ecc_bits = nand_para.ecc_bits; in flash_ftl_ops_init()
509 nand_para.ecc_bits = 70; in nandc_flash_init()
516 flash_bch_sel(nand_para.ecc_bits); in nandc_flash_init()
H A Dflash_com.h61 u8 ecc_bits; member
H A Dflash.h116 u8 ecc_bits; member
/OK3568_Linux_fs/kernel/drivers/rkflash/
H A Dflash.c181 if (error_ecc_bits >= (u32)nand_para.ecc_bits - 3) { in flash_read_page_raw()
353 rkflash_print_info("ecc_bits: %x\n", nand_para.ecc_bits); in flash_show_info()
407 g_nand_phy_info.ecc_bits = nand_para.ecc_bits; in flash_ftl_ops_init()
495 flash_bch_sel(nand_para.ecc_bits); in nandc_flash_init()
H A Dflash_com.h59 u8 ecc_bits; member
H A Dflash.h114 u8 ecc_bits; member
/OK3568_Linux_fs/kernel/include/linux/mtd/
H A Donfi.h89 u8 ecc_bits; member
124 u8 ecc_bits; member
H A Djedec.h14 u8 ecc_bits; member
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Darasan-nand-controller.c166 unsigned int ecc_bits; member
397 anand->ecc_bits * step, anand->ecc_bits); in anfc_read_page_hw_ecc()
948 unsigned int bch_gf_mag, ecc_bits; in anfc_calc_hw_ecc_bytes() local
961 ecc_bits = bch_gf_mag * strength; in anfc_calc_hw_ecc_bytes()
963 return DIV_ROUND_UP(ecc_bits, 8); in anfc_calc_hw_ecc_bytes()
1050 anand->ecc_bits = bch_gf_mag * ecc->strength; in anfc_init_hw_ecc_controller()
1051 ecc->bytes = DIV_ROUND_UP(anand->ecc_bits, 8); in anfc_init_hw_ecc_controller()
1052 anand->ecc_total = DIV_ROUND_UP(anand->ecc_bits * ecc->steps, 8); in anfc_init_hw_ecc_controller()
H A 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()
H A Ddavinci_nand.c537 pdata->ecc_bits = prop; in nand_davinci_get_pdata()
590 pdata->ecc_bits = 0; in davinci_nand_attach_chip()
593 pdata->ecc_bits = 0; in davinci_nand_attach_chip()
603 if (pdata->ecc_bits == 4) { in davinci_nand_attach_chip()
663 info->chip.ecc.strength = pdata->ecc_bits; in davinci_nand_attach_chip()
H A Dnand_jedec.c125 .strength = ecc->ecc_bits, in nand_jedec_detect()
H A 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()
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dmtd-davinci.h73 u8 ecc_bits; member
/OK3568_Linux_fs/u-boot/include/linux/
H A Dbch.h42 unsigned int ecc_bits; member
/OK3568_Linux_fs/kernel/include/linux/
H A Dbch.h42 unsigned int ecc_bits; member
/OK3568_Linux_fs/kernel/lib/
H A 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()
/OK3568_Linux_fs/u-boot/lib/
H A Dbch.c385 s = bch->ecc_bits; in compute_syndromes()
959 const unsigned int k = 8*len+bch->ecc_bits; in chien_search()
1036 if (8*len > (bch->n-bch->ecc_bits)) in decode_bch()
1074 nbits = (len*8)+bch->ecc_bits; in decode_bch()
1123 const int plen = DIV_ROUND_UP(bch->ecc_bits+1, 32); in build_mod8_tables()
1124 const int ecclen = DIV_ROUND_UP(bch->ecc_bits, 32); in build_mod8_tables()
1258 bch->ecc_bits = g->deg; in compute_generator_polynomial()
/OK3568_Linux_fs/u-boot/include/linux/mtd/
H A Drawnand.h317 u8 ecc_bits; member
352 u8 ecc_bits; member
405 u8 ecc_bits; member
/OK3568_Linux_fs/kernel/arch/arm/mach-davinci/
H A Dboard-neuros-osd2.c94 .ecc_bits = 1,
H A Dboard-dm355-leopard.c81 .ecc_bits = 4,
H A Dboard-dm355-evm.c87 .ecc_bits = 4,
H A Dboard-omapl138-hawk.c210 .ecc_bits = 4,

12