ONLP
Open Network Linux Platform APIs
|
Thermal Sensor Platform Implementation. More...
#include <onlp/thermal.h>
Go to the source code of this file.
Macros | |
#define | ONLP_THERMAL_INFO_ENTRY_INIT(_id, _desc, _parent) |
#define | ONLP_CHASSIS_THERMAL_INFO_ENTRY_INIT(_id, _desc) ONLP_THERMAL_INFO_ENTRY_INIT(_id, _desc, ONLP_OID_CHASSIS) |
#define | ONLP_PSU_THERMAL_INFO_ENTRY_INIT(_id, _desc, _psu_id) ONLP_THERMAL_INFO_ENTRY_INIT(_id, _desc, ONLP_PSU_ID_CREATE(_psu_id)) |
Functions | |
int | onlp_thermali_sw_init (void) |
Software initialization of the Thermal module. | |
int | onlp_thermali_hw_init (uint32_t flags) |
Hardware initialization of the Thermal module. More... | |
int | onlp_thermali_sw_denit (void) |
Deinitialize the thermal software module. More... | |
int | onlp_thermali_id_validate (onlp_oid_id_t id) |
Validate a thermal oid. More... | |
int | onlp_thermali_hdr_get (onlp_oid_id_t id, onlp_oid_hdr_t *rv) |
Retrieve the thermal's oid header. More... | |
int | onlp_thermali_info_get (onlp_oid_id_t id, onlp_thermal_info_t *rv) |
Get the information for the given thermal OID. More... | |
Thermal Sensor Platform Implementation.