ONLP
Open Network Linux Platform APIs
module
inc
onlp
platformi
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
78
int
onlp_platformi_manage_init
(
void
);
79
85
int
onlp_platformi_manage_fans
(
void
);
86
92
int
onlp_platformi_manage_leds
(
void
);
93
94
#endif
/* __ONLP_PLATFORMI_H__ */
95
/* @} */
onlp_platformi_manage_fans
int onlp_platformi_manage_fans(void)
Perform necessary platform fan management.
onlp_platformi_hw_init
int onlp_platformi_hw_init(uint32_t flags)
Platform module hardware initialization.
onlp_platformi_manage_leds
int onlp_platformi_manage_leds(void)
Perform necessary platform LED management.
platform.h
Platform Management and Initialization.
onlp_platformi_manage_init
int onlp_platformi_manage_init(void)
Initialize the platform manager features.
onlp_platformi_sw_init
int onlp_platformi_sw_init(void)
Initialize the platform software module.
onlp_platformi_set
int onlp_platformi_set(const char *platform)
Set the platform explicitly if necessary.
onlp_platformi_get
const char * onlp_platformi_get(void)
Return the name of the the platform implementation.
Generated on Wed May 29 2019 16:19:07 for ONLP by
1.8.13