Searched refs:ecc_bytes (Results 1 – 8 of 8) sorted by relevance
| /linux/include/linux/ |
| H A D | bch.h | 43 unsigned int ecc_bytes; member
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | intel-nand-controller.c | 449 u32 ecc_steps, ecc_bytes, ecc_total, pagesize, pg_per_blk; in ebu_nand_attach_chip() local 485 ecc_bytes = 14; in ebu_nand_attach_chip() 487 ecc_bytes = DIV_ROUND_UP(ecc_strength_ds * fls(8 * ecc_size), 8); in ebu_nand_attach_chip() 490 ecc_total = ecc_steps * ecc_bytes; in ebu_nand_attach_chip()
|
| H A D | nand_base.c | 4136 int ecc_bytes = chip->ecc.bytes; in nand_write_subpage_hwecc() local 4158 memset(ecc_calc, 0xff, ecc_bytes); in nand_write_subpage_hwecc() 4168 ecc_calc += ecc_bytes; in nand_write_subpage_hwecc() 5895 int ecc_bytes, nsteps = mtd->writesize / preset_step; in nand_check_ecc_caps() local 5908 ecc_bytes = caps->calc_ecc_bytes(preset_step, in nand_check_ecc_caps() 5910 if (WARN_ON_ONCE(ecc_bytes < 0)) in nand_check_ecc_caps() 5911 return ecc_bytes; in nand_check_ecc_caps() 5913 if (ecc_bytes * nsteps > oobavail) { in nand_check_ecc_caps() 5919 chip->ecc.bytes = ecc_bytes; in nand_check_ecc_caps() 5951 int req_corr, step_size, strength, nsteps, ecc_bytes, ecc_bytes_total; in nand_match_ecc_req() local [all …]
|
| H A D | meson_nand.c | 223 int ecc_bytes; in meson_nand_calc_ecc_bytes() local 228 ecc_bytes = DIV_ROUND_UP(strength * fls(step_size * 8), 8); in meson_nand_calc_ecc_bytes() 229 ecc_bytes = ALIGN(ecc_bytes, 2); in meson_nand_calc_ecc_bytes() 231 return ecc_bytes; in meson_nand_calc_ecc_bytes()
|
| H A D | mtk_nand.c | 1167 u32 ecc_bytes; in mtk_nfc_set_fdm() local 1169 ecc_bytes = DIV_ROUND_UP(nand->ecc.strength * in mtk_nfc_set_fdm() 1172 fdm->reg_size = chip->spare_per_sector - ecc_bytes; in mtk_nfc_set_fdm()
|
| /linux/drivers/mtd/nand/ |
| H A D | ecc-sw-bch.c | 148 if (engine_conf->bch->ecc_bytes != eccbytes) { in nand_ecc_sw_bch_init() 150 eccbytes, engine_conf->bch->ecc_bytes); in nand_ecc_sw_bch_init()
|
| /linux/include/uapi/linux/ |
| H A D | hdreg.h | 415 unsigned short ecc_bytes; /* for r/w long cmds; 0 = not_specified */ member
|
| /linux/lib/ |
| H A D | bch.c | 1331 bch->ecc_bytes = DIV_ROUND_UP(m*t, 8); in bch_init()
|