ONLP
Open Network Linux Platform APIs
|
Functions | |
const char * | onlp_platformi_get (void) |
Return the name of the the platform implementation. More... | |
int | onlp_platformi_set (const char *platform) |
Set the platform explicitly if necessary. More... | |
int | onlp_platformi_sw_init (void) |
Initialize the platform software module. More... | |
int | onlp_platformi_hw_init (uint32_t flags) |
Platform module hardware initialization. More... | |
int | onlp_platformi_manage_init (void) |
Initialize the platform manager features. | |
int | onlp_platformi_manage_fans (void) |
Perform necessary platform fan management. More... | |
int | onlp_platformi_manage_leds (void) |
Perform necessary platform LED management. More... | |
const char* onlp_platformi_get | ( | void | ) |
Return the name of the the platform implementation.
The platform implementation name should match the current ONLP platform name.
IF the platform implementation name equals the current platform name, initialization will continue.
If the platform implementation name does not match, the following will be attempted:
onlp_platformi_set(current_platform_name); If this call is successful, initialization will continue. If this call fails, platform initialization will abort().
The onlp_platformi_set() function is optional. The onlp_platformi_get() is not optional.
int onlp_platformi_hw_init | ( | uint32_t | flags | ) |
Platform module hardware initialization.
flags | The initialization flags. |
int onlp_platformi_manage_fans | ( | void | ) |
Perform necessary platform fan management.
int onlp_platformi_manage_leds | ( | void | ) |
Perform necessary platform LED management.
int onlp_platformi_set | ( | const char * | platform | ) |
Set the platform explicitly if necessary.
platform | The platform name. |
int onlp_platformi_sw_init | ( | void | ) |
Initialize the platform software module.