Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/mtd/nand/
Decc-mtk.c54 struct mtk_ecc { struct
118 static inline void mtk_ecc_wait_idle(struct mtk_ecc *ecc, in mtk_ecc_wait_idle()
135 struct mtk_ecc *ecc = id; in mtk_ecc_irq()
165 static int mtk_ecc_config(struct mtk_ecc *ecc, struct mtk_ecc_config *config) in mtk_ecc_config()
212 void mtk_ecc_get_stats(struct mtk_ecc *ecc, struct mtk_ecc_stats *stats, in mtk_ecc_get_stats()
240 void mtk_ecc_release(struct mtk_ecc *ecc) in mtk_ecc_release()
247 static void mtk_ecc_hw_init(struct mtk_ecc *ecc) in mtk_ecc_hw_init()
256 static struct mtk_ecc *mtk_ecc_get(struct device_node *np) in mtk_ecc_get()
259 struct mtk_ecc *ecc; in mtk_ecc_get()
277 struct mtk_ecc *of_mtk_ecc_get(struct device_node *of_node) in of_mtk_ecc_get()
[all …]
/linux-5.19.10/drivers/spi/
Dspi-mtk-snfi.c281 struct mtk_ecc *ecc;
/linux-5.19.10/drivers/mtd/nand/raw/
Dmtk_nand.c147 struct mtk_ecc *ecc;