Searched refs:bad_mark (Results 1 – 2 of 2) sorted by relevance
129 struct mtk_nfc_bad_mark_ctl bad_mark; member198 if (i < mtk_nand->bad_mark.sec) in oob_ptr()200 else if (i == mtk_nand->bad_mark.sec) in oob_ptr()663 u32 bad_pos = nand->bad_mark.pos; in mtk_nfc_bad_mark_swap()666 bad_pos += nand->bad_mark.sec * mtk_data_len(chip); in mtk_nfc_bad_mark_swap()668 bad_pos += nand->bad_mark.sec * chip->ecc.size; in mtk_nfc_bad_mark_swap()694 if (i == mtk_nand->bad_mark.sec) in mtk_nfc_format_subpage()695 mtk_nand->bad_mark.bm_swap(mtd, nfc->buffer, 1); in mtk_nfc_format_subpage()722 if (i == mtk_nand->bad_mark.sec) in mtk_nfc_format_page()723 mtk_nand->bad_mark.bm_swap(mtd, nfc->buffer, 1); in mtk_nfc_format_page()[all …]
871 u32 bad_mark; member