coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gpio.h File Reference
#include <soc/gpio.h>
Include dependency graph for gpio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GPIO_WP   GPIO(EINT14)
 
#define GPIO_EC_AP_INT   GPIO(EINT5)
 
#define GPIO_EC_IN_RW   GPIO(ANT_SEL8)
 
#define GPIO_H1_AP_INT   GPIO(ANT_SEL9)
 
#define GPIO_SD_CD   GPIO(EINT17)
 
#define GPIO_RESET   GPIO(CAM_PDN2)
 
#define GPIO_EN_SPK_AMP   GPIO(CAM_PDN1)
 
#define GPIO_XHCI_DONE   GPIO(CAM_PDN5)
 

Functions

void setup_chromeos_gpios (void)
 

Macro Definition Documentation

◆ GPIO_EC_AP_INT

#define GPIO_EC_AP_INT   GPIO(EINT5)

Definition at line 10 of file gpio.h.

◆ GPIO_EC_IN_RW

#define GPIO_EC_IN_RW   GPIO(ANT_SEL8)

Definition at line 11 of file gpio.h.

◆ GPIO_EN_SPK_AMP

#define GPIO_EN_SPK_AMP   GPIO(CAM_PDN1)

Definition at line 18 of file gpio.h.

◆ GPIO_H1_AP_INT

#define GPIO_H1_AP_INT   GPIO(ANT_SEL9)

Definition at line 12 of file gpio.h.

◆ GPIO_RESET

#define GPIO_RESET   GPIO(CAM_PDN2)

Definition at line 16 of file gpio.h.

◆ GPIO_SD_CD

#define GPIO_SD_CD   GPIO(EINT17)

Definition at line 14 of file gpio.h.

◆ GPIO_WP

#define GPIO_WP   GPIO(EINT14)

Definition at line 9 of file gpio.h.

◆ GPIO_XHCI_DONE

#define GPIO_XHCI_DONE   GPIO(CAM_PDN5)

Definition at line 20 of file gpio.h.

Function Documentation

◆ setup_chromeos_gpios()

void setup_chromeos_gpios ( void  )

Definition at line 10 of file chromeos.c.