Searched refs:ecc1 (Results 1 – 11 of 11) sorted by relevance
/linux-2.6.39/drivers/staging/keucr/ |
D | smilecc.c | 51 static void trans_result(reg2,reg3,ecc1,ecc2) in trans_result() argument 54 BYTE *ecc1; // LP15,LP14,LP13,... 62 *ecc1=*ecc2=0; // Clear ecc1,ecc2 65 *ecc1|=b; // LP15,13,11,9 -> ecc1 68 *ecc1|=b; // LP14,12,10,8 -> ecc1 86 void calculate_ecc(table,data,ecc1,ecc2,ecc3) in calculate_ecc() argument 89 BYTE *ecc1; // LP15,LP14,LP13,... 111 trans_result(reg2,reg3,ecc1,ecc2); 112 *ecc1=~(*ecc1); *ecc2=~(*ecc2); // Inv. ecc2 & ecc3 116 BYTE correct_data(data,eccdata,ecc1,ecc2,ecc3) in correct_data() argument [all …]
|
/linux-2.6.39/drivers/mtd/devices/ |
D | docecc.c | 439 int doc_decode_ecc(unsigned char sector[SECTOR_SIZE], unsigned char ecc1[6]) in doc_decode_ecc() 460 parity = ecc1[1]; in doc_decode_ecc() 462 bb[0] = (ecc1[4] & 0xff) | ((ecc1[5] & 0x03) << 8); in doc_decode_ecc() 463 bb[1] = ((ecc1[5] & 0xfc) >> 2) | ((ecc1[2] & 0x0f) << 6); in doc_decode_ecc() 464 bb[2] = ((ecc1[2] & 0xf0) >> 4) | ((ecc1[3] & 0x3f) << 4); in doc_decode_ecc() 465 bb[3] = ((ecc1[3] & 0xc0) >> 6) | ((ecc1[0] & 0xff) << 2); in doc_decode_ecc()
|
/linux-2.6.39/drivers/mtd/nand/ |
D | r852.c | 458 uint32_t ecc1, ecc2; in r852_ecc_calculate() local 466 ecc1 = r852_read_reg_dword(dev, R852_DATALINE); in r852_ecc_calculate() 469 oob->ecc1[0] = (ecc1) & 0xFF; in r852_ecc_calculate() 470 oob->ecc1[1] = (ecc1 >> 8) & 0xFF; in r852_ecc_calculate() 471 oob->ecc1[2] = (ecc1 >> 16) & 0xFF; in r852_ecc_calculate()
|
D | bf5xx_nand.c | 334 u16 ecc0, ecc1; in bf5xx_nand_calculate_ecc() local 340 ecc1 = bfin_read_NFC_ECC1(); in bf5xx_nand_calculate_ecc() 342 code[0] = (ecc0 & 0x7ff) | ((ecc1 & 0x7ff) << 11); in bf5xx_nand_calculate_ecc() 352 ecc1 = bfin_read_NFC_ECC3(); in bf5xx_nand_calculate_ecc() 353 code[1] = (ecc0 & 0x7ff) | ((ecc1 & 0x7ff) << 11); in bf5xx_nand_calculate_ecc()
|
D | sm_common.h | 20 uint8_t ecc1[3]; member
|
D | fsmc_nand.c | 358 ecc_tmp = readl(®s->bank_regs[bank].ecc1); in fsmc_read_hwecc_ecc4() 396 ecc_tmp = readl(®s->bank_regs[bank].ecc1); in fsmc_read_hwecc_ecc1()
|
D | rtc_from4.c | 340 static int rtc_from4_correct_data(struct mtd_info *mtd, const u_char *buf, u_char *ecc1, u_char *ec… in rtc_from4_correct_data() argument
|
/linux-2.6.39/include/linux/mtd/ |
D | fsmc.h | 72 uint32_t ecc1; member
|
D | doc2000.h | 204 int doc_decode_ecc(unsigned char sector[512], unsigned char ecc1[6]);
|
/linux-2.6.39/drivers/mtd/ |
D | sm_ftl.c | 227 if (__nand_correct_data(buffer, ecc, oob->ecc1, SM_SMALL_PAGE) < 0) in sm_correct_sector() 400 SM_SMALL_PAGE, oob.ecc1); in sm_write_block()
|
/linux-2.6.39/Documentation/mtd/ |
D | nand_ecc.txt | 189 void ecc1(const unsigned char *buf, unsigned char *code)
|