diff options
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk_prog.h')
-rw-r--r-- | drivers/gpu/nvgpu/clk/clk_prog.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_prog.h b/drivers/gpu/nvgpu/clk/clk_prog.h index 979d327d..be92b3fc 100644 --- a/drivers/gpu/nvgpu/clk/clk_prog.h +++ b/drivers/gpu/nvgpu/clk/clk_prog.h | |||
@@ -32,6 +32,12 @@ 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 u32 get_fpoints(struct gk20a *g, struct clk_pmupstate *pclk, | ||
36 | struct clk_prog_1x_master *p1xmaster, | ||
37 | u32 *pfpointscount, | ||
38 | u16 **ppfreqpointsinmhz, u8 rail); | ||
39 | |||
40 | |||
35 | struct clk_progs { | 41 | struct clk_progs { |
36 | struct boardobjgrp_e255 super; | 42 | struct boardobjgrp_e255 super; |
37 | u8 slave_entry_count; | 43 | u8 slave_entry_count; |
@@ -58,6 +64,7 @@ struct clk_prog_1x_master { | |||
58 | union ctrl_clk_clk_prog_1x_master_source_data source_data; | 64 | union ctrl_clk_clk_prog_1x_master_source_data source_data; |
59 | vf_flatten *vfflatten; | 65 | vf_flatten *vfflatten; |
60 | vf_lookup *vflookup; | 66 | vf_lookup *vflookup; |
67 | get_fpoints *getfpoints; | ||
61 | }; | 68 | }; |
62 | 69 | ||
63 | struct clk_prog_1x_master_ratio { | 70 | struct clk_prog_1x_master_ratio { |