Lines Matching full:onfi
683 * pmecc_choose_ecc - Get ecc requirement from ONFI parameters. If
685 * ONFI ECC parameters.
687 * if host->pmecc_corr_cap is 0 then set it as the ONFI ecc_bits.
688 * if host->pmecc_sector_size is 0 then set it as the ONFI sector_size.
690 * @cap: store the ONFI ECC correct bits capbility
691 * @sector_size: in how many bytes that ONFI require to correct @ecc_bits
699 /* Get ECC requirement from ONFI parameters */ in pmecc_choose_ecc()
704 pr_debug("ONFI params, minimum required ECC: %d bits in %d bytes\n", in pmecc_choose_ecc()
709 /* Non-ONFI compliant */ in pmecc_choose_ecc()
710 dev_info(host->dev, "NAND chip is not ONFI compliant, assume ecc_bits is 2 in 512 bytes\n"); in pmecc_choose_ecc()
715 /* If head file doesn't specify then use the one in ONFI parameters */ in pmecc_choose_ecc()
827 /* Get ECC requirement of ONFI parameters. And if CONFIG_PMECC_CAP or in atmel_pmecc_nand_init_params()
829 * from ONFI. in atmel_pmecc_nand_init_params()
838 …dev_info(host->dev, "WARNING: Using different ecc correct bits(%d bit) from Nand ONFI ECC reqireme… in atmel_pmecc_nand_init_params()
841 …dev_info(host->dev, "WARNING: Using different ecc correct sector size (%d bytes) from Nand ONFI EC… in atmel_pmecc_nand_init_params()