Home
last modified time | relevance | path

Searched defs:GPIO_NUM (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/drivers/ddr/marvell/a38x/
H A Dmv_ddr_sys_env_lib.h23 #define MPP_REG_NUM(GPIO_NUM) (GPIO_NUM / 8) argument
24 #define MPP_MASK(GPIO_NUM) (0xf << 4 * (GPIO_NUM - \ argument
26 #define GPP_REG_NUM(GPIO_NUM) (GPIO_NUM / 32) argument
27 #define GPP_MASK(GPIO_NUM) (1 << GPIO_NUM % 32) argument
/openbmc/u-boot/arch/arm/mach-mvebu/serdes/a38x/
H A Dsys_env_lib.h246 #define MPP_REG_NUM(GPIO_NUM) (GPIO_NUM / 8) argument
247 #define MPP_MASK(GPIO_NUM) (0xf << 4 * (GPIO_NUM - \ argument
249 #define GPP_REG_NUM(GPIO_NUM) (GPIO_NUM / 32) argument
250 #define GPP_MASK(GPIO_NUM) (1 << GPIO_NUM % 32) argument
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/
H A Dgpio.h81 #define GPIO_NUM(pin) ((pin) & 0x1f) macro