1 /* $NetBSD: nv40.h,v 1.3 2021/12/18 23:45:37 riastradh Exp $ */ 2 3 /* SPDX-License-Identifier: MIT */ 4 #ifndef __NVKM_PM_NV40_H__ 5 #define __NVKM_PM_NV40_H__ 6 #define nv40_pm(p) container_of((p), struct nv40_pm, base) 7 #include "priv.h" 8 9 struct nv40_pm { 10 struct nvkm_pm base; 11 u32 sequence; 12 }; 13 14 int nv40_pm_new_(const struct nvkm_specdom *, struct nvkm_device *, 15 int index, struct nvkm_pm **); 16 extern const struct nvkm_funcdom nv40_perfctr_func; 17 #endif 18