Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/mtd/nand/raw/
Domap_elm.c77 enum bch_ecc bch_type; member
103 int elm_config(struct device *dev, enum bch_ecc bch_type, in elm_config() argument
124 reg_val = (bch_type & ECC_BCH_LEVEL_MASK) | (ELM_ECC_SIZE << 16); in elm_config()
126 info->bch_type = bch_type; in elm_config()
177 switch (info->bch_type) { in elm_load_syndrome()
439 enum bch_ecc bch_type = info->bch_type; in elm_context_save() local
448 switch (bch_type) { in elm_context_save()
487 enum bch_ecc bch_type = info->bch_type; in elm_context_restore() local
496 switch (bch_type) { in elm_context_restore()
Domap2.c898 unsigned int bch_type; in omap_enable_hwecc_bch() local
908 bch_type = 0; in omap_enable_hwecc_bch()
915 bch_type = 0; in omap_enable_hwecc_bch()
928 bch_type = 1; in omap_enable_hwecc_bch()
935 bch_type = 1; in omap_enable_hwecc_bch()
948 bch_type = 0x2; in omap_enable_hwecc_bch()
974 (bch_type << 12) | /* BCH4/BCH8/BCH16 */ in omap_enable_hwecc_bch()
/Linux-v6.6/include/linux/platform_data/
Delm.h38 int elm_config(struct device *dev, enum bch_ecc bch_type,
47 static inline int elm_config(struct device *dev, enum bch_ecc bch_type, in elm_config() argument