Lines Matching defs:ecc
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() local
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()
259 struct mtk_ecc *ecc; in mtk_ecc_get() local
279 struct mtk_ecc *ecc = NULL; in of_mtk_ecc_get() local
292 int mtk_ecc_enable(struct mtk_ecc *ecc, struct mtk_ecc_config *config) in mtk_ecc_enable()
336 void mtk_ecc_disable(struct mtk_ecc *ecc) in mtk_ecc_disable()
363 int mtk_ecc_wait_done(struct mtk_ecc *ecc, enum mtk_ecc_operation op) in mtk_ecc_wait_done()
378 int mtk_ecc_encode(struct mtk_ecc *ecc, struct mtk_ecc_config *config, in mtk_ecc_encode()
425 void mtk_ecc_adjust_strength(struct mtk_ecc *ecc, u32 *p) in mtk_ecc_adjust_strength()
444 unsigned int mtk_ecc_get_parity_bits(struct mtk_ecc *ecc) in mtk_ecc_get_parity_bits()
497 struct mtk_ecc *ecc; in mtk_ecc_probe() local
552 struct mtk_ecc *ecc = dev_get_drvdata(dev); in mtk_ecc_suspend() local
561 struct mtk_ecc *ecc = dev_get_drvdata(dev); in mtk_ecc_resume() local