ONLP
Open Network Linux Platform APIs
platformi.h
Go to the documentation of this file.
1 /************************************************************
2  * <bsn.cl fy=2014 v=onl>
3  *
4  * Copyright 2014, 2015 Big Switch Networks, Inc.
5  *
6  * Licensed under the Eclipse Public License, Version 1.0 (the
7  * "License"); you may not use this file except in compliance
8  * with the License. You may obtain a copy of the License at
9  *
10  * http://www.eclipse.org/legal/epl-v10.html
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
15  * either express or implied. See the License for the specific
16  * language governing permissions and limitations under the
17  * License.
18  *
19  * </bsn.cl>
20  ********************************************************/
28 #ifndef __ONLP_PLATFORMI_H__
29 #define __ONLP_PLATFORMI_H__
30 
31 #include <onlp/platform.h>
32 
54 const char* onlp_platformi_get(void);
55 
60 int onlp_platformi_set(const char* platform);
61 
66 int onlp_platformi_sw_init(void);
67 
72 int onlp_platformi_hw_init(uint32_t flags);
73 
74 
79 
86 
93 
94 #endif /* __ONLP_PLATFORMI_H__ */
95 /* @} */
int onlp_platformi_manage_fans(void)
Perform necessary platform fan management.
int onlp_platformi_hw_init(uint32_t flags)
Platform module hardware initialization.
int onlp_platformi_manage_leds(void)
Perform necessary platform LED management.
Platform Management and Initialization.
int onlp_platformi_manage_init(void)
Initialize the platform manager features.
int onlp_platformi_sw_init(void)
Initialize the platform software module.
int onlp_platformi_set(const char *platform)
Set the platform explicitly if necessary.
const char * onlp_platformi_get(void)
Return the name of the the platform implementation.