coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
blsp.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause */
2
3
#ifndef __BLSP_H_
4
#define __BLSP_H_
5
6
typedef
enum
{
7
BLSP_QUP_ID_0
,
8
BLSP_QUP_ID_1
,
9
BLSP_QUP_ID_2
,
10
BLSP_QUP_ID_3
,
11
}
blsp_qup_id_t
;
12
13
typedef
enum
{
14
BLSP_SUCCESS
= 0,
15
BLSP_ID_ERROR
,
16
BLSP_ERROR
,
17
BLSP_UNSUPPORTED
18
}
blsp_return_t
;
19
20
typedef
enum
{
21
BLSP_PROTO_I2C_UIM
= 1,
22
BLSP_PROTO_I2C_ONLY
,
23
BLSP_PROTO_SPI_ONLY
,
24
BLSP_PROTO_UART_FLOW_CTL
,
25
BLSP_PROTO_UIM
,
26
BLSP_PROTO_I2C_UART
,
27
}
blsp_protocol_t
;
28
29
blsp_return_t
blsp_i2c_init
(
blsp_qup_id_t
id
);
30
int
blsp_i2c_init_board
(
blsp_qup_id_t
id
);
31
32
#endif
blsp_qup_id_t
blsp_qup_id_t
Definition:
blsp.h:6
BLSP_QUP_ID_1
@ BLSP_QUP_ID_1
Definition:
blsp.h:8
BLSP_QUP_ID_3
@ BLSP_QUP_ID_3
Definition:
blsp.h:10
BLSP_QUP_ID_0
@ BLSP_QUP_ID_0
Definition:
blsp.h:7
BLSP_QUP_ID_2
@ BLSP_QUP_ID_2
Definition:
blsp.h:9
blsp_protocol_t
blsp_protocol_t
Definition:
blsp.h:20
BLSP_PROTO_UART_FLOW_CTL
@ BLSP_PROTO_UART_FLOW_CTL
Definition:
blsp.h:24
BLSP_PROTO_UIM
@ BLSP_PROTO_UIM
Definition:
blsp.h:25
BLSP_PROTO_I2C_UIM
@ BLSP_PROTO_I2C_UIM
Definition:
blsp.h:21
BLSP_PROTO_I2C_ONLY
@ BLSP_PROTO_I2C_ONLY
Definition:
blsp.h:22
BLSP_PROTO_SPI_ONLY
@ BLSP_PROTO_SPI_ONLY
Definition:
blsp.h:23
BLSP_PROTO_I2C_UART
@ BLSP_PROTO_I2C_UART
Definition:
blsp.h:26
blsp_return_t
blsp_return_t
Definition:
blsp.h:13
BLSP_UNSUPPORTED
@ BLSP_UNSUPPORTED
Definition:
blsp.h:17
BLSP_ID_ERROR
@ BLSP_ID_ERROR
Definition:
blsp.h:15
BLSP_ERROR
@ BLSP_ERROR
Definition:
blsp.h:16
BLSP_SUCCESS
@ BLSP_SUCCESS
Definition:
blsp.h:14
blsp_i2c_init_board
int blsp_i2c_init_board(blsp_qup_id_t id)
Definition:
blsp.c:41
blsp_i2c_init
blsp_return_t blsp_i2c_init(blsp_qup_id_t id)
Definition:
blsp.c:7
src
soc
qualcomm
ipq40xx
include
soc
blsp.h
Generated by
1.9.1