Lines Matching refs:ecc_opt
151 enum omap_ecc ecc_opt; member
901 enum omap_ecc ecc_opt = info->ecc_opt; in omap_enable_hwecc_bch() local
906 switch (ecc_opt) { in omap_enable_hwecc_bch()
1013 switch (info->ecc_opt) { in _omap_calculate_ecc_bch()
1087 switch (info->ecc_opt) { in _omap_calculate_ecc_bch()
1231 switch (info->ecc_opt) { in omap_elm_correct_data()
1323 switch (info->ecc_opt) { in omap_elm_correct_data()
1612 switch (info->ecc_opt) { in omap2_nand_ecc_check()
1687 info->ecc_opt = OMAP_ECC_HAM1_CODE_SW; in omap_get_dt_info()
1690 info->ecc_opt = OMAP_ECC_HAM1_CODE_HW; in omap_get_dt_info()
1693 info->ecc_opt = OMAP_ECC_BCH4_CODE_HW; in omap_get_dt_info()
1695 info->ecc_opt = OMAP_ECC_BCH4_CODE_HW_DETECTION_SW; in omap_get_dt_info()
1698 info->ecc_opt = OMAP_ECC_BCH8_CODE_HW; in omap_get_dt_info()
1700 info->ecc_opt = OMAP_ECC_BCH8_CODE_HW_DETECTION_SW; in omap_get_dt_info()
1702 info->ecc_opt = OMAP_ECC_BCH16_CODE_HW; in omap_get_dt_info()
1731 if (info->ecc_opt == OMAP_ECC_HAM1_CODE_HW && in omap_ooblayout_ecc()
1751 if (info->ecc_opt == OMAP_ECC_HAM1_CODE_HW && in omap_ooblayout_free()
1925 if (info->ecc_opt == OMAP_ECC_HAM1_CODE_SW) { in omap_nand_attach_chip()
1932 switch (info->ecc_opt) { in omap_nand_attach_chip()