iccsense.h 447 B

1234567891011121314151617
  1. #ifndef __NVKM_ICCSENSE_H__
  2. #define __NVKM_ICCSENSE_H__
  3. #include <core/subdev.h>
  4. struct nkvm_iccsense_rail;
  5. struct nvkm_iccsense {
  6. struct nvkm_subdev subdev;
  7. u8 rail_count;
  8. bool data_valid;
  9. struct nvkm_iccsense_rail *rails;
  10. };
  11. int gf100_iccsense_new(struct nvkm_device *, int index, struct nvkm_iccsense **);
  12. int nvkm_iccsense_read(struct nvkm_iccsense *iccsense, u8 idx);
  13. int nvkm_iccsense_read_all(struct nvkm_iccsense *iccsense);
  14. #endif