Home
last modified time | relevance | path

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

/drivers/mtd/nand/brcmnand/
Dbrcmnand.c168 unsigned int ecc_level; member
658 acc_control |= host->hwcfg.ecc_level in brcmnand_set_ecc_enabled()
779 cfg->ecc_level == 15; in is_hamming_ecc()
786 static struct nand_ecclayout *brcmnand_create_layout(int ecc_level, in brcmnand_create_layout() argument
839 req = DIV_ROUND_UP(ecc_level * 14, 8); in brcmnand_create_layout()
893 unsigned int ecc_level = p->ecc_level; in brcmstb_choose_ecc_layout() local
896 ecc_level <<= 1; in brcmstb_choose_ecc_layout()
898 layout = brcmnand_create_layout(ecc_level, host); in brcmstb_choose_ecc_layout()
1796 tmp |= cfg->ecc_level << NAND_ACC_CONTROL_ECC_SHIFT; in brcmnand_set_cfg()
1823 sprintf(buf, ", BCH-%u (1KiB sector)", cfg->ecc_level << 1); in brcmnand_print_cfg()
[all …]