Searched refs:ecc_bytes (Results 1 – 9 of 9) sorted by relevance
/external/u-boot/drivers/mtd/nand/raw/ |
D | denali.c | 316 int ecc_bytes = chip->ecc.bytes; in denali_check_erased_page() local 329 ecc_code, ecc_bytes, in denali_check_erased_page() 340 ecc_code += ecc_bytes; in denali_check_erased_page() 641 int ecc_bytes = chip->ecc.bytes; in denali_oob_xfer() local 656 pos = ecc_size + i * (ecc_size + ecc_bytes); in denali_oob_xfer() 657 len = ecc_bytes; in denali_oob_xfer() 670 if (len < ecc_bytes) { in denali_oob_xfer() 671 len = ecc_bytes - len; in denali_oob_xfer() 698 int ecc_bytes = chip->ecc.bytes; in denali_read_page_raw() local 711 pos = i * (ecc_size + ecc_bytes); in denali_read_page_raw() [all …]
|
D | sunxi_nand_spl.c | 252 static const int ecc_bytes[] = {32, 46, 54, 60, 74, 88, 102, 110, 116}; variable 259 int oob_chunk_sz = ecc_bytes[conf->ecc_strength]; in nand_read_page() 356 for (i = 0; i < ARRAY_SIZE(ecc_bytes); i++) { in nand_max_ecc_strength() 357 if (ecc_bytes[i] > max_ecc_bytes) in nand_max_ecc_strength()
|
D | nand_bch.c | 143 if (nbc->bch->ecc_bytes != eccbytes) { in nand_bch_init() 145 eccbytes, nbc->bch->ecc_bytes); in nand_bch_init()
|
D | nand_base.c | 2960 int ecc_bytes = chip->ecc.bytes; in nand_write_subpage_hwecc() local 2980 memset(ecc_calc, 0xff, ecc_bytes); in nand_write_subpage_hwecc() 2990 ecc_calc += ecc_bytes; in nand_write_subpage_hwecc() 4740 int nsteps, ecc_bytes; in nand_check_ecc_caps() local 4761 ecc_bytes = caps->calc_ecc_bytes(preset_step, in nand_check_ecc_caps() 4763 if (WARN_ON_ONCE(ecc_bytes < 0)) in nand_check_ecc_caps() 4764 return ecc_bytes; in nand_check_ecc_caps() 4766 if (ecc_bytes * nsteps > oobavail) { in nand_check_ecc_caps() 4772 chip->ecc.bytes = ecc_bytes; in nand_check_ecc_caps() 4802 int req_corr, step_size, strength, nsteps, ecc_bytes, ecc_bytes_total; in nand_match_ecc_req() local [all …]
|
/external/u-boot/include/linux/ |
D | bch.h | 42 unsigned int ecc_bytes; member
|
/external/u-boot/include/ |
D | ata.h | 153 unsigned short ecc_bytes; /* for r/w long cmds; 0 = not_specified */ member
|
/external/u-boot/board/ge/common/ |
D | vpd_reader.c | 60 if (bch->ecc_bytes != ecc_length) { in verify_bch()
|
/external/kernel-headers/original/uapi/linux/ |
D | hdreg.h | 415 unsigned short ecc_bytes; /* for r/w long cmds; 0 = not_specified */ member
|
/external/u-boot/lib/ |
D | bch.c | 1343 bch->ecc_bytes = DIV_ROUND_UP(m*t, 8); in init_bch()
|