Lines Matching defs:ecc
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() local
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()
267 struct mtk_ecc *ecc; in mtk_ecc_get() local
287 struct mtk_ecc *ecc = NULL; in of_mtk_ecc_get() local
303 int mtk_ecc_enable(struct mtk_ecc *ecc, struct mtk_ecc_config *config) in mtk_ecc_enable()
347 void mtk_ecc_disable(struct mtk_ecc *ecc) in mtk_ecc_disable()
374 int mtk_ecc_wait_done(struct mtk_ecc *ecc, enum mtk_ecc_operation op) in mtk_ecc_wait_done()
389 int mtk_ecc_encode(struct mtk_ecc *ecc, struct mtk_ecc_config *config, in mtk_ecc_encode()
436 void mtk_ecc_adjust_strength(struct mtk_ecc *ecc, u32 *p) in mtk_ecc_adjust_strength()
455 unsigned int mtk_ecc_get_parity_bits(struct mtk_ecc *ecc) in mtk_ecc_get_parity_bits()
525 struct mtk_ecc *ecc; in mtk_ecc_probe() local
580 struct mtk_ecc *ecc = dev_get_drvdata(dev); in mtk_ecc_suspend() local
589 struct mtk_ecc *ecc = dev_get_drvdata(dev); in mtk_ecc_resume() local