Searched refs:ecc2 (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | r852.c | 435 uint32_t ecc1, ecc2; in r852_ecc_calculate() local 444 ecc2 = r852_read_reg_dword(dev, R852_DATALINE); in r852_ecc_calculate() 450 oob->ecc2[0] = (ecc2) & 0xFF; in r852_ecc_calculate() 451 oob->ecc2[1] = (ecc2 >> 8) & 0xFF; in r852_ecc_calculate() 452 oob->ecc2[2] = (ecc2 >> 16) & 0xFF; in r852_ecc_calculate()
|
D | sm_common.h | 15 uint8_t ecc2[3]; member
|
D | fsmc_nand.c | 785 u32 ecc1, ecc2, ecc3, ecc4; in fsmc_bch8_correct_data() local 831 ecc2 = readl_relaxed(host->regs_va + ECC2); in fsmc_bch8_correct_data() 837 err_idx[2] = (((ecc2 >> 0) & 0x7F) << 6) | ((ecc1 >> 26) & 0x3F); in fsmc_bch8_correct_data() 838 err_idx[3] = (ecc2 >> 7) & 0x1FFF; in fsmc_bch8_correct_data() 839 err_idx[4] = (((ecc3 >> 0) & 0x1) << 12) | ((ecc2 >> 20) & 0xFFF); in fsmc_bch8_correct_data()
|
/linux-6.1.9/drivers/usb/storage/ |
D | alauda.c | 216 static unsigned char ecc2[256]; variable 238 ecc2[i] = ~(a ^ (a<<1) ^ (parity[i] ? 0xa8 : 0)); in nand_init_ecc() 264 ecc[2] = ecc2[par]; in nand_compute_ecc()
|
D | sddr09.c | 186 static unsigned char ecc2[256]; variable 207 ecc2[i] = ~(a ^ (a<<1) ^ (parity[i] ? 0xa8 : 0)); in nand_init_ecc() 232 ecc[2] = ecc2[par]; in nand_compute_ecc()
|
/linux-6.1.9/drivers/mtd/ |
D | sm_ftl.c | 230 if (ecc_sw_hamming_correct(buffer, ecc, oob->ecc2, SM_SMALL_PAGE, in sm_correct_sector() 405 SM_SMALL_PAGE, oob.ecc2, in sm_write_block()
|
/linux-6.1.9/Documentation/driver-api/mtd/ |
D | nand_ecc.rst | 323 void ecc2(const unsigned char *buf, unsigned char *code)
|