1 /* $NetBSD: gt215.h,v 1.3 2021/12/18 23:45:39 riastradh Exp $ */ 2 3 /* SPDX-License-Identifier: MIT */ 4 #ifndef __NVKM_CLK_NVA3_H__ 5 #define __NVKM_CLK_NVA3_H__ 6 #include "priv.h" 7 8 struct gt215_clk_info { 9 u32 clk; 10 u32 pll; 11 enum { 12 NVA3_HOST_277, 13 NVA3_HOST_CLK, 14 } host_out; 15 u32 fb_delay; 16 }; 17 18 int gt215_pll_info(struct nvkm_clk *, int, u32, u32, struct gt215_clk_info *); 19 int gt215_clk_pre(struct nvkm_clk *, unsigned long *flags); 20 void gt215_clk_post(struct nvkm_clk *, unsigned long *flags); 21 #endif 22