Home
last modified time | relevance | path

Searched refs:ecc_buf (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/mtd/nand/raw/
H A Dpl35x-nand-controller.c144 u8 *ecc_buf; member
546 ret = pl35x_nand_read_eccbytes(nfc, chip, nfc->ecc_buf); in pl35x_nand_write_page_hwecc()
553 ret = mtd_ooblayout_set_eccbytes(mtd, nfc->ecc_buf, chip->oob_poi, in pl35x_nand_write_page_hwecc()
646 ret = mtd_ooblayout_get_eccbytes(mtd, nfc->ecc_buf, chip->oob_poi, 0, in pl35x_nand_read_page_hwecc()
654 return pl35x_nand_recover_data_hwecc(nfc, chip, buf, nfc->ecc_buf); in pl35x_nand_read_page_hwecc()
920 nfc->ecc_buf = devm_kmalloc(nfc->dev, chip->ecc.bytes * chip->ecc.steps, in pl35x_nand_init_hw_ecc_controller()
922 if (!nfc->ecc_buf) in pl35x_nand_init_hw_ecc_controller()
H A Dsh_flctl.c488 unsigned long *ecc_buf = (unsigned long *)buff; in read_ecfiforeg() local
494 ecc_buf[i] = readl(FLECFIFO(flctl)); in read_ecfiforeg()
495 ecc_buf[i] = be32_to_cpu(ecc_buf[i]); in read_ecfiforeg()
H A Dstm32_fmc2_nand.c274 u8 *ecc_buf; member
1054 u32 *ecc_sta = (u32 *)nfc->ecc_buf; in stm32_fmc2_nfc_seq_correct()
1614 nfc->ecc_buf = dmam_alloc_coherent(nfc->dev, FMC2_MAX_ECC_BUF_LEN, in stm32_fmc2_nfc_dma_setup()
1616 if (!nfc->ecc_buf) in stm32_fmc2_nfc_dma_setup()
/linux/include/linux/
H A Dbch.h48 uint32_t *ecc_buf; member