xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.h (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1 #ifndef __NVKM_CLK_NVA3_H__
2 #define __NVKM_CLK_NVA3_H__
3 #include "priv.h"
4 
5 struct gt215_clk_info {
6 	u32 clk;
7 	u32 pll;
8 	enum {
9 		NVA3_HOST_277,
10 		NVA3_HOST_CLK,
11 	} host_out;
12 	u32 fb_delay;
13 };
14 
15 int  gt215_pll_info(struct nvkm_clk *, int, u32, u32, struct gt215_clk_info *);
16 int  gt215_clk_pre(struct nvkm_clk *, unsigned long *flags);
17 void gt215_clk_post(struct nvkm_clk *, unsigned long *flags);
18 #endif
19