Home
last modified time | relevance | path

Searched refs:spare_area_size (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c291 unsigned int spare_area_size; member
1090 int spare_area_size, ecc_level; in brcmnand_get_ecc_settings() local
1093 spare_area_size = brcmnand_get_spare_size(host); in brcmnand_get_ecc_settings()
1098 else if (spare_area_size == 16 && ecc_level == 15) in brcmnand_get_ecc_settings()
1238 return cfg->sector_size_1k == 0 && cfg->spare_area_size == 16 && in is_hamming_ecc()
1241 return cfg->sector_size_1k == 0 && ((cfg->spare_area_size == 16 && in is_hamming_ecc()
1243 (cfg->spare_area_size == 28 && cfg->ecc_level == 16)); in is_hamming_ecc()
1257 int sas = cfg->spare_area_size << cfg->sector_size_1k; in brcmnand_hamming_ooblayout_ecc()
1275 int sas = cfg->spare_area_size << cfg->sector_size_1k; in brcmnand_hamming_ooblayout_free()
1315 int sas = cfg->spare_area_size << cfg->sector_size_1k; in brcmnand_bch_ooblayout_ecc()
[all …]