xref: /linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.h (revision fcc8487d477a3452a1d0ccbdd4c5e0e1e3cb8bed)
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