Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/nand/raw/
Dmtk_nand.c190 struct mtk_nfc_nand_chip *mtk_nand = to_mtk_nand(chip); in oob_ptr() local
197 if (i < mtk_nand->bad_mark.sec) in oob_ptr()
198 poi = chip->oob_poi + (i + 1) * mtk_nand->fdm.reg_size; in oob_ptr()
199 else if (i == mtk_nand->bad_mark.sec) in oob_ptr()
202 poi = chip->oob_poi + i * mtk_nand->fdm.reg_size; in oob_ptr()
209 struct mtk_nfc_nand_chip *mtk_nand = to_mtk_nand(chip); in mtk_data_len() local
211 return chip->ecc.size + mtk_nand->spare_per_sector; in mtk_data_len()
321 struct mtk_nfc_nand_chip *mtk_nand = to_mtk_nand(chip); in mtk_nfc_hw_runtime_config() local
328 spare = mtk_nand->spare_per_sector; in mtk_nfc_hw_runtime_config()
379 fmt |= mtk_nand->fdm.reg_size << PAGEFMT_FDM_SHIFT; in mtk_nfc_hw_runtime_config()
[all …]
DMakefile50 obj-$(CONFIG_MTD_NAND_MTK) += mtk_nand.o