summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/clk/clk.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk.h')
-rw-r--r--drivers/gpu/nvgpu/clk/clk.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk.h b/drivers/gpu/nvgpu/clk/clk.h
index d0e82173..42cb9f7d 100644
--- a/drivers/gpu/nvgpu/clk/clk.h
+++ b/drivers/gpu/nvgpu/clk/clk.h
@@ -35,7 +35,6 @@ struct clk_pmupstate {
35 struct clk_progs clk_progobjs; 35 struct clk_progs clk_progobjs;
36 struct clk_vf_points clk_vf_pointobjs; 36 struct clk_vf_points clk_vf_pointobjs;
37 struct clk_mclk_state clk_mclk; 37 struct clk_mclk_state clk_mclk;
38 struct mutex changeclkmutex;
39}; 38};
40 39
41struct clockentry { 40struct clockentry {
@@ -45,12 +44,6 @@ struct clockentry {
45 u32 api_clk_domain; 44 u32 api_clk_domain;
46}; 45};
47 46
48struct change_fll_clk {
49 u32 api_clk_domain;
50 u16 clkmhz;
51 u32 voltuv;
52};
53
54struct set_fll_clk { 47struct set_fll_clk {
55 u32 voltuv; 48 u32 voltuv;
56 u16 gpc2clkmhz; 49 u16 gpc2clkmhz;
@@ -119,5 +112,7 @@ u32 clk_domain_get_f_points(
119 u32 *fpointscount, 112 u32 *fpointscount,
120 u16 *freqpointsinmhz 113 u16 *freqpointsinmhz
121); 114);
122int clk_program_fll_clks(struct gk20a *g, struct change_fll_clk *fllclk); 115int clk_get_fll_clks(struct gk20a *g, struct set_fll_clk *fllclk);
116int clk_set_fll_clks(struct gk20a *g, struct set_fll_clk *fllclk);
117
123#endif 118#endif