/linux-master/drivers/mtd/nand/raw/ |
H A D | denali_pci.c | 102 dchip->chip.base.ecc.user_conf.flags |= NAND_ECC_MAXIMIZE_STRENGTH;
|
H A D | mpc5121_nfc.c | 604 if (chip->ecc.engine_type == NAND_ECC_ENGINE_TYPE_SOFT && 605 chip->ecc.algo == NAND_ECC_ALGO_UNKNOWN) 606 chip->ecc.algo = NAND_ECC_ALGO_HAMMING; 770 chip->ecc.engine_type = NAND_ECC_ENGINE_TYPE_SOFT;
|
H A D | fsl_upm.c | 50 fun->chip.ecc.engine_type = NAND_ECC_ENGINE_TYPE_SOFT; 51 fun->chip.ecc.algo = NAND_ECC_ALGO_HAMMING;
|
/linux-master/fs/pstore/ |
H A D | ram_core.c | 99 uint8_t *data, size_t len, uint8_t *ecc) 108 ecc[i] = prz->ecc_info.par[i]; 112 void *data, size_t len, uint8_t *ecc) 117 prz->ecc_info.par[i] = ecc[i]; 612 pr_debug("attached %s 0x%zx@0x%llx: %zu header, %zu data, %zu ecc (%d/%d)\n", 98 persistent_ram_encode_rs8(struct persistent_ram_zone *prz, uint8_t *data, size_t len, uint8_t *ecc) argument 111 persistent_ram_decode_rs8(struct persistent_ram_zone *prz, void *data, size_t len, uint8_t *ecc) argument
|
/linux-master/drivers/edac/ |
H A D | mce_amd.c | 797 int ecc; local 827 ecc = (m->status >> 45) & 0x3; 828 if (ecc) 829 pr_cont("|%sECC", ((ecc == 2) ? "C" : "U"));
|
H A D | fsl_ddr_edac.c | 194 u8 ecc = 0; local 210 ecc |= bit_cnt << i; 213 return ecc; 237 * Decode data and ecc syndrome to determine what went wrong
|
/linux-master/drivers/net/can/usb/ |
H A D | ems_usb.c | 162 u8 ecc; member in struct:cpc_sja1000_can_error 358 u8 ecc = msg->msg.error.cc.regs.sja1000.ecc; local 368 switch (ecc & SJA1000_ECC_MASK) { 379 cf->data[3] = ecc & SJA1000_ECC_SEG; 384 if ((ecc & SJA1000_ECC_DIR) == 0)
|
H A D | esd_usb.c | 151 u8 ecc; /* Error Capture Register */ member in struct:esd_usb_rx_msg::__anon985::__anon986 305 u8 ecc = msg->rx.ev_can_err_ext.ecc; local 311 "CAN_ERR_EV_EXT: dlc=%#02x state=%02x ecc=%02x rec=%02x tec=%02x\n", 312 msg->rx.dlc, state, ecc, 360 switch (ecc & ESD_USB_SJA1000_ECC_MASK) { 375 if (!(ecc & ESD_USB_SJA1000_ECC_DIR)) 379 cf->data[3] = ecc & ESD_USB_SJA1000_ECC_SEG;
|
H A D | f81604.c | 167 u8 ecc; member in struct:f81604_int_data 535 switch (data->ecc & F81604_SJA1000_ECC_MASK) { 550 cf->data[3] = data->ecc & F81604_SJA1000_ECC_SEG; 553 if ((data->ecc & F81604_SJA1000_ECC_DIR) == 0)
|
/linux-master/drivers/mtd/ |
H A D | sm_ftl.c | 16 #include <linux/mtd/nand-ecc-sw-hamming.h> 220 uint8_t ecc[3]; local 222 ecc_sw_hamming_calculate(buffer, SM_SMALL_PAGE, ecc, sm_order); 223 if (ecc_sw_hamming_correct(buffer, ecc, oob->ecc1, SM_SMALL_PAGE, 229 ecc_sw_hamming_calculate(buffer, SM_SMALL_PAGE, ecc, sm_order); 230 if (ecc_sw_hamming_correct(buffer, ecc, oob->ecc2, SM_SMALL_PAGE,
|
/linux-master/drivers/mtd/nand/onenand/ |
H A D | onenand_samsung.c | 314 unsigned int stat, ecc; local 354 ecc = s3c_read_reg(ECC_ERR_STAT_OFFSET); 355 if (ecc & ONENAND_ECC_4BIT_UNCORRECTABLE) { 357 ecc); 717 int ecc = s3c_read_reg(ECC_ERR_STAT_OFFSET); local 718 if (ecc & ONENAND_ECC_4BIT_UNCORRECTABLE) {
|
H A D | onenand_base.c | 64 * For now, we expose only 64 out of 80 ecc bytes 91 .ecc = flexonenand_ooblayout_ecc, 131 .ecc = onenand_ooblayout_128_ecc, 170 .ecc = onenand_ooblayout_32_64_ecc, 521 * onenand_read_ecc - return ecc status 526 int ecc, i, result = 0; local 532 ecc = this->read_word(this->base + ONENAND_REG_ECC_STATUS + i*2); 533 if (likely(!ecc)) 535 if (ecc & FLEXONENAND_UNCORRECTABLE_ERROR) 583 int ecc local 1490 unsigned int interrupt, ctrl, ecc, addr1, addr8; local [all...] |
/linux-master/drivers/net/can/ |
H A D | sun4i_can.c | 534 u32 ecc, alc; local 585 ecc = readl(priv->base + SUN4I_REG_STA_ADDR); 589 switch (ecc & SUN4I_STA_MASK_ERR) { 600 cf->data[3] = (ecc & SUN4I_STA_ERR_SEG_CODE) 605 if ((ecc & SUN4I_STA_ERR_DIR) == 0)
|
/linux-master/include/linux/mtd/ |
H A D | rawnand.h | 98 * ecc.correct() returns -EBADMSG. 1285 * @ecc: The ECC controller structure 1344 struct nand_ecc_ctrl ecc; member in struct:nand_chip 1426 #define NAND_ECC_STRENGTH(type) ((type)->ecc.strength_ds) 1427 #define NAND_ECC_STEP(type) ((type)->ecc.step_ds) 1446 * @ecc: ECC correctability and step information from the datasheet. 1447 * @ecc.strength_ds: The ECC correctability from the datasheet, same as the 1449 * @ecc.step_ds: The ECC step required by the @ecc.strength_ds, same as the 1472 } ecc; member in struct:nand_flash_dev [all...] |
/linux-master/drivers/net/can/esd/ |
H A D | esdacc.c | 22 /* ecc value of esdACC equals SJA1000's ECC register */ 534 if (msg->ecc & ACC_ECC_DIR) { 541 switch (msg->ecc & ACC_ECC_MASK) { 565 cf->data[3] = msg->ecc & ACC_ECC_SEG;
|
/linux-master/drivers/crypto/ccp/ |
H A D | ccp-dev-v5.c | 133 } ecc; member in union:ccp_function 152 #define CCP_ECC_MODE(p) ((p)->ecc.mode) 153 #define CCP_ECC_AFFINE(p) ((p)->ecc.one) 571 function.ecc.mode = op->u.ecc.function; 1105 .ecc = ccp5_perform_ecc,
|
H A D | ccp-dev.h | 553 struct ccp_ecc_op ecc; member in union:ccp_op::__anon115 659 int (*ecc)(struct ccp_op *); member in struct:ccp_actions
|
/linux-master/arch/mips/include/asm/octeon/ |
H A D | cvmx-l2c-defs.h | 207 __BITFIELD_FIELD(uint64_t ecc:6,
|
/linux-master/arch/mips/dec/ |
H A D | ecc-berr.c | 26 #include <asm/dec/ecc.h>
|
/linux-master/include/linux/ |
H A D | ccp.h | 659 struct ccp_ecc_engine ecc; member in union:ccp_cmd::__anon2547
|
/linux-master/drivers/mtd/tests/ |
H A D | mtd_nandecctest.c | 11 #include <linux/mtd/nand-ecc-sw-hamming.h> 212 .name = "single-bit-error-in-ecc-correct", 222 .name = "single-bit-error-in-data-and-ecc-detect", 227 .name = "double-bit-error-in-ecc-detect", 239 print_hex_dump(KERN_INFO, "hexdump of error ecc: ", 245 print_hex_dump(KERN_INFO, "hexdump of correct ecc: ",
|
/linux-master/drivers/mtd/nand/spi/ |
H A D | macronix.c | 48 .ecc = mx35lfxge4ab_ooblayout_ecc,
|
H A D | toshiba.c | 67 .ecc = tx58cxgxsxraix_ooblayout_ecc,
|
/linux-master/crypto/ |
H A D | ecdh.c | 9 #include <crypto/internal/ecc.h>
|
H A D | ecrdsa_defs.h | 16 #include <crypto/internal/ecc.h>
|