Lines Matching refs:dat
773 * @dat: page data
784 static int omap_correct_data(struct nand_chip *chip, u_char *dat,
800 ret = omap_compare_ecc(read_ecc, calc_ecc, dat);
808 dat += 512;
816 * @dat: The pointer to data on which ecc is computed
825 static int omap_calculate_ecc(struct nand_chip *chip, const u_char *dat,
994 * @dat: The pointer to data on which ecc is computed
1002 const u_char *dat, u_char *ecc_calc, int i)
1122 * @dat: The pointer to data on which ecc is computed
1130 const u_char *dat, u_char *ecc_calc)
1132 return _omap_calculate_ecc_bch(nand_to_mtd(chip), dat, ecc_calc, 0);
1138 * @dat: The pointer to data on which ecc is computed
1144 const u_char *dat, u_char *ecc_calc)
1153 ret = _omap_calculate_ecc_bch(mtd, dat, ecc_calc, i);
1345 pr_debug("bitflip@dat[%d]=%x\n",