Lines Matching full:onfi
684 * pmecc_choose_ecc - Get ecc requirement from ONFI parameters. If
686 * ONFI ECC parameters.
688 * if host->pmecc_corr_cap is 0 then set it as the ONFI ecc_bits.
689 * if host->pmecc_sector_size is 0 then set it as the ONFI sector_size.
691 * @cap: store the ONFI ECC correct bits capbility
692 * @sector_size: in how many bytes that ONFI require to correct @ecc_bits
700 /* Get ECC requirement from ONFI parameters */ in pmecc_choose_ecc()
705 pr_debug("ONFI params, minimum required ECC: %d bits in %d bytes\n", in pmecc_choose_ecc()
710 /* Non-ONFI compliant */ in pmecc_choose_ecc()
711 dev_info(host->dev, "NAND chip is not ONFI compliant, assume ecc_bits is 2 in 512 bytes\n"); in pmecc_choose_ecc()
716 /* If head file doesn't specify then use the one in ONFI parameters */ in pmecc_choose_ecc()
828 /* Get ECC requirement of ONFI parameters. And if CONFIG_PMECC_CAP or in atmel_pmecc_nand_init_params()
830 * from ONFI. in atmel_pmecc_nand_init_params()
839 …dev_info(host->dev, "WARNING: Using different ecc correct bits(%d bit) from Nand ONFI ECC reqireme… in atmel_pmecc_nand_init_params()
842 …dev_info(host->dev, "WARNING: Using different ecc correct sector size (%d bytes) from Nand ONFI EC… in atmel_pmecc_nand_init_params()