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

/u-boot/drivers/mtd/nand/raw/
H A Domap_elm.c32 * elm_load_syndromes - Load BCH syndromes based on bch_type selection
34 * @bch_type: BCH4/BCH8/BCH16
37 static void elm_load_syndromes(u8 *syndrome, enum bch_level bch_type, u8 poly) argument
53 if (bch_type == BCH_8_BIT || bch_type == BCH_16_BIT) {
66 if (bch_type == BCH_16_BIT) {
90 * @bch_type: BCH4/BCH8/BCH16
98 int elm_check_error(u8 *syndrome, enum bch_level bch_type, u32 *error_count, argument
105 elm_load_syndromes(syndrome, bch_type, poly);
H A Domap_elm.h73 int elm_check_error(u8 *syndrome, enum bch_level bch_type, u32 *error_count,
H A Domap_gpmc.c281 unsigned int bch_type; local
291 bch_type = 1;
298 bch_type = 1;
311 bch_type = 0x2;
337 (bch_type << 12) | /* BCH4/BCH8/BCH16 */
597 enum bch_level bch_type; local
652 bch_type = BCH_8_BIT;
656 bch_type = BCH_16_BIT;
663 elm_config(bch_type);
665 err = elm_check_error(calc_ecc, bch_type,
[all...]

Completed in 114 milliseconds