Searched refs:code_buf (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/mtd/nand/ |
H A D | ecc-sw-bch.c | 240 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()
|
H A D | ecc-sw-hamming.c | 509 engine_conf->code_buf = kzalloc(mtd->oobsize, GFP_KERNEL); in nand_ecc_sw_hamming_init_ctx() 510 if (!engine_conf->calc_buf || !engine_conf->code_buf) { in nand_ecc_sw_hamming_init_ctx() 524 kfree(engine_conf->code_buf); in nand_ecc_sw_hamming_init_ctx() 539 kfree(engine_conf->code_buf); in nand_ecc_sw_hamming_cleanup_ctx() 592 u8 *ecccode = engine_conf->code_buf; in nand_ecc_sw_hamming_finish_io_req()
|
/linux/include/linux/mtd/ |
H A D | nand-ecc-sw-bch.h | 20 * @code_buf: Buffer to use when reading (raw) ECC bytes from the chip 29 u8 *code_buf; member
|
H A D | nand-ecc-sw-hamming.h | 21 * @code_buf: Buffer to use when reading (raw) ECC bytes from the chip 28 u8 *code_buf; member
|
H A D | rawnand.h | 310 * @code_buf: buffer for ECC read from flash, size is oobsize. 362 u8 *code_buf; member
|
/linux/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 3083 uint8_t *ecc_code = chip->ecc.code_buf; in nand_read_page_swecc() 3193 ret = mtd_ooblayout_get_eccbytes(mtd, chip->ecc.code_buf, in nand_read_subpage() 3202 stat = chip->ecc.correct(chip, p, &chip->ecc.code_buf[i], in nand_read_subpage() 3208 &chip->ecc.code_buf[i], in nand_read_subpage() 3242 uint8_t *ecc_code = chip->ecc.code_buf; in nand_read_page_hwecc() 3314 uint8_t *ecc_code = chip->ecc.code_buf; in nand_read_page_hwecc_oob_first() 6443 ecc->code_buf = kmalloc(mtd->oobsize, GFP_KERNEL); in nand_scan_tail() 6444 if (!ecc->calc_buf || !ecc->code_buf) { in nand_scan_tail() 6618 kfree(ecc->code_buf); in nand_scan_tail() 6700 kfree(chip->ecc.code_buf); in nand_cleanup() [all...] |
H A D | stm32_fmc2_nand.c | 704 u8 *ecc_code = chip->ecc.code_buf; in stm32_fmc2_nfc_read_page() 1109 u8 *ecc_code = chip->ecc.code_buf; in stm32_fmc2_nfc_seq_read_page()
|
H A D | fsmc_nand.c | 716 u8 *ecc_code = chip->ecc.code_buf; in fsmc_read_page_hwecc()
|
H A D | omap2.c | 1541 uint8_t *ecc_code = chip->ecc.code_buf; in omap_read_page_bch()
|