ONLP
Open Network Linux Platform APIs
Macros | Functions
psui.h File Reference

Power Supply Management Implementation. More...

#include <onlp/psu.h>

Go to the source code of this file.

Macros

#define ONLP_CHASSIS_PSU_INFO_ENTRY_INIT(_id, _desc)
 Initialize a static PSU info structure. More...
 

Functions

int onlp_psui_sw_init (void)
 Software initialization of the PSU module.
 
int onlp_psui_hw_init (uint32_t flags)
 Hardware initialization of the PSU module. More...
 
int onlp_psui_sw_denit (void)
 Deinitialize the psu software module. More...
 
int onlp_psui_id_validate (onlp_oid_id_t id)
 Validate a PSU OID. More...
 
int onlp_psui_hdr_get (onlp_oid_id_t id, onlp_oid_hdr_t *rv)
 Get the PSU's oid header. More...
 
int onlp_psui_info_get (onlp_oid_id_t id, onlp_psu_info_t *rv)
 Get the information structure for the given PSU. More...
 

Detailed Description

Power Supply Management Implementation.