Lines Matching refs:ecc_code
615 const u_char *dat, u_char *ecc_code) in s3c2410_nand_calculate_ecc() argument
620 ecc_code[0] = readb(info->regs + S3C2410_NFECC + 0); in s3c2410_nand_calculate_ecc()
621 ecc_code[1] = readb(info->regs + S3C2410_NFECC + 1); in s3c2410_nand_calculate_ecc()
622 ecc_code[2] = readb(info->regs + S3C2410_NFECC + 2); in s3c2410_nand_calculate_ecc()
624 pr_debug("%s: returning ecc %*phN\n", __func__, 3, ecc_code); in s3c2410_nand_calculate_ecc()
630 const u_char *dat, u_char *ecc_code) in s3c2412_nand_calculate_ecc() argument
636 ecc_code[0] = ecc; in s3c2412_nand_calculate_ecc()
637 ecc_code[1] = ecc >> 8; in s3c2412_nand_calculate_ecc()
638 ecc_code[2] = ecc >> 16; in s3c2412_nand_calculate_ecc()
640 pr_debug("%s: returning ecc %*phN\n", __func__, 3, ecc_code); in s3c2412_nand_calculate_ecc()
646 const u_char *dat, u_char *ecc_code) in s3c2440_nand_calculate_ecc() argument
652 ecc_code[0] = ecc; in s3c2440_nand_calculate_ecc()
653 ecc_code[1] = ecc >> 8; in s3c2440_nand_calculate_ecc()
654 ecc_code[2] = ecc >> 16; in s3c2440_nand_calculate_ecc()