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