Searched refs:bad_mark (Results 1 – 2 of 2) sorted by relevance
128 struct mtk_nfc_bad_mark_ctl bad_mark; member197 if (i < mtk_nand->bad_mark.sec) in oob_ptr()199 else if (i == mtk_nand->bad_mark.sec) in oob_ptr()662 u32 bad_pos = nand->bad_mark.pos; in mtk_nfc_bad_mark_swap()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()693 if (i == mtk_nand->bad_mark.sec) in mtk_nfc_format_subpage()694 mtk_nand->bad_mark.bm_swap(mtd, nfc->buffer, 1); in mtk_nfc_format_subpage()721 if (i == mtk_nand->bad_mark.sec) in mtk_nfc_format_page()722 mtk_nand->bad_mark.bm_swap(mtd, nfc->buffer, 1); in mtk_nfc_format_page()[all …]
871 u32 bad_mark; member