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(PWR_ON_RST_N_R) \
gpio_name_to_num(SYS_RST_N_R) \
gpio_name_to_num(PERST_ASIC_N_R) \
gpio_name_to_num(JTAG2_NTRST2_R) \
gpio_name_to_num(RST_PCIE_MB_EXP_N) \
gpio_name_to_num(AUX_PWR_EN_4C) \
gpio_name_to_num(PG_CARD_OK) \
gpio_name_to_num(POWER_EN_R)
#define gpio_name_to_num(x)
Definition: plat_gpio.h:236

◆ name_gpioB

#define name_gpioB
Value:
gpio_name_to_num(Reserve_GPIOB0) \
gpio_name_to_num(MASTER) \
gpio_name_to_num(MUX_OE) \
gpio_name_to_num(SMB_12V_INA_ALRT_N) \
gpio_name_to_num(SMB_3V3_INA_ALRT_N) \
gpio_name_to_num(SPI_RST_FLASH_N_R) \
gpio_name_to_num(SMBUS_ALERT_R_N) \
gpio_name_to_num(JTAG2_ASIC_PORT_SEL_R_EN)

◆ name_gpioC

#define name_gpioC
Value:
gpio_name_to_num(P0V85_BIC_ASIC_EN) \
gpio_name_to_num(PWRGD_P0V85_ASIC) \
gpio_name_to_num(P1V2_BIC_ASIC_EN) \
gpio_name_to_num(PWRGD_P1V2_ASIC) \
gpio_name_to_num(P1V8_BIC_ASIC_EN) \
gpio_name_to_num(PWRGD_P1V8_ASIC) \
gpio_name_to_num(P0V8_BIC_ASIC_EN) \
gpio_name_to_num(PWRGD_P0V8_ASIC)

◆ name_gpioD

#define name_gpioD
Value:
gpio_name_to_num(PVPP_AB_BIC_DIMM_EN) \
gpio_name_to_num(PWRGD_PVPP_AB) \
gpio_name_to_num(PVPP_CD_BIC_DIMM_EN) \
gpio_name_to_num(PWRGD_PVPP_CD) \
gpio_name_to_num(PVTT_AB_BIC_DIMM_EN) \
gpio_name_to_num(PWRGD_PVTT_AB) \
gpio_name_to_num(PVTT_CD_BIC_DIMM_EN) \
gpio_name_to_num(PWRGD_PVTT_CD)

◆ name_gpioE

#define name_gpioE
Value:
gpio_name_to_num(JTAG2_BIC_SHIFT_EN_R) \
gpio_name_to_num(SPI_BIC_SHIFT_EN_R) \
gpio_name_to_num(USB_MUX2_SEL) \
gpio_name_to_num(PAD_CORE_TAP_CTRL_L_R) \
gpio_name_to_num(Reserve_GPIOE4) \
gpio_name_to_num(SMB_HOST_MUX_PMIC_IN_R) \
gpio_name_to_num(SMB_HOST_MUX_DIMM_IN_R) \
gpio_name_to_num(Reserve_GPIOE7)

◆ name_gpioF

#define name_gpioF
Value:
gpio_name_to_num(SLOT_ID0) \
gpio_name_to_num(SLOT_ID1) \
gpio_name_to_num(BOARD_ID0) \
gpio_name_to_num(BOARD_ID1) \
gpio_name_to_num(BOARD_ID2) \
gpio_name_to_num(BOARD_ID3) \
gpio_name_to_num(USB_MUX1_R_OE) \
gpio_name_to_num(USB_MUX2_R_OE)

◆ name_gpioG

#define name_gpioG
Value:
gpio_name_to_num(Reserve_GPIOG0) \
gpio_name_to_num(Reserve_GPIOG1) \
gpio_name_to_num(PWRGD_P1V2_STBY_R) \
gpio_name_to_num(PVDDQ_AB_EN_BIC) \
gpio_name_to_num(PWRGD_PVDDQ_AB_BIC) \
gpio_name_to_num(PVDDQ_CD_EN_BIC) \
gpio_name_to_num(PWRGD_PVDDQ_CD_BIC) \
gpio_name_to_num(P0V75_ASIC_EN_BIC)

◆ name_gpioH

#define name_gpioH
Value:
gpio_name_to_num(PWRGD_P0V75_ASIC_BIC) \
gpio_name_to_num(P5V_STBY_EN_BIC) \
gpio_name_to_num(PWRGD_P5V_STBY_BIC) \
gpio_name_to_num(SMB_BIC_PMIC_ALERT_N_R) \
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(LS_SMB_BIC_ASIC_EN) \
gpio_name_to_num(LS_UART_BIC_ASIC_EN) \
gpio_name_to_num(LS_BIC_ASIC_EN) \
gpio_name_to_num(SMB_SENSOR_ALERT_N_R)

◆ 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(ADAPTER_SEL_R) \
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(Reserve_GPIOL0) \
gpio_name_to_num(Reserve_GPIOL1) \
gpio_name_to_num(LED_CXL_POWER) \
gpio_name_to_num(FM_BOARD_REV_ID2) \
gpio_name_to_num(FM_BOARD_REV_ID1) \
gpio_name_to_num(FM_BOARD_REV_ID0) \
gpio_name_to_num(IOE_RST_N) \
gpio_name_to_num(IOE_INT_N_R)

◆ name_gpioM

#define name_gpioM
Value:
gpio_name_to_num(BIC_SECUREBOOT) \
gpio_name_to_num(LED_CXL_FAULT) \
gpio_name_to_num(FM_PWRBRK_PRIMARY_R_N) \
gpio_name_to_num(BIC_ESPI_SELECT) \
gpio_name_to_num(UART_BIC_R_RXD) \
gpio_name_to_num(UART_BIC_R_TXD) \
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(CLK_100M_OSC_EN) \
gpio_name_to_num(Reserve_GPION4) \
gpio_name_to_num(Reserve_GPION5) \
gpio_name_to_num(Reserve_GPION6) \
gpio_name_to_num(Reserve_GPION7)

◆ name_gpioO

#define name_gpioO
Value:
gpio_name_to_num(Reserve_GPIOO0) \
gpio_name_to_num(Reserve_GPIOO1) \
gpio_name_to_num(Reserve_GPIOO2) \
gpio_name_to_num(Reserve_GPIOO3) \
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(LED_ASIC_R_HB) \
gpio_name_to_num(LED_ASIC_R_1) \
gpio_name_to_num(LED_ASIC_R_2) \
gpio_name_to_num(LED_ASIC_R_3) \
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(Reserve_GPIOT7)

◆ 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(Reserve_GPIOU7)

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