Searched refs:ecc_buf (Results 1 – 5 of 5) sorted by relevance
/drivers/mtd/nand/raw/ |
D | lpc32xx_slc.c | 233 uint32_t *ecc_buf; member 557 &host->ecc_buf[i], 4, DMA_DEV_TO_MEM); in lpc32xx_xfer() 584 host->ecc_buf[chip->ecc.steps - 1] = in lpc32xx_xfer() 633 lpc32xx_slc_ecc_copy(tmpecc, (uint32_t *) host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_read_page_syndrome() 707 lpc32xx_slc_ecc_copy(pb, (uint32_t *)host->ecc_buf, chip->ecc.steps); in lpc32xx_nand_write_page_syndrome() 794 host->ecc_buf = (uint32_t *)(host->data_buf + LPC32XX_DMA_DATA_SIZE); in lpc32xx_nand_attach_chip()
|
D | pl35x-nand-controller.c | 146 u8 *ecc_buf; member 548 ret = pl35x_nand_read_eccbytes(nfc, chip, nfc->ecc_buf); in pl35x_nand_write_page_hwecc() 555 ret = mtd_ooblayout_set_eccbytes(mtd, nfc->ecc_buf, chip->oob_poi, in pl35x_nand_write_page_hwecc() 648 ret = mtd_ooblayout_get_eccbytes(mtd, nfc->ecc_buf, chip->oob_poi, 0, in pl35x_nand_read_page_hwecc() 656 return pl35x_nand_recover_data_hwecc(nfc, chip, buf, nfc->ecc_buf); in pl35x_nand_read_page_hwecc() 919 nfc->ecc_buf = devm_kmalloc(nfc->dev, chip->ecc.bytes * chip->ecc.steps, in pl35x_nand_init_hw_ecc_controller() 921 if (!nfc->ecc_buf) in pl35x_nand_init_hw_ecc_controller()
|
D | omap2.c | 729 static void gen_true_ecc(u8 *ecc_buf) in gen_true_ecc() argument 731 u32 tmp = ecc_buf[0] | (ecc_buf[1] << 16) | in gen_true_ecc() 732 ((ecc_buf[2] & 0xF0) << 20) | ((ecc_buf[2] & 0x0F) << 8); in gen_true_ecc() 734 ecc_buf[0] = ~(P64o(tmp) | P64e(tmp) | P32o(tmp) | P32e(tmp) | in gen_true_ecc() 736 ecc_buf[1] = ~(P1024o(tmp) | P1024e(tmp) | P512o(tmp) | P512e(tmp) | in gen_true_ecc() 738 ecc_buf[2] = ~(P4o(tmp) | P4e(tmp) | P2o(tmp) | P2e(tmp) | P1o(tmp) | in gen_true_ecc()
|
D | sh_flctl.c | 489 unsigned long *ecc_buf = (unsigned long *)buff; in read_ecfiforeg() local 495 ecc_buf[i] = readl(FLECFIFO(flctl)); in read_ecfiforeg() 496 ecc_buf[i] = be32_to_cpu(ecc_buf[i]); in read_ecfiforeg()
|
D | stm32_fmc2_nand.c | 263 u8 *ecc_buf; member 886 p = nfc->ecc_buf; in stm32_fmc2_nfc_xfer() 1032 u32 *ecc_sta = (u32 *)nfc->ecc_buf; in stm32_fmc2_nfc_seq_correct() 1581 nfc->ecc_buf = devm_kzalloc(nfc->dev, FMC2_MAX_ECC_BUF_LEN, GFP_KERNEL); in stm32_fmc2_nfc_dma_setup() 1582 if (!nfc->ecc_buf) in stm32_fmc2_nfc_dma_setup()
|