Home
last modified time | relevance | path

Searched refs:ecc_bytes (Results 1 – 11 of 11) sorted by relevance

/u-boot/tools/
A Drenesas_spkgimage.c24 unsigned int ecc_bytes:8; member
65 conf.ecc_bytes = check_range(name, value, 0, 255); in spkgimage_parse_config_line()
197 h->ecc_scheme, (h->ecc >> 1) & 3, h->ecc_bytes); in spkgimage_print_header()
258 .ecc_bytes = conf.ecc_bytes, in spkgimage_vrec_header()
A Drenesas_spkgimage.h60 uint8_t ecc_bytes; member
/u-boot/drivers/mtd/nand/raw/
A Ddenali.c309 ecc_code, ecc_bytes, in denali_check_erased_page()
320 ecc_code += ecc_bytes; in denali_check_erased_page()
637 len = ecc_bytes; in denali_oob_xfer()
650 if (len < ecc_bytes) { in denali_oob_xfer()
651 len = ecc_bytes - len; in denali_oob_xfer()
720 len = ecc_bytes; in denali_read_page_raw()
729 if (len < ecc_bytes) { in denali_read_page_raw()
730 len = ecc_bytes - len; in denali_read_page_raw()
854 len = ecc_bytes; in denali_write_page_raw()
863 if (len < ecc_bytes) { in denali_write_page_raw()
[all …]
A Dsunxi_nand_spl.c255 static const int ecc_bytes[] = {32, 46, 54, 60, 74, 88, 102, 110, 116}; variable
262 int oob_chunk_sz = ecc_bytes[conf->ecc_strength]; in nand_read_page()
359 for (i = 0; i < ARRAY_SIZE(ecc_bytes); i++) { in nand_max_ecc_strength()
360 if (ecc_bytes[i] > max_ecc_bytes) in nand_max_ecc_strength()
A Dnand_bch.c145 if (nbc->bch->ecc_bytes != eccbytes) { in nand_bch_init()
147 eccbytes, nbc->bch->ecc_bytes); in nand_bch_init()
A Dnand_base.c2983 int ecc_bytes = chip->ecc.bytes; in nand_write_subpage_hwecc() local
3003 memset(ecc_calc, 0xff, ecc_bytes); in nand_write_subpage_hwecc()
3013 ecc_calc += ecc_bytes; in nand_write_subpage_hwecc()
4678 int nsteps, ecc_bytes; in nand_check_ecc_caps() local
4701 if (WARN_ON_ONCE(ecc_bytes < 0)) in nand_check_ecc_caps()
4702 return ecc_bytes; in nand_check_ecc_caps()
4710 chip->ecc.bytes = ecc_bytes; in nand_check_ecc_caps()
4776 if (WARN_ON_ONCE(ecc_bytes < 0)) in nand_match_ecc_req()
4792 best_ecc_bytes = ecc_bytes; in nand_match_ecc_req()
4848 if (WARN_ON_ONCE(ecc_bytes < 0)) in nand_maximize_ecc()
[all …]
/u-boot/include/linux/
A Dbch.h42 unsigned int ecc_bytes; member
/u-boot/include/
A Data.h113 unsigned short ecc_bytes; /* for r/w long cmds; 0 = not_specified */ member
/u-boot/board/ge/common/
A Dvpd_reader.c64 if (bch->ecc_bytes != ecc_length) { in verify_bch()
/u-boot/drivers/mtd/nand/raw/brcmnand/
A Dbrcmnand.c1849 void *ecc_bytes; in brcmstb_nand_verify_erased_page() local
1871 ecc_bytes = chip->oob_poi + ecc.offset; in brcmstb_nand_verify_erased_page()
1874 ecc_bytes, ecc.length, in brcmstb_nand_verify_erased_page()
/u-boot/lib/
A Dbch.c1346 bch->ecc_bytes = DIV_ROUND_UP(m*t, 8); in init_bch()

Completed in 55 milliseconds