2 * Author......: Jens Steube <jens.steube@gmail.com>
9 #if defined(HAVE_HWMON) && defined(HAVE_NVAPI)
13 // Just annotations (they do nothing special)
24 #define __in_ecount(x)
27 #define __out_ecount(x)
41 #ifndef __inout_ecount
42 #define __inout_ecount(x)
44 #ifndef __inout_ecount_full
45 #define __inout_ecount_full(x)
47 #ifndef __inout_ecount_part_opt
48 #define __inout_ecount_part_opt(x,y)
50 #ifndef __inout_ecount_full_opt
51 #define __inout_ecount_full_opt(x,y)
53 #ifndef __out_ecount_full_opt
54 #define __out_ecount_full_opt(x)
59 typedef NvPhysicalGpuHandle HM_ADAPTER_NV
;
61 int hc_NvAPI_EnumPhysicalGPUs (NvPhysicalGpuHandle nvGPUHandle
[NVAPI_MAX_PHYSICAL_GPUS
], NvU32
*pGpuCount
);
62 int hc_NvAPI_GPU_GetThermalSettings (NvPhysicalGpuHandle hPhysicalGpu
, NvU32 sensorIndex
, NV_GPU_THERMAL_SETTINGS
*pThermalSettings
);
63 int hc_NvAPI_GPU_GetTachReading (NvPhysicalGpuHandle hPhysicalGPU
, NvU32
*pValue
);
64 int hc_NvAPI_GPU_GetDynamicPstatesInfoEx (NvPhysicalGpuHandle hPhysicalGpu
, NV_GPU_DYNAMIC_PSTATES_INFO_EX
*pDynamicPstatesInfoEx
);
66 #endif // HAVE_HWMON && HAVE_NVAPI