Home
last modified time | relevance | path

Searched full:hamming (Results 1 – 22 of 22) sorted by relevance

/linux/include/linux/mtd/
H A Dnand-ecc-sw-hamming.h7 * This file is the header for the NAND Hamming ECC implementation.
16 * struct nand_ecc_sw_hamming_conf - private software Hamming ECC engine structure
/linux/tools/lib/
H A Dhweight.c6 * hweightN - returns the hamming weight of a N-bit word
9 * The Hamming Weight of a number is the total number of bits set in it.
/linux/fs/ocfs2/
H A Dblockcheck.h59 * Hamming code functions
63 * Encoding hamming code parity bits for a buffer.
H A Dblockcheck.c37 * Calculate the bit offset in the hamming code buffer based on the bit's
38 * offset in the data buffer. Since the hamming code reserves all
42 * Recall that bit numbers in hamming code are 1-based. This function
104 * b is the hamming code bit number. Hamming code specifies a in ocfs2_hamming_encode()
H A Docfs2_fs.h411 This is a simple Hamming code dependent
/linux/lib/
H A Dhweight.c7 * hweightN - returns the hamming weight of a N-bit word
10 * The Hamming Weight of a number is the total number of bits set in it.
/linux/drivers/mtd/devices/
H A Ddocg3.c40 * - a 1 byte Hamming code stored in the OOB for each page
45 * + 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 Hamming
573 * The function does initialize the hardware ECC engine to compute the Hamming
590 * doc_ecc_disable - Disable Hamming and BCH ECC hardware calculator
603 * doc_hamming_ecc_init - Initialize hardware Hamming ECC engine
605 * @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 the
931 doc_dbg("OOB - HAMMING: %02x\n", oobbuf[7]); in doc_read_oob()
[all …]
/linux/arch/sparc/include/asm/
H A Dbitops_64.h42 * hweightN: returns the hamming weight (i.e. the number
/linux/Documentation/devicetree/bindings/mtd/
H A Dnand-chip.yaml49 enum: [hamming, bch, rs]
/linux/arch/mips/boot/dts/loongson/
H A Dloongson1c.dtsi118 nand-ecc-algo = "hamming";
H A Dloongson1b.dtsi171 nand-ecc-algo = "hamming";
/linux/drivers/mtd/nand/raw/
H A Dstm32_fmc2_nand.c326 /* 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 calculation
1644 * 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()
H A Dmarvell_nand.c13 * The main visible difference is that NFCv1 only has Hamming ECC
20 * When using Hamming, the data is split in 512B chunks (either 1, 2
26 * controller when Hamming is chosen:
1033 /* Hamming read helpers */
1131 * Spare area in Hamming layouts is not protected by the ECC engine (even if
1144 /* Hamming write helpers */
1238 * Spare area in Hamming layouts is not protected by the ECC engine (even if
H A Dmxic_nand.c15 #include <linux/mtd/nand-ecc-sw-hamming.h>
/linux/drivers/mtd/tests/
H A Dmtd_nandecctest.c11 #include <linux/mtd/nand-ecc-sw-hamming.h>
/linux/drivers/mtd/nand/
H A Decc-sw-hamming.c21 #include <linux/mtd/nand-ecc-sw-hamming.h>
660 MODULE_DESCRIPTION("NAND software Hamming ECC support");
/linux/arch/alpha/include/asm/
H A Dbitops.h417 * hweightN: returns the hamming weight (i.e. the number
/linux/Documentation/driver-api/mtd/
H A Dnand_ecc.rst8 Having looked at the linux mtd/nand Hamming software ECC engine driver
26 This is done by means of a Hamming code. I'll try to explain it in
/linux/arch/mips/mm/
H A Dcerr-sb1.c275 /* Masks to select bits for Hamming parity, mask_72_64[i] for bit[i] */
/linux/drivers/cxl/
H A Dacpi.c49 * hweight64(). If the hamming weight is even the XOR of those in cxl_apply_xor_maps()
/linux/drivers/mtd/
H A Dsm_ftl.c16 #include <linux/mtd/nand-ecc-sw-hamming.h>
/linux/fs/nfsd/
H A Dnfs4xdr.c3328 /* 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()