Commit | Line | Data |
---|---|---|
7c856522 BS |
1 | #ifndef __NVKM_CLK_NV50_H__ |
2 | #define __NVKM_CLK_NV50_H__ | |
7c856522 | 3 | #include <subdev/bus/hwsq.h> |
f3867f43 | 4 | #include <subdev/clk.h> |
7c856522 | 5 | |
f3867f43 | 6 | struct nv50_clk_hwsq { |
7c856522 BS |
7 | struct hwsq base; |
8 | struct hwsq_reg r_fifo; | |
9 | struct hwsq_reg r_spll[2]; | |
10 | struct hwsq_reg r_nvpll[2]; | |
11 | struct hwsq_reg r_divs; | |
12 | struct hwsq_reg r_mast; | |
13 | }; | |
14 | ||
3eca809b | 15 | struct nv50_clk { |
7632b30e | 16 | struct nvkm_clk base; |
f3867f43 | 17 | struct nv50_clk_hwsq hwsq; |
7c856522 BS |
18 | }; |
19 | ||
7632b30e BS |
20 | int nv50_clk_ctor(struct nvkm_object *, struct nvkm_object *, |
21 | struct nvkm_oclass *, void *, u32, | |
22 | struct nvkm_object **); | |
7c856522 | 23 | |
f3867f43 | 24 | struct nv50_clk_oclass { |
7632b30e BS |
25 | struct nvkm_oclass base; |
26 | struct nvkm_domain *domains; | |
7c856522 | 27 | }; |
7c856522 | 28 | #endif |