Home
last modified time | relevance | path

Searched refs:code_buf (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.15/drivers/mtd/nand/
Decc-sw-bch.c240 engine_conf->code_buf = kzalloc(mtd->oobsize, GFP_KERNEL); in nand_ecc_sw_bch_init_ctx()
241 if (!engine_conf->calc_buf || !engine_conf->code_buf) { in nand_ecc_sw_bch_init_ctx()
269 kfree(engine_conf->code_buf); in nand_ecc_sw_bch_init_ctx()
285 kfree(engine_conf->code_buf); in nand_ecc_sw_bch_cleanup_ctx()
338 u8 *ecccode = engine_conf->code_buf; in nand_ecc_sw_bch_finish_io_req()
Decc-sw-hamming.c508 engine_conf->code_buf = kzalloc(mtd->oobsize, GFP_KERNEL); in nand_ecc_sw_hamming_init_ctx()
509 if (!engine_conf->calc_buf || !engine_conf->code_buf) { in nand_ecc_sw_hamming_init_ctx()
523 kfree(engine_conf->code_buf); in nand_ecc_sw_hamming_init_ctx()
538 kfree(engine_conf->code_buf); in nand_ecc_sw_hamming_cleanup_ctx()
591 u8 *ecccode = engine_conf->code_buf; in nand_ecc_sw_hamming_finish_io_req()
/Linux-v5.15/include/linux/mtd/
Dnand-ecc-sw-bch.h29 u8 *code_buf; member
Dnand-ecc-sw-hamming.h28 u8 *code_buf; member
Drawnand.h358 u8 *code_buf; member
/Linux-v5.15/drivers/mtd/nand/raw/
Dnand_base.c2951 uint8_t *ecc_code = chip->ecc.code_buf; in nand_read_page_swecc()
3061 ret = mtd_ooblayout_get_eccbytes(mtd, chip->ecc.code_buf, in nand_read_subpage()
3070 stat = chip->ecc.correct(chip, p, &chip->ecc.code_buf[i], in nand_read_subpage()
3076 &chip->ecc.code_buf[i], in nand_read_subpage()
3110 uint8_t *ecc_code = chip->ecc.code_buf; in nand_read_page_hwecc()
6121 ecc->code_buf = kmalloc(mtd->oobsize, GFP_KERNEL); in nand_scan_tail()
6122 if (!ecc->calc_buf || !ecc->code_buf) { in nand_scan_tail()
6288 kfree(ecc->code_buf); in nand_scan_tail()
6370 kfree(chip->ecc.code_buf); in nand_cleanup()
Ddavinci_nand.c396 uint8_t *ecc_code = chip->ecc.code_buf; in nand_davinci_read_page_hwecc_oob_first()
Dstm32_fmc2_nand.c685 u8 *ecc_code = chip->ecc.code_buf; in stm32_fmc2_nfc_read_page()
1088 u8 *ecc_code = chip->ecc.code_buf; in stm32_fmc2_nfc_seq_read_page()
Dfsmc_nand.c692 u8 *ecc_code = chip->ecc.code_buf; in fsmc_read_page_hwecc()
Domap2.c1669 uint8_t *ecc_code = chip->ecc.code_buf; in omap_read_page_bch()