Lines Matching refs:ecc_code
620 const u_char *dat, u_char *ecc_code) in s3c2410_nand_calculate_ecc() argument
625 ecc_code[0] = readb(info->regs + S3C2410_NFECC + 0); in s3c2410_nand_calculate_ecc()
626 ecc_code[1] = readb(info->regs + S3C2410_NFECC + 1); in s3c2410_nand_calculate_ecc()
627 ecc_code[2] = readb(info->regs + S3C2410_NFECC + 2); in s3c2410_nand_calculate_ecc()
629 pr_debug("%s: returning ecc %*phN\n", __func__, 3, ecc_code); in s3c2410_nand_calculate_ecc()
635 const u_char *dat, u_char *ecc_code) in s3c2412_nand_calculate_ecc() argument
641 ecc_code[0] = ecc; in s3c2412_nand_calculate_ecc()
642 ecc_code[1] = ecc >> 8; in s3c2412_nand_calculate_ecc()
643 ecc_code[2] = ecc >> 16; in s3c2412_nand_calculate_ecc()
645 pr_debug("%s: returning ecc %*phN\n", __func__, 3, ecc_code); in s3c2412_nand_calculate_ecc()
651 const u_char *dat, u_char *ecc_code) in s3c2440_nand_calculate_ecc() argument
657 ecc_code[0] = ecc; in s3c2440_nand_calculate_ecc()
658 ecc_code[1] = ecc >> 8; in s3c2440_nand_calculate_ecc()
659 ecc_code[2] = ecc >> 16; in s3c2440_nand_calculate_ecc()