1 #ifndef __NVKM_PM_NV40_H__ 2 #define __NVKM_PM_NV40_H__ 3 #include "priv.h" 4 5 struct nv40_pm_oclass { 6 struct nvkm_oclass base; 7 const struct nvkm_specdom *doms; 8 }; 9 10 struct nv40_pm { 11 struct nvkm_pm base; 12 u32 sequence; 13 }; 14 15 int nv40_pm_ctor(struct nvkm_object *, struct nvkm_object *, 16 struct nvkm_oclass *, void *data, u32 size, 17 struct nvkm_object **pobject); 18 19 struct nv40_pm_cntr { 20 struct nvkm_perfctr base; 21 }; 22 23 extern const struct nvkm_funcdom nv40_perfctr_func; 24 #endif 25