Searched refs:fdm (Results 1 – 2 of 2) sorted by relevance
138 struct mtk_nfc_fdm fdm; member186 poi = chip->oob_poi + (i + 1) * mtk_nand->fdm.reg_size; in oob_ptr()190 poi = chip->oob_poi + i * mtk_nand->fdm.reg_size; in oob_ptr()409 fmt |= mtk_nand->fdm.reg_size << PAGEFMT_FDM_SHIFT; in mtk_nfc_hw_runtime_config()410 fmt |= mtk_nand->fdm.ecc_size << PAGEFMT_FDM_ECC_SHIFT; in mtk_nfc_hw_runtime_config()414 nfc->ecc_cfg.len = chip->ecc.size + mtk_nand->fdm.ecc_size; in mtk_nfc_hw_runtime_config()538 int size = chip->ecc.size + mtk_nand->fdm.reg_size; in mtk_nfc_sector_encode()571 struct mtk_nfc_fdm *fdm = &mtk_nand->fdm; in mtk_nfc_format_subpage() local589 memcpy(mtk_oob_ptr(chip, i), oob_ptr(chip, i), fdm->reg_size); in mtk_nfc_format_subpage()605 struct mtk_nfc_fdm *fdm = &mtk_nand->fdm; in mtk_nfc_format_page() local[all …]
103 #define NX_CPB_FDM(c) ((c)->cpb.hdr.fdm)112 u8 fdm; member