Lines Matching defs:dat
868 * @dat: page data
879 static int omap_correct_data(struct nand_chip *chip, u_char *dat,
895 ret = omap_compare_ecc(read_ecc, calc_ecc, dat);
903 dat += 512;
911 * @dat: The pointer to data on which ecc is computed
920 static int omap_calculate_ecc(struct nand_chip *chip, const u_char *dat,
1133 * @dat: The pointer to data on which ecc is computed
1141 const u_char *dat, u_char *ecc_calc, int i)
1261 * @dat: The pointer to data on which ecc is computed
1269 const u_char *dat, u_char *ecc_calc)
1271 return _omap_calculate_ecc_bch(nand_to_mtd(chip), dat, ecc_calc, 0);
1277 * @dat: The pointer to data on which ecc is computed
1283 const u_char *dat, u_char *ecc_calc)
1292 ret = _omap_calculate_ecc_bch(mtd, dat, ecc_calc, i);
1484 pr_debug("bitflip@dat[%d]=%x\n",