Searched refs:ecc_size (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/fs/pstore/ |
D | ram_core.c | 104 prz->ecc_info.ecc_size * sizeof(prz->ecc_info.par[0])); in persistent_ram_encode_rs8() 106 for (i = 0; i < prz->ecc_info.ecc_size; i++) in persistent_ram_encode_rs8() 115 for (i = 0; i < prz->ecc_info.ecc_size; i++) in persistent_ram_decode_rs8() 129 int ecc_size = prz->ecc_info.ecc_size; in persistent_ram_update_ecc() local 132 if (!ecc_size) in persistent_ram_update_ecc() 136 par = prz->par_buffer + (start / ecc_block_size) * ecc_size; in persistent_ram_update_ecc() 143 par += ecc_size; in persistent_ram_update_ecc() 151 if (!prz->ecc_info.ecc_size) in persistent_ram_update_header_ecc() 164 if (!prz->ecc_info.ecc_size) in persistent_ram_ecc_old() 183 par += prz->ecc_info.ecc_size; in persistent_ram_ecc_old() [all …]
|
D | ram.c | 704 parse_size("ecc-size", pdata->ecc_info.ecc_size); in ramoops_parse_dt() 853 cxt->ecc_info.ecc_size, cxt->ecc_info.block_size); in ramoops_probe() 942 dummy_data->ecc_info.ecc_size = ramoops_ecc == 1 ? 16 : ramoops_ecc; in ramoops_register_dummy()
|
/Linux-v4.19/drivers/mtd/nand/raw/ |
D | denali.c | 328 int ecc_size = chip->ecc.size; in denali_check_erased_page() local 336 stat = nand_check_erased_ecc_chunk(buf, ecc_size, in denali_check_erased_page() 347 buf += ecc_size; in denali_check_erased_page() 393 unsigned int ecc_size = denali->nand.ecc.size; in denali_sw_ecc_fixup() local 425 } else if (err_byte < ecc_size) { in denali_sw_ecc_fixup() 436 offset = (err_sector * ecc_size + err_byte) * in denali_sw_ecc_fixup() 646 int ecc_size = chip->ecc.size; in denali_oob_xfer() local 662 pos = ecc_size + i * (ecc_size + ecc_bytes); in denali_oob_xfer() 708 int ecc_size = chip->ecc.size; in denali_read_page_raw() local 722 pos = i * (ecc_size + ecc_bytes); in denali_read_page_raw() [all …]
|
D | tango_nand.c | 185 const int ecc_size = chip->ecc.bytes; in check_erased_page() local 191 res = nand_check_erased_ecc_chunk(buf, pkt_size, ecc, ecc_size, in check_erased_page() 201 ecc += ecc_size; in check_erased_page() 378 const int ecc_size = chip->ecc.bytes; in raw_read() local 390 aux_read(chip, &oob, ecc_size, &pos); in raw_read() 397 aux_read(chip, &oob, ecc_size, &pos); in raw_read() 405 const int ecc_size = chip->ecc.bytes; in raw_write() local 417 aux_write(chip, &oob, ecc_size, &pos); in raw_write() 424 aux_write(chip, &oob, ecc_size, &pos); in raw_write()
|
D | mtk_nand.c | 126 u32 ecc_size; member 383 fmt |= mtk_nand->fdm.ecc_size << PAGEFMT_FDM_ECC_SHIFT; in mtk_nfc_hw_runtime_config() 387 nfc->ecc_cfg.len = chip->ecc.size + mtk_nand->fdm.ecc_size; in mtk_nfc_hw_runtime_config() 1093 oob_region->length = fdm->reg_size - fdm->ecc_size; in mtk_nfc_ooblayout_free() 1094 oob_region->offset = section * fdm->reg_size + fdm->ecc_size; in mtk_nfc_ooblayout_free() 1136 fdm->ecc_size = 1; in mtk_nfc_set_fdm()
|
D | fsl_ifc_nand.c | 656 const int ecc_size = chip->ecc.bytes; in check_erased_page() local 665 res = nand_check_erased_ecc_chunk(buf, pkt_size, ecc, ecc_size, in check_erased_page() 675 ecc += ecc_size; in check_erased_page()
|
D | omap2.c | 1569 int ecc_size = chip->ecc.size; in omap_write_subpage_bch() local 1572 u32 start_step = offset / ecc_size; in omap_write_subpage_bch() 1573 u32 end_step = (offset + data_len - 1) / ecc_size; in omap_write_subpage_bch() 1600 buf += ecc_size; in omap_write_subpage_bch()
|
D | nand_base.c | 4184 int ecc_size = chip->ecc.size; in nand_write_subpage_hwecc() local 4187 uint32_t start_step = offset / ecc_size; in nand_write_subpage_hwecc() 4188 uint32_t end_step = (offset + data_len - 1) / ecc_size; in nand_write_subpage_hwecc() 4201 ret = nand_write_data_op(chip, buf, ecc_size, false); in nand_write_subpage_hwecc() 4216 buf += ecc_size; in nand_write_subpage_hwecc()
|
/Linux-v4.19/include/linux/ |
D | pstore_ram.h | 39 int ecc_size; member
|