Lines Matching refs:ecc_code
613 const u_char *dat, u_char *ecc_code) in s3c2410_nand_calculate_ecc() argument
618 ecc_code[0] = readb(info->regs + S3C2410_NFECC + 0); in s3c2410_nand_calculate_ecc()
619 ecc_code[1] = readb(info->regs + S3C2410_NFECC + 1); in s3c2410_nand_calculate_ecc()
620 ecc_code[2] = readb(info->regs + S3C2410_NFECC + 2); in s3c2410_nand_calculate_ecc()
622 pr_debug("%s: returning ecc %*phN\n", __func__, 3, ecc_code); in s3c2410_nand_calculate_ecc()
628 const u_char *dat, u_char *ecc_code) in s3c2412_nand_calculate_ecc() argument
634 ecc_code[0] = ecc; in s3c2412_nand_calculate_ecc()
635 ecc_code[1] = ecc >> 8; in s3c2412_nand_calculate_ecc()
636 ecc_code[2] = ecc >> 16; in s3c2412_nand_calculate_ecc()
638 pr_debug("%s: returning ecc %*phN\n", __func__, 3, ecc_code); in s3c2412_nand_calculate_ecc()
644 const u_char *dat, u_char *ecc_code) in s3c2440_nand_calculate_ecc() argument
650 ecc_code[0] = ecc; in s3c2440_nand_calculate_ecc()
651 ecc_code[1] = ecc >> 8; in s3c2440_nand_calculate_ecc()
652 ecc_code[2] = ecc >> 16; in s3c2440_nand_calculate_ecc()