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 
3 #ifndef SOC_MEDIATEK_MT8195_GPIO_BASE_H
4 #define SOC_MEDIATEK_MT8195_GPIO_BASE_H
5 
6 #include <stdint.h>
7 
8 typedef union {
9  u32 raw;
10  struct {
11  u32 id : 8;
12  u32 flag : 3;
13  u32 bit : 5;
14  u32 base : 8;
15  u32 offset : 8;
16  };
17 } gpio_t;
18 
19 #endif
u8 raw[sizeof(struct arm64_kernel_header)+0x100]
Definition: fit_payload.c:31
static size_t offset
Definition: flashconsole.c:16
uintptr_t base
Definition: uart.c:17
uint32_t gpio_t
Definition: gpio.h:9
uint32_t u32
Definition: stdint.h:51