1 #ifndef __NVKM_PM_NV40_H__
2 #define __NVKM_PM_NV40_H__
3 #define nv40_pm(p) container_of((p), struct nv40_pm, base)
4 #include "priv.h"
5 
6 struct nv40_pm {
7 	struct nvkm_pm base;
8 	u32 sequence;
9 };
10 
11 int nv40_pm_new_(const struct nvkm_specdom *, struct nvkm_device *,
12 		 int index, struct nvkm_pm **);
13 extern const struct nvkm_funcdom nv40_perfctr_func;
14 #endif
15