Searched refs:bch_type (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/include/linux/platform_data/
H A Delm.h48 int elm_config(struct device *dev, enum bch_ecc bch_type,
57 static inline int elm_config(struct device *dev, enum bch_ecc bch_type, elm_config() argument
/linux-4.4.14/drivers/mtd/nand/
H A Domap_elm.c87 enum bch_ecc bch_type; member in struct:elm_info
108 * @bch_type: Type of BCH ecc
110 int elm_config(struct device *dev, enum bch_ecc bch_type, elm_config() argument
131 reg_val = (bch_type & ECC_BCH_LEVEL_MASK) | (ELM_ECC_SIZE << 16); elm_config()
133 info->bch_type = bch_type; elm_config()
184 switch (info->bch_type) { elm_load_syndrome()
239 pr_err("invalid config bch_type\n"); elm_load_syndrome()
451 enum bch_ecc bch_type = info->bch_type; elm_context_save() local
460 switch (bch_type) { elm_context_save()
497 enum bch_ecc bch_type = info->bch_type; elm_context_restore() local
506 switch (bch_type) { elm_context_restore()
H A Domap2.c1059 unsigned int bch_type; omap_enable_hwecc_bch() local
1071 bch_type = 0; omap_enable_hwecc_bch()
1078 bch_type = 0; omap_enable_hwecc_bch()
1091 bch_type = 1; omap_enable_hwecc_bch()
1098 bch_type = 1; omap_enable_hwecc_bch()
1111 bch_type = 0x2; omap_enable_hwecc_bch()
1137 (bch_type << 12) | /* BCH4/BCH8/BCH16 */ omap_enable_hwecc_bch()

Completed in 68 milliseconds