Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/nand/
Domap_elm.c32 static void elm_load_syndromes(u8 *syndrome, enum bch_level bch_type, u8 poly) in elm_load_syndromes() argument
48 if (bch_type == BCH_8_BIT || bch_type == BCH_16_BIT) { in elm_load_syndromes()
61 if (bch_type == BCH_16_BIT) { in elm_load_syndromes()
93 int elm_check_error(u8 *syndrome, enum bch_level bch_type, u32 *error_count, in elm_check_error() argument
100 elm_load_syndromes(syndrome, bch_type, poly); in elm_check_error()
Domap_gpmc.c183 unsigned int bch_type = 0; in omap_enable_hwecc() local
195 bch_type = 0x0; in omap_enable_hwecc()
203 bch_type = 0x1; in omap_enable_hwecc()
216 bch_type = 0x2; in omap_enable_hwecc()
238 (bch_type << 12) | /* BCH4/BCH8/BCH16 */ in omap_enable_hwecc()
499 enum bch_level bch_type; in omap_correct_data_bch() local
528 bch_type = BCH_8_BIT; in omap_correct_data_bch()
532 bch_type = BCH_16_BIT; in omap_correct_data_bch()
539 elm_config(bch_type); in omap_correct_data_bch()
540 err = elm_check_error(calc_ecc, bch_type, &error_count, error_loc); in omap_correct_data_bch()
/external/u-boot/include/linux/mtd/
Domap_elm.h73 int elm_check_error(u8 *syndrome, enum bch_level bch_type, u32 *error_count,