diff options
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk_prog.h')
-rw-r--r-- | drivers/gpu/nvgpu/clk/clk_prog.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_prog.h b/drivers/gpu/nvgpu/clk/clk_prog.h index be92b3fc..60711b4c 100644 --- a/drivers/gpu/nvgpu/clk/clk_prog.h +++ b/drivers/gpu/nvgpu/clk/clk_prog.h | |||
@@ -32,6 +32,11 @@ typedef u32 vf_lookup(struct gk20a *g, struct clk_pmupstate *pclk, | |||
32 | u8 *slave_clk_domain_idx, u16 *pclkmhz, | 32 | u8 *slave_clk_domain_idx, u16 *pclkmhz, |
33 | u32 *pvoltuv, u8 rail); | 33 | u32 *pvoltuv, u8 rail); |
34 | 34 | ||
35 | typedef int get_slaveclk(struct gk20a *g, struct clk_pmupstate *pclk, | ||
36 | struct clk_prog_1x_master *p1xmaster, | ||
37 | u8 slave_clk_domain_idx, u16 *pclkmhz, | ||
38 | u16 masterclkmhz); | ||
39 | |||
35 | typedef u32 get_fpoints(struct gk20a *g, struct clk_pmupstate *pclk, | 40 | typedef u32 get_fpoints(struct gk20a *g, struct clk_pmupstate *pclk, |
36 | struct clk_prog_1x_master *p1xmaster, | 41 | struct clk_prog_1x_master *p1xmaster, |
37 | u32 *pfpointscount, | 42 | u32 *pfpointscount, |
@@ -65,6 +70,7 @@ struct clk_prog_1x_master { | |||
65 | vf_flatten *vfflatten; | 70 | vf_flatten *vfflatten; |
66 | vf_lookup *vflookup; | 71 | vf_lookup *vflookup; |
67 | get_fpoints *getfpoints; | 72 | get_fpoints *getfpoints; |
73 | get_slaveclk *getslaveclk; | ||
68 | }; | 74 | }; |
69 | 75 | ||
70 | struct clk_prog_1x_master_ratio { | 76 | struct clk_prog_1x_master_ratio { |