Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Domap2.c1147 unsigned long bch_val1, bch_val2, bch_val3, bch_val4; in _omap_calculate_ecc_bch() local
1155 bch_val1 = readl(gpmc_regs->gpmc_bch_result0[i]); in _omap_calculate_ecc_bch()
1168 *ecc_code++ = ((bch_val1 >> 24) & 0xFF); in _omap_calculate_ecc_bch()
1169 *ecc_code++ = ((bch_val1 >> 16) & 0xFF); in _omap_calculate_ecc_bch()
1170 *ecc_code++ = ((bch_val1 >> 8) & 0xFF); in _omap_calculate_ecc_bch()
1171 *ecc_code++ = (bch_val1 & 0xFF); in _omap_calculate_ecc_bch()
1175 bch_val1 = readl(gpmc_regs->gpmc_bch_result0[i]); in _omap_calculate_ecc_bch()
1180 ((bch_val1 >> 28) & 0xF); in _omap_calculate_ecc_bch()
1181 *ecc_code++ = ((bch_val1 >> 20) & 0xFF); in _omap_calculate_ecc_bch()
1182 *ecc_code++ = ((bch_val1 >> 12) & 0xFF); in _omap_calculate_ecc_bch()
[all …]