coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gpio_base.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
#ifndef SOC_MEDIATEK_MT8183_GPIO_BASE_H
3
#define SOC_MEDIATEK_MT8183_GPIO_BASE_H
4
5
#include <
stdint.h
>
6
7
typedef
union
{
8
u32
raw
;
9
struct
{
10
u32
id : 8;
11
u32
flag
: 3;
12
u32
bit
: 5;
13
u32
base
: 8;
14
u32
offset
: 8;
15
};
16
}
gpio_t
;
17
18
#endif
gpio_t
uint32_t gpio_t
Definition:
gpio.h:9
stdint.h
u32
uint32_t u32
Definition:
stdint.h:51
gpio_t::bit
u32 bit
Definition:
gpio_base.h:12
gpio_t::offset
u32 offset
Definition:
gpio_base.h:14
gpio_t::base
u32 base
Definition:
gpio_base.h:13
gpio_t::flag
u32 flag
Definition:
gpio_base.h:11
gpio_t::raw
u32 raw
Definition:
gpio_base.h:8
src
soc
mediatek
mt8183
include
soc
gpio_base.h
Generated by
1.9.1