Searched refs:fdm (Results 1 – 2 of 2) sorted by relevance
130 struct mtk_nfc_fdm fdm; member199 poi = chip->oob_poi + (i + 1) * mtk_nand->fdm.reg_size; in oob_ptr()203 poi = chip->oob_poi + i * mtk_nand->fdm.reg_size; in oob_ptr()380 fmt |= mtk_nand->fdm.reg_size << PAGEFMT_FDM_SHIFT; in mtk_nfc_hw_runtime_config()381 fmt |= mtk_nand->fdm.ecc_size << PAGEFMT_FDM_ECC_SHIFT; in mtk_nfc_hw_runtime_config()385 nfc->ecc_cfg.len = chip->ecc.size + mtk_nand->fdm.ecc_size; in mtk_nfc_hw_runtime_config()646 int size = chip->ecc.size + mtk_nand->fdm.reg_size; in mtk_nfc_sector_encode()679 struct mtk_nfc_fdm *fdm = &mtk_nand->fdm; in mtk_nfc_format_subpage() local697 memcpy(mtk_oob_ptr(chip, i), oob_ptr(chip, i), fdm->reg_size); in mtk_nfc_format_subpage()713 struct mtk_nfc_fdm *fdm = &mtk_nand->fdm; in mtk_nfc_format_page() local[all …]
104 #define NX_CPB_FDM(c) ((c)->cpb.hdr.fdm)113 u8 fdm; member