Lines Matching refs:mtk_ecc
58 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()
287 struct mtk_ecc *ecc = NULL; in of_mtk_ecc_get()
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()
580 struct mtk_ecc *ecc = dev_get_drvdata(dev); in mtk_ecc_suspend()
589 struct mtk_ecc *ecc = dev_get_drvdata(dev); in mtk_ecc_resume()