Searched full:hamming (Results 1 – 24 of 24) sorted by relevance
19 bool "Software Hamming ECC engine"23 This enables support for software Hamming error45 codes are more powerful and cpu intensive than traditional Hamming
21 #include <linux/mtd/nand-ecc-sw-hamming.h>660 MODULE_DESCRIPTION("NAND software Hamming ECC support");
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 * DOC: __sw_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:1036 /* Hamming read helpers */ in marvell_nfc_hw_ecc_hmg_do_read_page() 1134 * Spare area in Hamming layouts is not protected by the ECC engine (even if1147 /* Hamming write helpers */ in marvell_nfc_hw_ecc_hmg_do_write_page() 1241 * 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>
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
40 * int nodes_weight(mask) Hamming weight - number of set bits
275 /* Masks to select bits for Hamming parity, mask_72_64[i] for bit[i] */
60 * hweight64(). If the hamming weight is even the XOR of those in cxl_do_xormap_calc()
16 #include <linux/mtd/nand-ecc-sw-hamming.h>
3333 /* Hamming weight of @mask is the number of layout types to return */ in nfsd4_encode_fattr4_fs_layout_types()3351 /* Hamming weight of @mask is the number of layout types to return */ in nfsd4_encode_fattr4_layout_types()