Home
last modified time | relevance | path

Searched refs:bch (Results 1 – 22 of 22) sorted by relevance

/external/u-boot/lib/
Dbch.c154 static void encode_bch_unaligned(struct bch_control *bch, in encode_bch_unaligned() argument
160 const int l = BCH_ECC_WORDS(bch)-1; in encode_bch_unaligned()
163 p = bch->mod8_tab + (l+1)*(((ecc[0] >> 24)^(*data++)) & 0xff); in encode_bch_unaligned()
175 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8() argument
179 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in load_ecc8()
184 memcpy(pad, src, BCH_ECC_BYTES(bch)-4*nwords); in load_ecc8()
191 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8() argument
195 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in store_ecc8()
207 memcpy(dst, pad, BCH_ECC_BYTES(bch)-4*nwords); in store_ecc8()
224 void encode_bch(struct bch_control *bch, const uint8_t *data, in encode_bch() argument
[all …]
DMakefile77 obj-$(CONFIG_BCH) += bch.o
DKconfig6 Enables software based BCH ECC algorithm present in lib/bch.c
/external/u-boot/drivers/mtd/nand/
Dnand_bch.c29 struct bch_control *bch; member
49 encode_bch(nbc->bch, buf, chip->ecc.size, code); in nand_bch_calculate_ecc()
75 count = decode_bch(nbc->bch, NULL, chip->ecc.size, read_ecc, calc_ecc, in nand_bch_correct_data()
138 nbc->bch = init_bch(m, t, 0); in nand_bch_init()
139 if (!nbc->bch) in nand_bch_init()
143 if (nbc->bch->ecc_bytes != eccbytes) { in nand_bch_init()
145 eccbytes, nbc->bch->ecc_bytes); in nand_bch_init()
204 encode_bch(nbc->bch, erased_page, eccsize, nbc->eccmask); in nand_bch_init()
226 free_bch(nbc->bch); in nand_bch_free()
Darasan_nfc.c162 u8 bch; member
1160 (ecc_matrix[found].bch << ARASAN_NAND_ECC_BCH_SHIFT); in arasan_nand_ecc_init()
1163 if (ecc_matrix[found].bch) { in arasan_nand_ecc_init()
/external/u-boot/board/ge/common/
Dvpd_reader.c54 struct bch_control *bch = init_bch(gfo, ecc_bits, prim_poly); in verify_bch() local
56 if (!bch) in verify_bch()
59 if (bch->ecc_bytes != ecc_length) { in verify_bch()
60 free_bch(bch); in verify_bch()
66 int errors = decode_bch(bch, data, data_length, ecc, NULL, NULL, in verify_bch()
69 free_bch(bch); in verify_bch()
/external/u-boot/include/linux/
Dbch.h58 void free_bch(struct bch_control *bch);
60 void encode_bch(struct bch_control *bch, const uint8_t *data,
63 int decode_bch(struct bch_control *bch, const uint8_t *data, unsigned int len,
/external/u-boot/tools/
Dsunxi-spl-image-builder.c115 struct bch_control *bch, int page) in write_page() argument
216 encode_bch(bch, buffer, info->ecc_step_size + 4, ecc); in write_page()
241 struct bch_control *bch; in create_image() local
245 bch = init_bch(14, info->ecc_strength, BCH_PRIMITIVE_POLY); in create_image()
246 if (!bch) { in create_image()
281 ret = write_page(info, buffer, src, rnd, dst, bch, page++); in create_image()
/external/u-boot/doc/
DREADME.omap3159 OMAP3 devices we can use the BCH library in lib/bch.c. To do so add CONFIG_BCH
/external/u-boot/arch/arm/dts/
Dimx6ul.dtsi167 reg-names = "gpmi-nand", "bch";
169 interrupt-names = "bch";
Dimx7s.dtsi1125 reg-names = "gpmi-nand", "bch";
1127 interrupt-names = "bch";
Dimx6qdl.dtsi99 reg-names = "gpmi-nand", "bch";
101 interrupt-names = "bch";
Dimx6ull.dtsi197 reg-names = "gpmi-nand", "bch";
199 interrupt-names = "bch";
Dimx6sx.dtsi190 reg-names = "gpmi-nand", "bch";
192 interrupt-names = "bch";
/external/icu/icu4c/source/data/misc/
DlikelySubtags.txt112 bch{"bch_Latn_ZZ"}
/external/cldr/tools/java/org/unicode/cldr/util/data/languages/
DentityToCode.tsv486 http://www.wikidata.org/entity/Q2884502 bch
/external/cldr/tools/java/org/unicode/cldr/util/data/
Diso-639-3_Name_Index.tab584 bch Bariai Bariai
Diso-639-3.tab569 bch I L Bariai
Dlanguage-subtag-registry4121 Subtag: bch
/external/honggfuzz/examples/apache-httpd/corpus_http2/
D03d7e517425430613d18e6cf09f06f50.000b6ce7.honggfuzz.cov10264 …Z���_��qۮc�;������ȟ��gq͉ ÁM>�9����)�����a����%gL���\��H��f��[Ԁۜ�O4���0-��Ubch������P
11664 …Z���_��qۮc�;������ȟ��gq͉ ÁM>�9����)�����a����%gL���\��H��f��[Ԁۜ�O4���0-��Ubch������P
D3d3fb7fca46cf046654b3288e5da3369.000fe6ac.honggfuzz.cov4645 …Z���_��qۮc�;������ȟ��gq͉ ÁM>�9����)�����a����%gL���\��H��f��[Ԁۜ�O4���0-��Ubch������P
D55044c8be4ce1a6abbad09188436d970.000fe6ac.honggfuzz.cov4645 …Z���_��qۮc�;������ȟ��gq͉ ÁM>�9����)�����a����%gL���\��H��f��[Ԁۜ�O4���0-��Ubch������P