Lines Matching defs:ecc
93 static inline void mtk_ecc_wait_idle(struct mtk_ecc *ecc, in mtk_ecc_wait_idle()
110 struct mtk_ecc *ecc = id; in mtk_ecc_irq() local
142 static void mtk_ecc_config(struct mtk_ecc *ecc, struct mtk_ecc_config *config) in mtk_ecc_config()
240 void mtk_ecc_get_stats(struct mtk_ecc *ecc, struct mtk_ecc_stats *stats, in mtk_ecc_get_stats()
268 void mtk_ecc_release(struct mtk_ecc *ecc) in mtk_ecc_release()
275 static void mtk_ecc_hw_init(struct mtk_ecc *ecc) in mtk_ecc_hw_init()
287 struct mtk_ecc *ecc; in mtk_ecc_get() local
303 struct mtk_ecc *ecc = NULL; in of_mtk_ecc_get() local
316 int mtk_ecc_enable(struct mtk_ecc *ecc, struct mtk_ecc_config *config) in mtk_ecc_enable()
338 void mtk_ecc_disable(struct mtk_ecc *ecc) in mtk_ecc_disable()
361 int mtk_ecc_wait_done(struct mtk_ecc *ecc, enum mtk_ecc_operation op) in mtk_ecc_wait_done()
376 int mtk_ecc_encode(struct mtk_ecc *ecc, struct mtk_ecc_config *config, in mtk_ecc_encode()
423 u32 ecc[] = {4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 28, 32, 36, in mtk_ecc_adjust_strength() local
444 struct mtk_ecc *ecc; in mtk_ecc_probe() local
494 struct mtk_ecc *ecc = dev_get_drvdata(dev); in mtk_ecc_suspend() local
503 struct mtk_ecc *ecc = dev_get_drvdata(dev); in mtk_ecc_resume() local