Searched refs:ecc_bytes (Results 1 - 12 of 12) sorted by relevance

/u-boot/tools/
H A Drenesas_spkgimage.h32 * @ecc_bytes: ECC bytes per block
44 * The ECC-related fields @ecc @ecc_scheme @ecc_bytes are used only when
60 uint8_t ecc_bytes; member in struct:spkg_hdr
H A Drenesas_spkgimage.c24 unsigned int ecc_bytes:8; member in struct:config_file
65 conf.ecc_bytes = check_range(name, value, 0, 255);
198 h->ecc_scheme, (h->ecc >> 1) & 3, h->ecc_bytes);
259 .ecc_bytes = conf.ecc_bytes,
/u-boot/include/linux/
H A Dbch.h25 * @ecc_bytes: ecc max size (m*t bits) in bytes
42 unsigned int ecc_bytes; member in struct:bch_control
/u-boot/drivers/mtd/nand/raw/
H A Ddenali.c295 int ecc_bytes = chip->ecc.bytes; local
308 ecc_code, ecc_bytes,
319 ecc_code += ecc_bytes;
620 int ecc_bytes = chip->ecc.bytes; local
635 pos = ecc_size + i * (ecc_size + ecc_bytes);
636 len = ecc_bytes;
649 if (len < ecc_bytes) {
650 len = ecc_bytes - len;
677 int ecc_bytes = chip->ecc.bytes; local
690 pos = i * (ecc_size + ecc_bytes);
808 int ecc_bytes = chip->ecc.bytes; local
[all...]
H A Dsunxi_nand_spl.c254 static const int ecc_bytes[] = {32, 46, 54, 60, 74, 88, 102, 110, 116}; variable
261 int oob_chunk_sz = ecc_bytes[conf->ecc_strength];
358 for (i = 0; i < ARRAY_SIZE(ecc_bytes); i++) {
359 if (ecc_bytes[i] > max_ecc_bytes)
H A Dnand_bch.c145 if (nbc->bch->ecc_bytes != eccbytes) {
147 eccbytes, nbc->bch->ecc_bytes);
H A Dnand_base.c2949 int ecc_bytes = chip->ecc.bytes; local
2969 memset(ecc_calc, 0xff, ecc_bytes);
2979 ecc_calc += ecc_bytes;
4641 int nsteps, ecc_bytes; local
4662 ecc_bytes = caps->calc_ecc_bytes(preset_step,
4664 if (WARN_ON_ONCE(ecc_bytes < 0))
4665 return ecc_bytes;
4667 if (ecc_bytes * nsteps > oobavail) {
4673 chip->ecc.bytes = ecc_bytes;
4703 int req_corr, step_size, strength, nsteps, ecc_bytes, ecc_bytes_tota local
4785 int step_size, strength, nsteps, ecc_bytes, corr; local
[all...]
H A Dmeson_nand.c194 int ecc_bytes; local
199 ecc_bytes = DIV_ROUND_UP(strength * fls(step_size * 8), 8);
200 ecc_bytes = ALIGN(ecc_bytes, 2);
202 return ecc_bytes;
/u-boot/include/
H A Data.h113 unsigned short ecc_bytes; /* for r/w long cmds; 0 = not_specified */ member in struct:hd_driveid
/u-boot/board/ge/common/
H A Dvpd_reader.c64 if (bch->ecc_bytes != ecc_length) {
/u-boot/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c1848 void *ecc_bytes; local
1870 ecc_bytes = chip->oob_poi + ecc.offset;
1873 ecc_bytes, ecc.length,
/u-boot/lib/
H A Dbch.c229 * @ecc_bytes of @bch, and should be initialized to 0 before the first call.
1294 * BCH control structure, ecc length in bytes is given by member @ecc_bytes of
1346 bch->ecc_bytes = DIV_ROUND_UP(m*t, 8);

Completed in 110 milliseconds