Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/nand/
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()
/external/u-boot/arch/arm/mach-socfpga/
Dreset_manager_arria10.c159 ulong eccmask; in socfpga_emac_manage_reset() local
164 eccmask = ALT_RSTMGR_PER0MODRST_EMACECC0_SET_MSK; in socfpga_emac_manage_reset()
168 eccmask = ALT_RSTMGR_PER0MODRST_EMACECC1_SET_MSK; in socfpga_emac_manage_reset()
172 eccmask = ALT_RSTMGR_PER0MODRST_EMACECC2_SET_MSK; in socfpga_emac_manage_reset()
183 setbits_le32(&reset_manager_base->per0modrst, eccmask); in socfpga_emac_manage_reset()
188 clrbits_le32(&reset_manager_base->per0modrst, eccmask); in socfpga_emac_manage_reset()