Home
last modified time | relevance | path

Searched refs:mtk_ecc (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/include/linux/mtd/
Dnand-ecc-mtk.h19 struct mtk_ecc;
36 int mtk_ecc_encode(struct mtk_ecc *, struct mtk_ecc_config *, u8 *, u32);
37 void mtk_ecc_get_stats(struct mtk_ecc *, struct mtk_ecc_stats *, int);
38 int mtk_ecc_wait_done(struct mtk_ecc *, enum mtk_ecc_operation);
39 int mtk_ecc_enable(struct mtk_ecc *, struct mtk_ecc_config *);
40 void mtk_ecc_disable(struct mtk_ecc *);
41 void mtk_ecc_adjust_strength(struct mtk_ecc *ecc, u32 *p);
42 unsigned int mtk_ecc_get_parity_bits(struct mtk_ecc *ecc);
44 struct mtk_ecc *of_mtk_ecc_get(struct device_node *);
45 void mtk_ecc_release(struct mtk_ecc *);
/Linux-v6.6/drivers/mtd/nand/
Decc-mtk.c58 struct mtk_ecc { struct
126 static inline void mtk_ecc_wait_idle(struct mtk_ecc *ecc, in mtk_ecc_wait_idle()
143 struct mtk_ecc *ecc = id; in mtk_ecc_irq()
173 static int mtk_ecc_config(struct mtk_ecc *ecc, struct mtk_ecc_config *config) in mtk_ecc_config()
220 void mtk_ecc_get_stats(struct mtk_ecc *ecc, struct mtk_ecc_stats *stats, in mtk_ecc_get_stats()
248 void mtk_ecc_release(struct mtk_ecc *ecc) in mtk_ecc_release()
255 static void mtk_ecc_hw_init(struct mtk_ecc *ecc) in mtk_ecc_hw_init()
264 static struct mtk_ecc *mtk_ecc_get(struct device_node *np) in mtk_ecc_get()
267 struct mtk_ecc *ecc; in mtk_ecc_get()
285 struct mtk_ecc *of_mtk_ecc_get(struct device_node *of_node) in of_mtk_ecc_get()
[all …]
/Linux-v6.6/drivers/spi/
Dspi-mtk-snfi.c312 struct mtk_ecc *ecc;
/Linux-v6.6/drivers/mtd/nand/raw/
Dmtk_nand.c146 struct mtk_ecc *ecc;