XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
amdxdna_drm_query_sensor Struct Reference

#include <amdxdna_accel.h>

Public Attributes

__u8 label [64]
 
__u32 input
 
__u32 max
 
__u32 average
 
__u32 highest
 
__u8 status [64]
 
__u8 units [16]
 
__s8 unitm
 
__u8 type
 
__u8 pad [6]
 

Detailed Description

struct amdxdna_drm_query_sensor - The data for single sensor. @label: The name for a sensor. @input: The current value of the sensor. @max: The maximum value possible for the sensor. @average: The average value of the sensor. @highest: The highest recorded sensor value for this driver load for the sensor. @status: The sensor status. @units: The sensor units. @unitm: Translates value member variables into the correct unit via (pow(10, unitm) * value). @type: The sensor type from enum amdxdna_sensor_type. @pad: Structure padding.

Member Data Documentation

◆ average

__u32 amdxdna_drm_query_sensor::average

◆ highest

__u32 amdxdna_drm_query_sensor::highest

◆ input

__u32 amdxdna_drm_query_sensor::input

◆ label

__u8 amdxdna_drm_query_sensor::label[64]

◆ max

__u32 amdxdna_drm_query_sensor::max

◆ pad

__u8 amdxdna_drm_query_sensor::pad[6]

◆ status

__u8 amdxdna_drm_query_sensor::status[64]

◆ type

__u8 amdxdna_drm_query_sensor::type

◆ unitm

__s8 amdxdna_drm_query_sensor::unitm

◆ units

__u8 amdxdna_drm_query_sensor::units[16]

The documentation for this struct was generated from the following file: