Merge tag 'sound-fix-4.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[deliverable/linux.git] / drivers / gpu / drm / nouveau / nvkm / subdev / clk / nv50.h
CommitLineData
6625f55c
BS
1#ifndef __NV50_CLK_H__
2#define __NV50_CLK_H__
3#define nv50_clk(p) container_of((p), struct nv50_clk, base)
4#include "priv.h"
5
7c856522 6#include <subdev/bus/hwsq.h>
7c856522 7
f3867f43 8struct nv50_clk_hwsq {
7c856522
BS
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
3eca809b 17struct nv50_clk {
7632b30e 18 struct nvkm_clk base;
f3867f43 19 struct nv50_clk_hwsq hwsq;
7c856522
BS
20};
21
6625f55c
BS
22int nv50_clk_new_(const struct nvkm_clk_func *, struct nvkm_device *, int,
23 bool, struct nvkm_clk **);
24int nv50_clk_read(struct nvkm_clk *, enum nv_clk_src);
25int nv50_clk_calc(struct nvkm_clk *, struct nvkm_cstate *);
26int nv50_clk_prog(struct nvkm_clk *);
27void nv50_clk_tidy(struct nvkm_clk *);
7c856522 28#endif
This page took 0.178041 seconds and 5 git commands to generate.