Searched refs:spare_area_size (Results 1 – 1 of 1) sorted by relevance
162 unsigned int spare_area_size; member778 return cfg->sector_size_1k == 0 && cfg->spare_area_size == 16 && in is_hamming_ecc()802 sas = cfg->spare_area_size << cfg->sector_size_1k; in brcmnand_create_layout()1798 tmp |= cfg->spare_area_size; in brcmnand_set_cfg()1817 cfg->spare_area_size, cfg->device_width); in brcmnand_print_cfg()1857 cfg->spare_area_size = mtd->oobsize / in brcmnand_setup_dev()1860 cfg->spare_area_size = oob_sector; in brcmnand_setup_dev()1862 if (cfg->spare_area_size > ctrl->max_oob) in brcmnand_setup_dev()1863 cfg->spare_area_size = ctrl->max_oob; in brcmnand_setup_dev()1868 mtd->oobsize = cfg->spare_area_size * (mtd->writesize >> FC_SHIFT); in brcmnand_setup_dev()