1 #ifndef __NVKM_PMU_PRIV_H__
2 #define __NVKM_PMU_PRIV_H__
3 #define nvkm_pmu(p) container_of((p), struct nvkm_pmu, subdev)
4 #include <subdev/pmu.h>
5 #include <subdev/pmu/fuc/os.h>
7 int nvkm_pmu_new_(const struct nvkm_pmu_func
*, struct nvkm_device
*,
8 int index
, struct nvkm_pmu
**);
10 struct nvkm_pmu_func
{
11 void (*reset
)(struct nvkm_pmu
*);
23 void (*pgob
)(struct nvkm_pmu
*, bool);
26 void gk110_pmu_pgob(struct nvkm_pmu
*, bool);