coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gpio.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef __COREBOOT_SRC_SOC_CAVIUM_COMMON_INCLUDE_SOC_GPIO_H
4 #define __COREBOOT_SRC_SOC_CAVIUM_COMMON_INCLUDE_SOC_GPIO_H
5 
6 #include <types.h>
7 
8 typedef u32 gpio_t;
9 #include <gpio.h>
10 
11 /* The following functions must be implemented by SoC/board code. */
13 void gpio_invert(gpio_t gpio, int value);
15 
16 void gpio_init(void);
17 
18 #endif
pte_t value
Definition: mmu.c:91
uint32_t gpio_t
Definition: gpio.h:9
int gpio_strap_value(gpio_t gpio)
Definition: gpio.c:150
void gpio_invert(gpio_t gpio, int value)
Definition: gpio.c:119
gpio_t gpio_pin_count(void)
Definition: gpio.c:53
void gpio_init(void)
Definition: gpio.c:165
uint32_t u32
Definition: stdint.h:51
Definition: pinmux.c:36