28 #ifndef __ONLP_PSUI_H__ 29 #define __ONLP_PSUI_H__ 76 #define ONLP_CHASSIS_PSU_INFO_ENTRY_INIT(_id, _desc) \ 80 .description = _desc, \ 81 .poid = ONLP_OID_CHASSIS, \ int onlp_psui_sw_init(void)
Software initialization of the PSU module.
int onlp_psui_hdr_get(onlp_oid_id_t id, onlp_oid_hdr_t *rv)
Get the PSU's oid header.
int onlp_psui_hw_init(uint32_t flags)
Hardware initialization of the PSU module.
int onlp_psui_sw_denit(void)
Deinitialize the psu software module.
int onlp_psui_id_validate(onlp_oid_id_t id)
Validate a PSU OID.
uint32_t onlp_oid_id_t
Definition: oids.h:55
int onlp_psui_info_get(onlp_oid_id_t id, onlp_psu_info_t *rv)
Get the information structure for the given PSU.