1 #ifndef __NVKM_ICCSENSE_H__
2 #define __NVKM_ICCSENSE_H__
3 
4 #include <core/subdev.h>
5 
6 struct nvkm_iccsense {
7 	struct nvkm_subdev subdev;
8 	bool data_valid;
9 	struct list_head sensors;
10 	struct list_head rails;
11 
12 	u32 power_w_max;
13 	u32 power_w_crit;
14 };
15 
16 int gf100_iccsense_new(struct nvkm_device *, int index, struct nvkm_iccsense **);
17 int nvkm_iccsense_read_all(struct nvkm_iccsense *iccsense);
18 #endif
19