summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/clk_gm20b.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/clk_gm20b.h')
-rw-r--r--drivers/gpu/nvgpu/gm20b/clk_gm20b.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/clk_gm20b.h b/drivers/gpu/nvgpu/gm20b/clk_gm20b.h
index 5746165e..f7912345 100644
--- a/drivers/gpu/nvgpu/gm20b/clk_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/clk_gm20b.h
@@ -23,8 +23,15 @@
23 23
24void gm20b_init_clk_ops(struct gpu_ops *gops); 24void gm20b_init_clk_ops(struct gpu_ops *gops);
25 25
26#ifdef CONFIG_COMMON_CLK 26int gm20b_init_clk_setup_sw(struct gk20a *g);
27int gm20b_register_gpcclk(struct gk20a *g); 27
28#endif 28int gm20b_clk_prepare(struct clk_gk20a *clk);
29void gm20b_clk_unprepare(struct clk_gk20a *clk);
30int gm20b_clk_is_prepared(struct clk_gk20a *clk);
31unsigned long gm20b_recalc_rate(struct clk_gk20a *clk, unsigned long parent_rate);
32int gm20b_gpcclk_set_rate(struct clk_gk20a *clk, unsigned long rate,
33 unsigned long parent_rate);
34long gm20b_round_rate(struct clk_gk20a *clk, unsigned long rate,
35 unsigned long *parent_rate);
29 36
30#endif /* _NVHOST_CLK_GM20B_H_ */ 37#endif /* _NVHOST_CLK_GM20B_H_ */