Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/
H A 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()
H A Decc-sw-hamming.c509 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()
/openbmc/linux/include/linux/mtd/
H A Dnand-ecc-sw-bch.h29 u8 *code_buf; member
H A Dnand-ecc-sw-hamming.h28 u8 *code_buf; member
H A Drawnand.h362 u8 *code_buf; member
/openbmc/qemu/include/tcg/
H A Dtcg.h476 tcg_insn_unit *code_buf; /* pointer for start of tb */ member
943 return tcg_ptr_byte_diff(target, tcg_splitwx_to_rx(s->code_buf)); in tcg_tbrel_diff()
956 return tcg_ptr_byte_diff(s->code_ptr, s->code_buf); in tcg_current_code_size()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_base.c3064 uint8_t *ecc_code = chip->ecc.code_buf; in nand_read_page_swecc()
3174 ret = mtd_ooblayout_get_eccbytes(mtd, chip->ecc.code_buf, in nand_read_subpage()
3183 stat = chip->ecc.correct(chip, p, &chip->ecc.code_buf[i], in nand_read_subpage()
3189 &chip->ecc.code_buf[i], in nand_read_subpage()
3223 uint8_t *ecc_code = chip->ecc.code_buf; in nand_read_page_hwecc()
3295 uint8_t *ecc_code = chip->ecc.code_buf; in nand_read_page_hwecc_oob_first()
6424 ecc->code_buf = kmalloc(mtd->oobsize, GFP_KERNEL); in nand_scan_tail()
6425 if (!ecc->calc_buf || !ecc->code_buf) { in nand_scan_tail()
6599 kfree(ecc->code_buf); in nand_scan_tail()
6681 kfree(chip->ecc.code_buf); in nand_cleanup()
H A Dstm32_fmc2_nand.c687 u8 *ecc_code = chip->ecc.code_buf; in stm32_fmc2_nfc_read_page()
1092 u8 *ecc_code = chip->ecc.code_buf; in stm32_fmc2_nfc_seq_read_page()
H A Dfsmc_nand.c714 u8 *ecc_code = chip->ecc.code_buf; in fsmc_read_page_hwecc()
H A Domap2.c1525 uint8_t *ecc_code = chip->ecc.code_buf; in omap_read_page_bch()
/openbmc/qemu/tcg/
H A Dtcg.c1411 s->code_buf = s->code_gen_ptr; in tcg_prologue_init()
1438 flush_idcache_range((uintptr_t)tcg_splitwx_to_rx(s->code_buf), in tcg_prologue_init()
1439 (uintptr_t)s->code_buf, prologue_size); in tcg_prologue_init()
6172 s->code_buf = tcg_splitwx_to_rw(tb->tc.ptr); in tcg_gen_code()
6173 s->code_ptr = s->code_buf; in tcg_gen_code()
6279 flush_idcache_range((uintptr_t)tcg_splitwx_to_rx(s->code_buf), in tcg_gen_code()
6280 (uintptr_t)s->code_buf, in tcg_gen_code()
6281 tcg_ptr_byte_diff(s->code_ptr, s->code_buf)); in tcg_gen_code()