Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Ddenali.c388 unsigned int err_byte, err_sector, err_device; in denali_sw_ecc_fixup() local
397 err_sector = FIELD_GET(ECC_ERROR_ADDRESS__SECTOR, err_addr); in denali_sw_ecc_fixup()
407 if (err_sector != prev_sector) in denali_sw_ecc_fixup()
415 *uncor_ecc_flags |= BIT(err_sector); in denali_sw_ecc_fixup()
427 offset = (err_sector * ecc_size + err_byte) * in denali_sw_ecc_fixup()
439 prev_sector = err_sector; in denali_sw_ecc_fixup()
/openbmc/linux/drivers/mtd/nand/raw/
H A Ddenali.c482 unsigned int err_byte, err_sector, err_device; in denali_sw_ecc_fixup() local
491 err_sector = FIELD_GET(ECC_ERROR_ADDRESS__SECTOR, err_addr); in denali_sw_ecc_fixup()
501 if (err_sector != prev_sector) in denali_sw_ecc_fixup()
509 *uncor_ecc_flags |= BIT(err_sector); in denali_sw_ecc_fixup()
521 offset = (err_sector * ecc_size + err_byte) * in denali_sw_ecc_fixup()
533 prev_sector = err_sector; in denali_sw_ecc_fixup()