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 {
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
uint32_t gpio_t
Definition: gpio.h:9
uint32_t u32
Definition: stdint.h:51
u32 bit
Definition: gpio_base.h:12
u32 offset
Definition: gpio_base.h:14
u32 base
Definition: gpio_base.h:13
u32 flag
Definition: gpio_base.h:11
u32 raw
Definition: gpio_base.h:8