1 #ifndef __NVKM_CLK_NV50_H__
2 #define __NVKM_CLK_NV50_H__
4 #include <subdev/bus.h>
5 #include <subdev/bus/hwsq.h>
6 #include <subdev/clock.h>
8 struct nv50_clock_hwsq {
10 struct hwsq_reg r_fifo;
11 struct hwsq_reg r_spll[2];
12 struct hwsq_reg r_nvpll[2];
13 struct hwsq_reg r_divs;
14 struct hwsq_reg r_mast;
17 struct nv50_clock_priv {
18 struct nouveau_clock base;
19 struct nv50_clock_hwsq hwsq;
22 int nv50_clock_ctor(struct nouveau_object *, struct nouveau_object *,
23 struct nouveau_oclass *, void *, u32,
24 struct nouveau_object **);
26 struct nv50_clock_oclass {
27 struct nouveau_oclass base;
28 struct nouveau_clocks *domains;