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_gpio0
 
#define name_gpio1
 
#define name_gpio2
 
#define name_gpio3
 
#define name_gpio4
 
#define name_gpio5
 
#define name_gpio6
 
#define name_gpio7
 
#define name_gpio8
 
#define name_gpio9
 
#define name_gpioA
 
#define name_gpioB
 
#define name_gpioC
 
#define name_gpioD
 
#define name_gpioE
 
#define name_gpioF
 
#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
}
 

Functions

void gpio_int_default ()
 

Variables

enum _GPIO_NUMS_ GPIO_NUMS
 
char * gpio_name []
 

Macro Definition Documentation

◆ gpio_name_to_num

#define gpio_name_to_num (   x)    x,

◆ name_gpio0

#define name_gpio0
Value:
gpio_name_to_num(FM_ASIC_0_THERMTRIP_R_N) \
gpio_name_to_num(RST_ATH_PWR_ON_PLD_R1_N) \
gpio_name_to_num(ATH_CURRENT_SENSE_0_NPCM_R) \
gpio_name_to_num(ATH_CURRENT_SENSE_1_NPCM_R) \
gpio_name_to_num(FM_ATH_HBM3_CATTRIP_ALARM_LV33_R) \
gpio_name_to_num(ALL_VR_PM_ALERT_R_N) \
gpio_name_to_num(ATH_SMB_ALERT_NPCM_LVC33_R_N) \
gpio_name_to_num(FM_PLD_UBC_EN_R)
#define gpio_name_to_num(x)
Definition: plat_gpio.h:172

◆ name_gpio1

#define name_gpio1
Value:
gpio_name_to_num(RSVD_GPIO_2_R) \
gpio_name_to_num(Reserve_GPIO11) \
gpio_name_to_num(Reserve_GPIO12) \
gpio_name_to_num(Reserve_GPIO13) \
gpio_name_to_num(Reserve_GPIO14) \
gpio_name_to_num(Reserve_GPIO15) \
gpio_name_to_num(Reserve_GPIO16) \
gpio_name_to_num(Reserve_GPIO17)

◆ name_gpio2

#define name_gpio2
Value:
gpio_name_to_num(Reserve_GPIO20) \
gpio_name_to_num(Reserve_GPIO21) \
gpio_name_to_num(Reserve_GPIO22) \
gpio_name_to_num(Reserve_GPIO23) \
gpio_name_to_num(Reserve_GPIO24) \
gpio_name_to_num(Reserve_GPIO25) \
gpio_name_to_num(Reserve_GPIO26) \
gpio_name_to_num(Reserve_GPIO27)

◆ name_gpio3

#define name_gpio3
Value:
gpio_name_to_num(Reserve_GPIO30) \
gpio_name_to_num(Reserve_GPIO31) \
gpio_name_to_num(Reserve_GPIO32) \
gpio_name_to_num(Reserve_GPIO33) \
gpio_name_to_num(Reserve_GPIO34) \
gpio_name_to_num(Reserve_GPIO35) \
gpio_name_to_num(Reserve_GPIO36) \
gpio_name_to_num(Reserve_GPIO37)

◆ name_gpio4

#define name_gpio4
Value:
gpio_name_to_num(Reserve_GPIO40) \
gpio_name_to_num(Reserve_GPIO41) \
gpio_name_to_num(Reserve_GPIO42) \
gpio_name_to_num(Reserve_GPIO43) \
gpio_name_to_num(Reserve_GPIO44) \
gpio_name_to_num(Reserve_GPIO45) \
gpio_name_to_num(Reserve_GPIO46) \
gpio_name_to_num(Reserve_GPIO47)

◆ name_gpio5

#define name_gpio5
Value:
gpio_name_to_num(Reserve_GPIO50) \
gpio_name_to_num(Reserve_GPIO51) \
gpio_name_to_num(Reserve_GPIO52) \
gpio_name_to_num(Reserve_GPIO53) \
gpio_name_to_num(Reserve_GPIO54) \
gpio_name_to_num(Reserve_GPIO55) \
gpio_name_to_num(Reserve_GPIO56) \
gpio_name_to_num(Reserve_GPIO57)

◆ name_gpio6

#define name_gpio6
Value:
gpio_name_to_num(Reserve_GPIO60) \
gpio_name_to_num(Reserve_GPIO61) \
gpio_name_to_num(Reserve_GPIO62) \
gpio_name_to_num(Reserve_GPIO63) \
gpio_name_to_num(Reserve_GPIO64) \
gpio_name_to_num(Reserve_GPIO65) \
gpio_name_to_num(Reserve_GPIO66) \
gpio_name_to_num(Reserve_GPIO67)

◆ name_gpio7

#define name_gpio7
Value:
gpio_name_to_num(Reserve_GPIO70) \
gpio_name_to_num(Reserve_GPIO71) \
gpio_name_to_num(Reserve_GPIO72) \
gpio_name_to_num(Reserve_GPIO73) \
gpio_name_to_num(GPIO74_Strap_DSW_EN) \
gpio_name_to_num(GPIO75_Strap_JEN_N) \
gpio_name_to_num(Reserve_GPIO76) \
gpio_name_to_num(Reserve_GPIO77)

◆ name_gpio8

#define name_gpio8
Value:
gpio_name_to_num(Reserve_GPIO80) \
gpio_name_to_num(Reserve_GPIO81) \
gpio_name_to_num(LED_NPCM_HEARTBEAT_R) \
gpio_name_to_num(Reserve_GPIO83) \
gpio_name_to_num(Reserve_GPIO84) \
gpio_name_to_num(Reserve_GPIO85) \
gpio_name_to_num(Reserve_GPIO86) \
gpio_name_to_num(Reserve_GPIO87)

◆ name_gpio9

#define name_gpio9
Value:
gpio_name_to_num(Reserve_GPIO90) \
gpio_name_to_num(Reserve_GPIO91) \
gpio_name_to_num(Reserve_GPIO92) \
gpio_name_to_num(Reserve_GPIO93) \
gpio_name_to_num(Reserve_GPIO94) \
gpio_name_to_num(Reserve_GPIO95) \
gpio_name_to_num(Reserve_GPIO96) \
gpio_name_to_num(Reserve_GPIO97)

◆ name_gpioA

#define name_gpioA
Value:
gpio_name_to_num(Reserve_GPIOA0) \
gpio_name_to_num(Reserve_GPIOA1) \
gpio_name_to_num(Reserve_GPIOA2) \
gpio_name_to_num(Reserve_GPIOA3) \
gpio_name_to_num(Reserve_GPIOA4) \
gpio_name_to_num(Reserve_GPIOA5) \
gpio_name_to_num(Reserve_GPIOA6) \
gpio_name_to_num(Reserve_GPIOA7)

◆ name_gpioB

#define name_gpioB
Value:
gpio_name_to_num(RSVD_GPIO_1_R) \
gpio_name_to_num(Reserve_GPIOB1) \
gpio_name_to_num(Reserve_GPIOB2) \
gpio_name_to_num(Reserve_GPIOB3) \
gpio_name_to_num(Reserve_GPIOB4) \
gpio_name_to_num(Reserve_GPIOB5) \
gpio_name_to_num(Reserve_GPIOB6) \
gpio_name_to_num(Reserve_GPIOB7)

◆ name_gpioC

#define name_gpioC
Value:
gpio_name_to_num(Reserve_GPIOC0) \
gpio_name_to_num(Reserve_GPIOC1) \
gpio_name_to_num(Reserve_GPIOC2) \
gpio_name_to_num(Reserve_GPIOC3) \
gpio_name_to_num(Reserve_GPIOC4) \
gpio_name_to_num(Reserve_GPIOC5) \
gpio_name_to_num(Reserve_GPIOC6) \
gpio_name_to_num(Reserve_GPIOC7)

◆ name_gpioD

#define name_gpioD
Value:
gpio_name_to_num(Reserve_GPIOD0) \
gpio_name_to_num(Reserve_GPIOD1) \
gpio_name_to_num(Reserve_GPIOD2) \
gpio_name_to_num(Reserve_GPIOD3) \
gpio_name_to_num(Reserve_GPIOD4) \
gpio_name_to_num(Reserve_GPIOD5) \
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(Reserve_GPIOE1) \
gpio_name_to_num(Reserve_GPIOE2) \
gpio_name_to_num(Reserve_GPIOE3) \
gpio_name_to_num(Reserve_GPIOE4) \
gpio_name_to_num(Reserve_GPIOE5) \
gpio_name_to_num(Reserve_GPIOE6) \
gpio_name_to_num(Reserve_GPIOE7)

◆ name_gpioF

#define name_gpioF
Value:
gpio_name_to_num(Reserve_GPIOF0) \
gpio_name_to_num(Reserve_GPIOF1) \
gpio_name_to_num(Reserve_GPIOF2) \
gpio_name_to_num(Reserve_GPIOF3)

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 

Function Documentation

◆ gpio_int_default()

void gpio_int_default ( )

Variable Documentation

◆ gpio_name

char* gpio_name[]
extern

◆ GPIO_NUMS

enum _GPIO_NUMS_ GPIO_NUMS
extern