Home
last modified time | relevance | path

Searched refs:uncor_ecc_flags (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Ddenali.c309 unsigned long uncor_ecc_flags, in denali_check_erased_page() argument
324 if (!(uncor_ecc_flags & BIT(i))) in denali_check_erased_page()
347 unsigned long *uncor_ecc_flags) in denali_hw_ecc_fixup() argument
363 *uncor_ecc_flags = GENMASK(chip->ecc.steps - 1, 0); in denali_hw_ecc_fixup()
382 unsigned long *uncor_ecc_flags, uint8_t *buf) in denali_sw_ecc_fixup() argument
415 *uncor_ecc_flags |= BIT(err_sector); in denali_sw_ecc_fixup()
792 unsigned long uncor_ecc_flags = 0; in denali_read_page() local
801 stat = denali_hw_ecc_fixup(mtd, denali, &uncor_ecc_flags); in denali_read_page()
803 stat = denali_sw_ecc_fixup(mtd, denali, &uncor_ecc_flags, buf); in denali_read_page()
808 if (uncor_ecc_flags) { in denali_read_page()
[all …]
/openbmc/linux/drivers/mtd/nand/raw/
H A Ddenali.c408 unsigned long uncor_ecc_flags, in denali_check_erased_page() argument
418 if (!(uncor_ecc_flags & BIT(i))) in denali_check_erased_page()
439 unsigned long *uncor_ecc_flags) in denali_hw_ecc_fixup() argument
456 *uncor_ecc_flags = GENMASK(chip->ecc.steps - 1, 0); in denali_hw_ecc_fixup()
474 unsigned long *uncor_ecc_flags, u8 *buf) in denali_sw_ecc_fixup() argument
509 *uncor_ecc_flags |= BIT(err_sector); in denali_sw_ecc_fixup()
728 unsigned long uncor_ecc_flags = 0; in denali_read_page() local
737 stat = denali_hw_ecc_fixup(chip, &uncor_ecc_flags); in denali_read_page()
739 stat = denali_sw_ecc_fixup(chip, &uncor_ecc_flags, buf); in denali_read_page()
744 if (uncor_ecc_flags) { in denali_read_page()
[all …]