OpenBIC
OpenSource Bridge-IC
plat_gpio.h File Reference
#include "hal_gpio.h"
Include dependency graph for plat_gpio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define name_gpioA
 
#define name_gpioB
 
#define name_gpioC
 
#define name_gpioD
 
#define name_gpioE
 
#define name_gpioF
 
#define name_gpioG
 
#define name_gpioH
 
#define name_gpioI
 
#define name_gpioJ
 
#define name_gpioK
 
#define name_gpioL
 
#define name_gpioM
 
#define name_gpioN
 
#define name_gpioO
 
#define name_gpioP
 
#define name_gpioQ
 
#define name_gpioR
 
#define name_gpioS
 
#define name_gpioT
 
#define name_gpioU
 
#define gpio_name_to_num(x)   x,
 

Enumerations

enum  _GPIO_NUMS_ {
  name_gpioU , name_gpioU , name_gpioU , name_gpioU ,
  name_gpioF , name_gpioU , name_gpioU , name_gpioU ,
  name_gpioU , name_gpioU , name_gpioU , name_gpioU ,
  name_gpioU , name_gpioU , name_gpioU , name_gpioU ,
  name_gpioU , name_gpioU , name_gpioU
}
 

Variables

enum _GPIO_NUMS_ GPIO_NUMS
 
char * gpio_name []
 

Macro Definition Documentation

◆ gpio_name_to_num

#define gpio_name_to_num (   x)    x,

◆ name_gpioA

#define name_gpioA
Value:
gpio_name_to_num(CPU0_BMC_GPIOA0_PRESENT_L) \
gpio_name_to_num(BMC_GPIOA1_S01_SYSRESET_L) \
gpio_name_to_num(S0_BMC_GPIOA2_FAULT_ALERT) \
gpio_name_to_num(JTAG_CMPL2_PD_BIC) \
gpio_name_to_num(IRQ_UV_DETECT_N) \
gpio_name_to_num(S0_BMC_GPIOA5_FW_BOOT_OK) \
gpio_name_to_num(S0_BMC_GPIOA6_SHD_REQ_L) \
gpio_name_to_num(HSC_OCP_GPIO1_R)
#define gpio_name_to_num(x)
Definition: plat_gpio.h:244

◆ name_gpioB

#define name_gpioB
Value:
gpio_name_to_num(S0_BMC_GPIOB0_SHD_ACK_L) \
gpio_name_to_num(RST_USB_HUB_R_N) \
gpio_name_to_num(P3V_BAT_SCALED_EN_R) \
gpio_name_to_num(FM_BIOS_POST_CMPLT_BIC_N) \
gpio_name_to_num(S0_BMC_GPIOB4_REBOOT_ACK_L) \
gpio_name_to_num(S0_BMC_GPIOB5_PCP_OC_WARN_L) \
gpio_name_to_num(S0_BMC_GPIOB6_OVERTEMP_L) \
gpio_name_to_num(S0_BMC_GPIOB7_HIGHTEMP_L)

◆ name_gpioC

#define name_gpioC
Value:
gpio_name_to_num(FM_HSC_TIMER) \
gpio_name_to_num(IRQ_SMB_IO_LVC3_STBY_ALRT_N) \
gpio_name_to_num(BMC_GPIOC2_S0_RTC_LOCK) \
gpio_name_to_num(BMC_GPIOC3_OK) \
gpio_name_to_num(S0_BMC_MPRO_HEARTBEAT) \
gpio_name_to_num(BMC_GPIOT5_JTAG_SRST_L) \
gpio_name_to_num(AUTH_PRSNT_BIC_N) \
gpio_name_to_num(BMC_GPIOT6_SPI0_PROGRAM_SEL)

◆ name_gpioD

#define name_gpioD
Value:
gpio_name_to_num(PWRBTN_R1_N) \
gpio_name_to_num(RST_BMC_R_N) \
gpio_name_to_num(FM_BIOS_MRC_DEBUG_MSG_DIS) \
gpio_name_to_num(BTN_PWR_BUF_BMC_GPIOD3_L) \
gpio_name_to_num(BMC_GPIOD4_SW_HBLED) \
gpio_name_to_num(FM_SOL_UART_CH_SEL_R) \
gpio_name_to_num(Reserve_GPIOD6) \
gpio_name_to_num(Reserve_GPIOD7)

◆ name_gpioE

#define name_gpioE
Value:
gpio_name_to_num(Reserve_GPIOE0) \
gpio_name_to_num(S0_BMC_GPIOE1_SYS_AUTH_FAILURE_L) \
gpio_name_to_num(CPLD_BMC_GPIOE2_S0_SPI_AUTH_FAIL_L) \
gpio_name_to_num(IRQ_HSC_ALERT1_N) \
gpio_name_to_num(SMB_SENSOR_LVC3_ALERT_N) \
gpio_name_to_num(BIC_FW_RECOVERY_L) \
gpio_name_to_num(SYS_PWRBTN_BIC_N) \
gpio_name_to_num(RST_PLTRST_BIC_N)

◆ name_gpioF

#define name_gpioF
Value:
gpio_name_to_num(CPU_BIOS_RECOVER_GPIOF0) \
gpio_name_to_num(IRQ_HSC_ALERT2_N) \
gpio_name_to_num(Reserve_GPIOF2) \
gpio_name_to_num(S0_BMC_GPIOF3_VRHOT_L) \
gpio_name_to_num(S0_BMC_GPIOF4_VRD_FAULT_L) \
gpio_name_to_num(FM_FAST_PROCHOT_EN_R_N) \
gpio_name_to_num(Reserve_GPIOF6) \
gpio_name_to_num(BTN_SYS_RST_BMC_GPIOF7_L)

◆ name_gpioG

#define name_gpioG
Value:
gpio_name_to_num(CPLD_SOC_SPI_NOR_ACCESS) \
gpio_name_to_num(CPLD_BMC_SPI_NOR_ACCESS) \
gpio_name_to_num(FAST_PROCHOT_N) \
gpio_name_to_num(BIC_SALT4_L) \
gpio_name_to_num(BIC_JTAG_SEL_R) \
gpio_name_to_num(BIC_SALT12_L) \
gpio_name_to_num(HSC_OCP_GPIO2_R) \
gpio_name_to_num(HSC_OCP_GPIO3_R)

◆ name_gpioH

#define name_gpioH
Value:
gpio_name_to_num(BIC_SALT7_L) \
gpio_name_to_num(BMC_GPIOH1_SPD_SEL) \
gpio_name_to_num(BMC_GPIOH2_VRD_SEL) \
gpio_name_to_num(FM_CPU_BIC_PROCHOT_LVT3_N) \
gpio_name_to_num(Reserve_GPIOH4) \
gpio_name_to_num(Reserve_GPIOH5) \
gpio_name_to_num(Reserve_GPIOH6) \
gpio_name_to_num(Reserve_GPIOH7)

◆ name_gpioI

#define name_gpioI
Value:
gpio_name_to_num(Reserve_GPIOI0) \
gpio_name_to_num(Reserve_GPIOI1) \
gpio_name_to_num(Reserve_GPIOI2) \
gpio_name_to_num(Reserve_GPIOI3) \
gpio_name_to_num(Reserve_GPIOI4) \
gpio_name_to_num(Reserve_GPIOI5) \
gpio_name_to_num(Reserve_GPIOI6) \
gpio_name_to_num(Reserve_GPIOI7)

◆ name_gpioJ

#define name_gpioJ
Value:
gpio_name_to_num(Reserve_GPIOJ0) \
gpio_name_to_num(Reserve_GPIOJ1) \
gpio_name_to_num(Reserve_GPIOJ2) \
gpio_name_to_num(Reserve_GPIOJ3) \
gpio_name_to_num(Reserve_GPIOJ4) \
gpio_name_to_num(Reserve_GPIOJ5) \
gpio_name_to_num(Reserve_GPIOJ6) \
gpio_name_to_num(Reserve_GPIOJ7)

◆ name_gpioK

#define name_gpioK
Value:
gpio_name_to_num(Reserve_GPIOK0) \
gpio_name_to_num(Reserve_GPIOK1) \
gpio_name_to_num(Reserve_GPIOK2) \
gpio_name_to_num(Reserve_GPIOK3) \
gpio_name_to_num(Reserve_GPIOK4) \
gpio_name_to_num(Reserve_GPIOK5) \
gpio_name_to_num(Reserve_GPIOK6) \
gpio_name_to_num(Reserve_GPIOK7)

◆ name_gpioL

#define name_gpioL
Value:
gpio_name_to_num(BMC_GPIOL0_SYS_PSON_L) \
gpio_name_to_num(BMC_GPIOL1_SYS_PWRGD) \
gpio_name_to_num(BIC_JTAG_MUX_SEL) \
gpio_name_to_num(BOARD_ID2) \
gpio_name_to_num(Reserve_GPIOL4) \
gpio_name_to_num(Reserve_GPIOL5) \
gpio_name_to_num(BOARD_ID0) \
gpio_name_to_num(BOARD_ID1)

◆ name_gpioM

#define name_gpioM
Value:
gpio_name_to_num(BIC_SECUREBOOT) \
gpio_name_to_num(BOARD_ID3) \
gpio_name_to_num(BIC_ESPI_SELECT) \
gpio_name_to_num(Reserve_GPIOM3) \
gpio_name_to_num(BOARD_ID5) \
gpio_name_to_num(BOARD_ID4) \
gpio_name_to_num(Reserve_GPIOM6) \
gpio_name_to_num(Reserve_GPIOM7)

◆ name_gpioN

#define name_gpioN
Value:
gpio_name_to_num(Reserve_GPION0) \
gpio_name_to_num(Reserve_GPION1) \
gpio_name_to_num(Reserve_GPION2) \
gpio_name_to_num(Reserve_GPION3) \
gpio_name_to_num(BMC_GPION4_DEBUG_MODE) \
gpio_name_to_num(S0_BMC_GPIOM1_DDR_SAVE) \
gpio_name_to_num(BMC_GPION6_WD_DISABLE_L) \
gpio_name_to_num(BMC_GPION7_EXT_HIGH_TEMP_L)

◆ name_gpioO

#define name_gpioO
Value:
gpio_name_to_num(BMC_GPIOO0_S01_SPECIAL_BOOT) \
gpio_name_to_num(BMC_GPIOO1_S01_PMIN_L) \
gpio_name_to_num(BMC_GPIOO2_READY) \
gpio_name_to_num(BMC_GPIOO3_USER_MODE) \
gpio_name_to_num(Reserve_GPIOO4) \
gpio_name_to_num(Reserve_GPIOO5) \
gpio_name_to_num(Reserve_GPIOO6) \
gpio_name_to_num(Reserve_GPIOO7)

◆ name_gpioP

#define name_gpioP
Value:
gpio_name_to_num(Reserve_GPIOP0) \
gpio_name_to_num(Reserve_GPIOP1) \
gpio_name_to_num(Reserve_GPIOP2) \
gpio_name_to_num(Reserve_GPIOP3) \
gpio_name_to_num(Reserve_GPIOP4) \
gpio_name_to_num(Reserve_GPIOP5) \
gpio_name_to_num(Reserve_GPIOP6) \
gpio_name_to_num(Reserve_GPIOP7)

◆ name_gpioQ

#define name_gpioQ
Value:
gpio_name_to_num(Reserve_GPIOQ0) \
gpio_name_to_num(Reserve_GPIOQ1) \
gpio_name_to_num(Reserve_GPIOQ2) \
gpio_name_to_num(Reserve_GPIOQ3) \
gpio_name_to_num(Reserve_GPIOQ4) \
gpio_name_to_num(Reserve_GPIOQ5) \
gpio_name_to_num(Reserve_GPIOQ6) \
gpio_name_to_num(Reserve_GPIOQ7)

◆ name_gpioR

#define name_gpioR
Value:
gpio_name_to_num(Reserve_GPIOR0) \
gpio_name_to_num(Reserve_GPIOR1) \
gpio_name_to_num(Reserve_GPIOR2) \
gpio_name_to_num(Reserve_GPIOR3) \
gpio_name_to_num(Reserve_GPIOR4) \
gpio_name_to_num(Reserve_GPIOR5) \
gpio_name_to_num(Reserve_GPIOR6) \
gpio_name_to_num(Reserve_GPIOR7)

◆ name_gpioS

#define name_gpioS
Value:
gpio_name_to_num(Reserve_GPIOS0) \
gpio_name_to_num(Reserve_GPIOS1) \
gpio_name_to_num(Reserve_GPIOS2) \
gpio_name_to_num(Reserve_GPIOS3) \
gpio_name_to_num(Reserve_GPIOS4) \
gpio_name_to_num(Reserve_GPIOS5) \
gpio_name_to_num(Reserve_GPIOS6) \
gpio_name_to_num(Reserve_GPIOS7)

◆ name_gpioT

#define name_gpioT
Value:
gpio_name_to_num(Reserve_GPIOT0) \
gpio_name_to_num(Reserve_GPIOT1) \
gpio_name_to_num(Reserve_GPIOT2) \
gpio_name_to_num(Reserve_GPIOT3) \
gpio_name_to_num(Reserve_GPIOT4) \
gpio_name_to_num(Reserve_GPIOT5) \
gpio_name_to_num(Reserve_GPIOT6) \
gpio_name_to_num(HSC_TYPE_0)

◆ name_gpioU

#define name_gpioU
Value:
gpio_name_to_num(Reserve_GPIOU0) \
gpio_name_to_num(Reserve_GPIOU1) \
gpio_name_to_num(Reserve_GPIOU2) \
gpio_name_to_num(Reserve_GPIOU3) \
gpio_name_to_num(Reserve_GPIOU4) \
gpio_name_to_num(Reserve_GPIOU5) \
gpio_name_to_num(Reserve_GPIOU6) \
gpio_name_to_num(HSC_TYPE_1)

Enumeration Type Documentation

◆ _GPIO_NUMS_

Enumerator
name_gpioU 
name_gpioU 
name_gpioU 
name_gpioU 
name_gpioF 
name_gpioU 
name_gpioU 
name_gpioU 
name_gpioU 
name_gpioU 
name_gpioU 
name_gpioU 
name_gpioU 
name_gpioU 
name_gpioU 
name_gpioU 
name_gpioU 
name_gpioU 
name_gpioU 

Variable Documentation

◆ gpio_name

char* gpio_name[]
extern

◆ GPIO_NUMS

enum _GPIO_NUMS_ GPIO_NUMS
extern