summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/subdev/clk/nva3.h
blob: ce0fc83345e3b5529ecc9420ef604b9f59063c06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __NVKM_CLK_NVA3_H__
#define __NVKM_CLK_NVA3_H__

#include <subdev/clk.h>

struct nva3_clk_info {
	u32 clk;
	u32 pll;
	enum {
		NVA3_HOST_277,
		NVA3_HOST_CLK,
	} host_out;
	u32 fb_delay;
};

int nva3_pll_info(struct nouveau_clk *, int, u32, u32,
		    struct nva3_clk_info *);
int nva3_clk_pre(struct nouveau_clk *clk, unsigned long *flags);
void nva3_clk_post(struct nouveau_clk *clk, unsigned long *flags);
#endif