1#ifndef __NVKM_CLK_NV50_H__
2#define __NVKM_CLK_NV50_H__
3
4#include <subdev/bus.h>
5#include <subdev/bus/hwsq.h>
6#include <subdev/clock.h>
7
8struct nv50_clock_hwsq {
9	struct hwsq base;
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;
15};
16
17struct nv50_clock_priv {
18	struct nouveau_clock base;
19	struct nv50_clock_hwsq hwsq;
20};
21
22int  nv50_clock_ctor(struct nouveau_object *, struct nouveau_object *,
23		     struct nouveau_oclass *, void *, u32,
24		     struct nouveau_object **);
25
26struct nv50_clock_oclass {
27	struct nouveau_oclass base;
28	struct nouveau_clocks *domains;
29};
30
31#endif
32