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