Home
last modified time | relevance | path

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

/drivers/mtd/nand/
Domap_elm.c87 enum bch_ecc bch_type; member
110 int elm_config(struct device *dev, enum bch_ecc bch_type, in elm_config() argument
131 reg_val = (bch_type & ECC_BCH_LEVEL_MASK) | (ELM_ECC_SIZE << 16); in elm_config()
133 info->bch_type = bch_type; in elm_config()
184 switch (info->bch_type) { in elm_load_syndrome()
451 enum bch_ecc bch_type = info->bch_type; in elm_context_save() local
460 switch (bch_type) { in elm_context_save()
497 enum bch_ecc bch_type = info->bch_type; in elm_context_restore() local
506 switch (bch_type) { in elm_context_restore()
Domap2.c1041 unsigned int bch_type; in omap_enable_hwecc_bch() local
1052 bch_type = 0; in omap_enable_hwecc_bch()
1059 bch_type = 0; in omap_enable_hwecc_bch()
1072 bch_type = 1; in omap_enable_hwecc_bch()
1079 bch_type = 1; in omap_enable_hwecc_bch()
1092 bch_type = 0x2; in omap_enable_hwecc_bch()
1118 (bch_type << 12) | /* BCH4/BCH8/BCH16 */ in omap_enable_hwecc_bch()