Searched refs:ecc_info (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/fs/pstore/ |
D | ram_core.c | 104 memset(prz->ecc_info.par, 0, in persistent_ram_encode_rs8() 105 prz->ecc_info.ecc_size * sizeof(prz->ecc_info.par[0])); in persistent_ram_encode_rs8() 106 encode_rs8(prz->rs_decoder, data, len, prz->ecc_info.par, 0); in persistent_ram_encode_rs8() 107 for (i = 0; i < prz->ecc_info.ecc_size; i++) in persistent_ram_encode_rs8() 108 ecc[i] = prz->ecc_info.par[i]; in persistent_ram_encode_rs8() 116 for (i = 0; i < prz->ecc_info.ecc_size; i++) in persistent_ram_decode_rs8() 117 prz->ecc_info.par[i] = ecc[i]; in persistent_ram_decode_rs8() 118 return decode_rs8(prz->rs_decoder, data, prz->ecc_info.par, len, in persistent_ram_decode_rs8() 129 int ecc_block_size = prz->ecc_info.block_size; in persistent_ram_update_ecc() 130 int ecc_size = prz->ecc_info.ecc_size; in persistent_ram_update_ecc() [all …]
|
D | ram.c | 91 struct persistent_ram_ecc_info ecc_info; member 243 tmp_prz->ecc_info = prz_next->ecc_info; in ramoops_pstore_read() 540 &cxt->ecc_info, in ramoops_init_przs() 586 *prz = persistent_ram_new(*paddr, sz, sig, &cxt->ecc_info, in ramoops_init_prz() 678 parse_u32("ecc-size", pdata->ecc_info.ecc_size, 0); in ramoops_parse_dt() 698 !pdata->pmsg_size && !pdata->ecc_info.ecc_size) { in ramoops_parse_dt() 767 cxt->ecc_info = pdata->ecc_info; in ramoops_probe() 854 cxt->ecc_info.ecc_size); in ramoops_probe() 946 pdata.ecc_info.ecc_size = ramoops_ecc == 1 ? 16 : ramoops_ecc; in ramoops_register_dummy()
|
/linux-6.1.9/include/linux/ |
D | pstore_ram.h | 96 struct persistent_ram_ecc_info ecc_info; member 103 u32 sig, struct persistent_ram_ecc_info *ecc_info, 138 struct persistent_ram_ecc_info ecc_info; member
|
/linux-6.1.9/include/linux/mtd/ |
D | jedec.h | 77 struct jedec_ecc_info ecc_info[4]; member
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | nand_jedec.c | 121 ecc = &p->ecc_info[0]; in nand_jedec_detect()
|
D | cadence-nand-controller.c | 532 struct ecc_info { struct
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 6218 struct fmea_ram_ecc *ecc_info) in fmea_ram_ecc_query() argument 6229 ecc_info->is_ecc_err = hr_reg_read(req, QUERY_RAM_ECC_1BIT_ERR); in fmea_ram_ecc_query() 6230 ecc_info->res_type = hr_reg_read(req, QUERY_RAM_ECC_RES_TYPE); in fmea_ram_ecc_query() 6231 ecc_info->index = hr_reg_read(req, QUERY_RAM_ECC_TAG); in fmea_ram_ecc_query() 6310 struct fmea_ram_ecc *ecc_info) in fmea_ram_ecc_recover() argument 6312 u32 res_type = ecc_info->res_type; in fmea_ram_ecc_recover() 6313 u32 index = ecc_info->index; in fmea_ram_ecc_recover() 6338 struct fmea_ram_ecc ecc_info = {}; in fmea_ram_ecc_work() local 6340 if (fmea_ram_ecc_query(hr_dev, &ecc_info)) { in fmea_ram_ecc_work() 6345 if (!ecc_info.is_ecc_err) { in fmea_ram_ecc_work() [all …]
|