Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mtd/nand/raw/
Ddenali.c483 unsigned int err_byte, err_sector, err_device; in denali_sw_ecc_fixup() local
492 err_sector = FIELD_GET(ECC_ERROR_ADDRESS__SECTOR, err_addr); in denali_sw_ecc_fixup()
502 if (err_sector != prev_sector) in denali_sw_ecc_fixup()
510 *uncor_ecc_flags |= BIT(err_sector); in denali_sw_ecc_fixup()
522 offset = (err_sector * ecc_size + err_byte) * in denali_sw_ecc_fixup()
534 prev_sector = err_sector; in denali_sw_ecc_fixup()