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

/linux-master/include/linux/platform_data/
H A 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, argument
/linux-master/drivers/mtd/nand/raw/
H A Domap_elm.c77 enum bch_ecc bch_type; member in struct:elm_info
98 * @bch_type: Type of BCH ecc
103 int elm_config(struct device *dev, enum bch_ecc bch_type, argument
124 reg_val = (bch_type & ECC_BCH_LEVEL_MASK) | (ELM_ECC_SIZE << 16);
126 info->bch_type = bch_type;
177 switch (info->bch_type) {
232 pr_err("invalid config bch_type\n");
439 enum bch_ecc bch_type = info->bch_type; local
487 enum bch_ecc bch_type = info->bch_type; local
[all...]
H A Domap2.c898 unsigned int bch_type; local
908 bch_type = 0;
915 bch_type = 0;
928 bch_type = 1;
935 bch_type = 1;
948 bch_type = 0x2;
974 (bch_type << 12) | /* BCH4/BCH8/BCH16 */

Completed in 223 milliseconds