Home
last modified time | relevance | path

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

/u-boot/drivers/mtd/nand/raw/
A Domap_elm.c37 static void elm_load_syndromes(u8 *syndrome, enum bch_level bch_type, u8 poly) in elm_load_syndromes() argument
53 if (bch_type == BCH_8_BIT || bch_type == BCH_16_BIT) { in elm_load_syndromes()
66 if (bch_type == BCH_16_BIT) { in elm_load_syndromes()
98 int elm_check_error(u8 *syndrome, enum bch_level bch_type, u32 *error_count, in elm_check_error() argument
105 elm_load_syndromes(syndrome, bch_type, poly); in elm_check_error()
A Domap_elm.h73 int elm_check_error(u8 *syndrome, enum bch_level bch_type, u32 *error_count,
A Domap_gpmc.c278 unsigned int bch_type; in omap_enable_hwecc_bch() local
288 bch_type = 1; in omap_enable_hwecc_bch()
295 bch_type = 1; in omap_enable_hwecc_bch()
308 bch_type = 0x2; in omap_enable_hwecc_bch()
334 (bch_type << 12) | /* BCH4/BCH8/BCH16 */ in omap_enable_hwecc_bch()
639 enum bch_level bch_type; in omap_correct_data_bch() local
694 bch_type = BCH_8_BIT; in omap_correct_data_bch()
698 bch_type = BCH_16_BIT; in omap_correct_data_bch()
705 elm_config(bch_type); in omap_correct_data_bch()
707 err = elm_check_error(calc_ecc, bch_type, &error_count, error_loc); in omap_correct_data_bch()

Completed in 11 milliseconds