Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/raw/
H A Domap2.c1016 bch_val1 = readl(gpmc_regs->gpmc_bch_result0[i]); in _omap_calculate_ecc_bch()
1029 *ecc_code++ = ((bch_val1 >> 24) & 0xFF); in _omap_calculate_ecc_bch()
1030 *ecc_code++ = ((bch_val1 >> 16) & 0xFF); in _omap_calculate_ecc_bch()
1031 *ecc_code++ = ((bch_val1 >> 8) & 0xFF); in _omap_calculate_ecc_bch()
1032 *ecc_code++ = (bch_val1 & 0xFF); in _omap_calculate_ecc_bch()
1036 bch_val1 = readl(gpmc_regs->gpmc_bch_result0[i]); in _omap_calculate_ecc_bch()
1041 ((bch_val1 >> 28) & 0xF); in _omap_calculate_ecc_bch()
1042 *ecc_code++ = ((bch_val1 >> 20) & 0xFF); in _omap_calculate_ecc_bch()
1043 *ecc_code++ = ((bch_val1 >> 12) & 0xFF); in _omap_calculate_ecc_bch()
1044 *ecc_code++ = ((bch_val1 >> 4) & 0xFF); in _omap_calculate_ecc_bch()
[all …]