Lines Matching refs:ecc_code
616 const u_char *dat, u_char *ecc_code) in s3c2410_nand_calculate_ecc() argument
621 ecc_code[0] = readb(info->regs + S3C2410_NFECC + 0); in s3c2410_nand_calculate_ecc()
622 ecc_code[1] = readb(info->regs + S3C2410_NFECC + 1); in s3c2410_nand_calculate_ecc()
623 ecc_code[2] = readb(info->regs + S3C2410_NFECC + 2); in s3c2410_nand_calculate_ecc()
625 pr_debug("%s: returning ecc %*phN\n", __func__, 3, ecc_code); in s3c2410_nand_calculate_ecc()
631 const u_char *dat, u_char *ecc_code) in s3c2412_nand_calculate_ecc() argument
637 ecc_code[0] = ecc; in s3c2412_nand_calculate_ecc()
638 ecc_code[1] = ecc >> 8; in s3c2412_nand_calculate_ecc()
639 ecc_code[2] = ecc >> 16; in s3c2412_nand_calculate_ecc()
641 pr_debug("%s: returning ecc %*phN\n", __func__, 3, ecc_code); in s3c2412_nand_calculate_ecc()
647 const u_char *dat, u_char *ecc_code) in s3c2440_nand_calculate_ecc() argument
653 ecc_code[0] = ecc; in s3c2440_nand_calculate_ecc()
654 ecc_code[1] = ecc >> 8; in s3c2440_nand_calculate_ecc()
655 ecc_code[2] = ecc >> 16; in s3c2440_nand_calculate_ecc()