iccsense.h 395 B

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