diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/clk_gm20b.h')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/clk_gm20b.h | 13 |
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 | ||
24 | void gm20b_init_clk_ops(struct gpu_ops *gops); | 24 | void gm20b_init_clk_ops(struct gpu_ops *gops); |
25 | 25 | ||
26 | #ifdef CONFIG_COMMON_CLK | 26 | int gm20b_init_clk_setup_sw(struct gk20a *g); |
27 | int gm20b_register_gpcclk(struct gk20a *g); | 27 | |
28 | #endif | 28 | int gm20b_clk_prepare(struct clk_gk20a *clk); |
29 | void gm20b_clk_unprepare(struct clk_gk20a *clk); | ||
30 | int gm20b_clk_is_prepared(struct clk_gk20a *clk); | ||
31 | unsigned long gm20b_recalc_rate(struct clk_gk20a *clk, unsigned long parent_rate); | ||
32 | int gm20b_gpcclk_set_rate(struct clk_gk20a *clk, unsigned long rate, | ||
33 | unsigned long parent_rate); | ||
34 | long 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_ */ |