Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/mtd/nand/raw/
Domap2.c1008 unsigned long bch_val1, bch_val2, bch_val3, bch_val4; in _omap_calculate_ecc_bch() local
1017 bch_val2 = readl(gpmc_regs->gpmc_bch_result1[i]); in _omap_calculate_ecc_bch()
1025 *ecc_code++ = ((bch_val2 >> 24) & 0xFF); in _omap_calculate_ecc_bch()
1026 *ecc_code++ = ((bch_val2 >> 16) & 0xFF); in _omap_calculate_ecc_bch()
1027 *ecc_code++ = ((bch_val2 >> 8) & 0xFF); in _omap_calculate_ecc_bch()
1028 *ecc_code++ = (bch_val2 & 0xFF); in _omap_calculate_ecc_bch()
1037 bch_val2 = readl(gpmc_regs->gpmc_bch_result1[i]); in _omap_calculate_ecc_bch()
1038 *ecc_code++ = ((bch_val2 >> 12) & 0xFF); in _omap_calculate_ecc_bch()
1039 *ecc_code++ = ((bch_val2 >> 4) & 0xFF); in _omap_calculate_ecc_bch()
1040 *ecc_code++ = ((bch_val2 & 0xF) << 4) | in _omap_calculate_ecc_bch()