|
ONLP
Open Network Linux Platform APIs
|
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... | |
| #define ONLP_CHASSIS_PSU_INFO_ENTRY_INIT | ( | _id, | |
| _desc | |||
| ) |
Initialize a static PSU info structure.
| int onlp_psui_hdr_get | ( | onlp_oid_id_t | id, |
| onlp_oid_hdr_t * | rv | ||
| ) |
Get the PSU's oid header.
| id | The PSU OID. | |
| [out] | rv | Receives the header. |
| int onlp_psui_hw_init | ( | uint32_t | flags | ) |
Hardware initialization of the PSU module.
| flags | The hardware initialization flags. |
| int onlp_psui_id_validate | ( | onlp_oid_id_t | id | ) |
Validate a PSU OID.
| id | The id. |
| int onlp_psui_info_get | ( | onlp_oid_id_t | id, |
| onlp_psu_info_t * | rv | ||
| ) |
Get the information structure for the given PSU.
| id | The PSU OID | |
| [out] | rv | Receives the PSU information. |
| int onlp_psui_sw_denit | ( | void | ) |
Deinitialize the psu software module.
1.8.13