Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/raw/
H A Dmtk_nand.c662 u32 bad_pos = nand->bad_mark.pos; in mtk_nfc_bad_mark_swap() local
665 bad_pos += nand->bad_mark.sec * mtk_data_len(chip); in mtk_nfc_bad_mark_swap()
667 bad_pos += nand->bad_mark.sec * chip->ecc.size; in mtk_nfc_bad_mark_swap()
669 swap(chip->oob_poi[0], buf[bad_pos]); in mtk_nfc_bad_mark_swap()