Lines Matching defs:drvdata
77 static inline void cc_iowrite(struct cctrng_drvdata *drvdata, u32 reg, u32 val) in cc_iowrite()
81 static inline u32 cc_ioread(struct cctrng_drvdata *drvdata, u32 reg) in cc_ioread()
107 static int cc_trng_pm_init(struct cctrng_drvdata *drvdata) in cc_trng_pm_init()
118 static void cc_trng_pm_go(struct cctrng_drvdata *drvdata) in cc_trng_pm_go()
126 static void cc_trng_pm_fini(struct cctrng_drvdata *drvdata) in cc_trng_pm_fini()
134 static inline int cc_trng_parse_sampling_ratio(struct cctrng_drvdata *drvdata) in cc_trng_parse_sampling_ratio()
163 static int cc_trng_change_rosc(struct cctrng_drvdata *drvdata) in cc_trng_change_rosc()
180 static void cc_trng_enable_rnd_source(struct cctrng_drvdata *drvdata) in cc_trng_enable_rnd_source()
203 static inline size_t circ_buf_space(struct cctrng_drvdata *drvdata) in circ_buf_space()
214 struct cctrng_drvdata *drvdata = (struct cctrng_drvdata *)rng->priv; in cctrng_read() local
275 static void cc_trng_hw_trigger(struct cctrng_drvdata *drvdata) in cc_trng_hw_trigger()
320 struct cctrng_drvdata *drvdata = in cc_trng_compwork_handler() local
404 struct cctrng_drvdata *drvdata = (struct cctrng_drvdata *)dev_id; in cc_isr() local
451 struct cctrng_drvdata *drvdata = in cc_trng_startwork_handler() local
459 static int cc_trng_clk_init(struct cctrng_drvdata *drvdata) in cc_trng_clk_init()
481 static void cc_trng_clk_fini(struct cctrng_drvdata *drvdata) in cc_trng_clk_fini()
489 struct cctrng_drvdata *drvdata; in cctrng_probe() local
604 struct cctrng_drvdata *drvdata = platform_get_drvdata(pdev); in cctrng_remove() local
620 struct cctrng_drvdata *drvdata = dev_get_drvdata(dev); in cctrng_suspend() local
631 static bool cctrng_wait_for_reset_completion(struct cctrng_drvdata *drvdata) in cctrng_wait_for_reset_completion()
654 struct cctrng_drvdata *drvdata = dev_get_drvdata(dev); in cctrng_resume() local