Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/raw/
H A Domap2.c903 unsigned int ecc_size1, ecc_size0; in omap_enable_hwecc_bch() local
911 ecc_size0 = BCH_ECC_SIZE0; in omap_enable_hwecc_bch()
919 ecc_size0 = BCH4R_ECC_SIZE0; in omap_enable_hwecc_bch()
923 ecc_size0 = BCH_ECC_SIZE0; in omap_enable_hwecc_bch()
931 ecc_size0 = BCH_ECC_SIZE0; in omap_enable_hwecc_bch()
939 ecc_size0 = BCH8R_ECC_SIZE0; in omap_enable_hwecc_bch()
943 ecc_size0 = BCH_ECC_SIZE0; in omap_enable_hwecc_bch()
952 ecc_size0 = 52; /* ECC bits in nibbles per sector */ in omap_enable_hwecc_bch()
956 ecc_size0 = 0; /* extra bits in nibbles per sector */ in omap_enable_hwecc_bch()
967 val = (ecc_size1 << ECCSIZE1_SHIFT) | (ecc_size0 << ECCSIZE0_SHIFT); in omap_enable_hwecc_bch()