Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_bch.c32 unsigned char *eccmask; member
53 code[i] ^= nbc->eccmask[i]; in nand_bch_calculate_ecc()
191 nbc->eccmask = kmalloc(eccbytes, GFP_KERNEL); in nand_bch_init()
193 if (!nbc->eccmask || !nbc->errloc) in nand_bch_init()
203 memset(nbc->eccmask, 0, eccbytes); in nand_bch_init()
204 encode_bch(nbc->bch, erased_page, eccsize, nbc->eccmask); in nand_bch_init()
208 nbc->eccmask[i] ^= 0xff; in nand_bch_init()
228 kfree(nbc->eccmask); in nand_bch_free()
/openbmc/linux/drivers/mtd/nand/
H A Decc-sw-bch.c34 code[i] ^= engine_conf->eccmask[i]; in nand_ecc_sw_bch_calculate()
88 kfree(engine_conf->eccmask); in nand_ecc_sw_bch_cleanup()
124 engine_conf->eccmask = kzalloc(eccbytes, GFP_KERNEL); in nand_ecc_sw_bch_init()
127 if (!engine_conf->eccmask || !engine_conf->errloc) { in nand_ecc_sw_bch_init()
141 engine_conf->eccmask); in nand_ecc_sw_bch_init()
145 engine_conf->eccmask[i] ^= 0xff; in nand_ecc_sw_bch_init()
/openbmc/linux/include/linux/mtd/
H A Dnand-ecc-sw-bch.h32 unsigned char *eccmask; member
/openbmc/linux/drivers/edac/
H A Di7core_edac.c215 u32 eccmask; member
775 pvt->inject.eccmask = (u32) value; in i7core_inject_eccmask_store()
786 return sprintf(data, "0x%08x\n", pvt->inject.eccmask); in i7core_inject_eccmask_show()
994 MC_CHANNEL_ERROR_MASK, pvt->inject.eccmask); in i7core_inject_enable_store()
1008 mask, pvt->inject.eccmask, injectmask); in i7core_inject_enable_store()