Searched full:hamming (Results 1 – 22 of 22) sorted by relevance
7 * This file is the header for the NAND Hamming ECC implementation.16 * struct nand_ecc_sw_hamming_conf - private software Hamming ECC engine structure
6 * hweightN - returns the hamming weight of a N-bit word9 * The Hamming Weight of a number is the total number of bits set in it.
59 * Hamming code functions63 * Encoding hamming code parity bits for a buffer.
37 * Calculate the bit offset in the hamming code buffer based on the bit's38 * offset in the data buffer. Since the hamming code reserves all42 * Recall that bit numbers in hamming code are 1-based. This function104 * b is the hamming code bit number. Hamming code specifies a in ocfs2_hamming_encode()
411 This is a simple Hamming code dependent
7 * hweightN - returns the hamming weight of a N-bit word10 * The Hamming Weight of a number is the total number of bits set in it.
40 * - a 1 byte Hamming code stored in the OOB for each page45 * + 1 hamming byte)62 /* byte 7 is Hamming ECC, byte 8-14 are BCH ECC */ in docg3_ooblayout_ecc()552 * The function does initialize the hardware ECC engine to compute the Hamming573 * The function does initialize the hardware ECC engine to compute the Hamming590 * doc_ecc_disable - Disable Hamming and BCH ECC hardware calculator603 * doc_hamming_ecc_init - Initialize hardware Hamming ECC engine605 * @nb_bytes: the number of bytes covered by the ECC (Hamming covered)607 * This function programs the ECC hardware to compute the hamming code on the931 doc_dbg("OOB - HAMMING: %02x\n", oobbuf[7]); in doc_read_oob()[all …]
42 * hweightN: returns the hamming weight (i.e. the number
49 enum: [hamming, bch, rs]
118 nand-ecc-algo = "hamming";
171 nand-ecc-algo = "hamming";
326 /* Configure ECC algorithm (default configuration is Hamming) */ in stm32_fmc2_nfc_setup()392 * Hamming: we read HECCR register in stm32_fmc2_nfc_select_chip()499 * ECC Hamming calculation1644 * the mode (polling/sequencer) and the algo used (Hamming, BCH). in stm32_fmc2_nfc_nand_callbacks_setup()1657 /* Hamming is used */ in stm32_fmc2_nfc_nand_callbacks_setup()1715 /* Hamming */ in stm32_fmc2_nfc_calc_ecc_bytes()1739 * Hamming => ecc.strength = 1 in stm32_fmc2_nfc_attach_chip()
13 * The main visible difference is that NFCv1 only has Hamming ECC20 * When using Hamming, the data is split in 512B chunks (either 1, 226 * controller when Hamming is chosen:1033 /* Hamming read helpers */1131 * Spare area in Hamming layouts is not protected by the ECC engine (even if1144 /* Hamming write helpers */1238 * Spare area in Hamming layouts is not protected by the ECC engine (even if
15 #include <linux/mtd/nand-ecc-sw-hamming.h>
11 #include <linux/mtd/nand-ecc-sw-hamming.h>
21 #include <linux/mtd/nand-ecc-sw-hamming.h>660 MODULE_DESCRIPTION("NAND software Hamming ECC support");
417 * hweightN: returns the hamming weight (i.e. the number
8 Having looked at the linux mtd/nand Hamming software ECC engine driver26 This is done by means of a Hamming code. I'll try to explain it in
275 /* Masks to select bits for Hamming parity, mask_72_64[i] for bit[i] */
49 * hweight64(). If the hamming weight is even the XOR of those in cxl_apply_xor_maps()
16 #include <linux/mtd/nand-ecc-sw-hamming.h>
3328 /* Hamming weight of @mask is the number of layout types to return */ in nfsd4_encode_fattr4_fs_layout_types()3346 /* Hamming weight of @mask is the number of layout types to return */ in nfsd4_encode_fattr4_layout_types()