Searched refs:ecc_tmp (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/mtd/nand/ |
H A D | fsmc_nand.c | 473 uint32_t ecc_tmp; fsmc_read_hwecc_ecc4() local 488 ecc_tmp = readl_relaxed(FSMC_NAND_REG(regs, bank, ECC1)); fsmc_read_hwecc_ecc4() 489 ecc[0] = (uint8_t) (ecc_tmp >> 0); fsmc_read_hwecc_ecc4() 490 ecc[1] = (uint8_t) (ecc_tmp >> 8); fsmc_read_hwecc_ecc4() 491 ecc[2] = (uint8_t) (ecc_tmp >> 16); fsmc_read_hwecc_ecc4() 492 ecc[3] = (uint8_t) (ecc_tmp >> 24); fsmc_read_hwecc_ecc4() 494 ecc_tmp = readl_relaxed(FSMC_NAND_REG(regs, bank, ECC2)); fsmc_read_hwecc_ecc4() 495 ecc[4] = (uint8_t) (ecc_tmp >> 0); fsmc_read_hwecc_ecc4() 496 ecc[5] = (uint8_t) (ecc_tmp >> 8); fsmc_read_hwecc_ecc4() 497 ecc[6] = (uint8_t) (ecc_tmp >> 16); fsmc_read_hwecc_ecc4() 498 ecc[7] = (uint8_t) (ecc_tmp >> 24); fsmc_read_hwecc_ecc4() 500 ecc_tmp = readl_relaxed(FSMC_NAND_REG(regs, bank, ECC3)); fsmc_read_hwecc_ecc4() 501 ecc[8] = (uint8_t) (ecc_tmp >> 0); fsmc_read_hwecc_ecc4() 502 ecc[9] = (uint8_t) (ecc_tmp >> 8); fsmc_read_hwecc_ecc4() 503 ecc[10] = (uint8_t) (ecc_tmp >> 16); fsmc_read_hwecc_ecc4() 504 ecc[11] = (uint8_t) (ecc_tmp >> 24); fsmc_read_hwecc_ecc4() 506 ecc_tmp = readl_relaxed(FSMC_NAND_REG(regs, bank, STS)); fsmc_read_hwecc_ecc4() 507 ecc[12] = (uint8_t) (ecc_tmp >> 16); fsmc_read_hwecc_ecc4() 524 uint32_t ecc_tmp; fsmc_read_hwecc_ecc1() local 526 ecc_tmp = readl_relaxed(FSMC_NAND_REG(regs, bank, ECC1)); fsmc_read_hwecc_ecc1() 527 ecc[0] = (uint8_t) (ecc_tmp >> 0); fsmc_read_hwecc_ecc1() 528 ecc[1] = (uint8_t) (ecc_tmp >> 8); fsmc_read_hwecc_ecc1() 529 ecc[2] = (uint8_t) (ecc_tmp >> 16); fsmc_read_hwecc_ecc1()
|
Completed in 73 milliseconds