Lines Matching full:bch
13 #include <linux/bch.h>
150 * @errloc: Array of errors located with soft BCH
152 * @bch: BCH structure
170 struct bch_control *bch; member
293 * The hardware BCH ECC engine is known to be inconstent in BCH mode and never
295 * software BCH implementation in the read path.
353 * For each step, compute by softare the BCH syndrome over the raw data. in anfc_read_page_hw_ecc()
368 bf = bch_decode(anand->bch, raw_buf, chip->ecc.size, in anfc_read_page_hw_ecc()
1005 anand->bch = bch_init(bch_gf_mag, ecc->strength, bch_prim_poly, true); in anfc_init_hw_ecc_controller()
1006 if (!anand->bch) in anfc_init_hw_ecc_controller()
1080 if (anand->bch) in anfc_detach_chip()
1081 bch_free(anand->bch); in anfc_detach_chip()