Searched refs:eccmask (Results 1 – 2 of 2) sorted by relevance
28 unsigned char *eccmask; member48 code[i] ^= nbc->eccmask[i]; in nand_bch_calculate_ecc()173 nbc->eccmask = kzalloc(eccbytes, GFP_KERNEL); in nand_bch_init()175 if (!nbc->eccmask || !nbc->errloc) in nand_bch_init()185 encode_bch(nbc->bch, erased_page, eccsize, nbc->eccmask); in nand_bch_init()189 nbc->eccmask[i] ^= 0xff; in nand_bch_init()210 kfree(nbc->eccmask); in nand_bch_free()
215 u32 eccmask; member776 pvt->inject.eccmask = (u32) value; in i7core_inject_eccmask_store()787 return sprintf(data, "0x%08x\n", pvt->inject.eccmask); in i7core_inject_eccmask_show()995 MC_CHANNEL_ERROR_MASK, pvt->inject.eccmask); in i7core_inject_enable_store()1009 mask, pvt->inject.eccmask, injectmask); in i7core_inject_enable_store()