Home
last modified time | relevance | path

Searched refs:GPIO_NUM (Results 1 – 4 of 4) sorted by relevance

/u-boot/drivers/ddr/marvell/a38x/
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
25 (MPP_REG_NUM(GPIO_NUM) * 8)));
26 #define GPP_REG_NUM(GPIO_NUM) (GPIO_NUM / 32) argument
27 #define GPP_MASK(GPIO_NUM) (1 << GPIO_NUM % 32) argument
/u-boot/arch/arm/mach-mvebu/serdes/a38x/
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
248 (MPP_REG_NUM(GPIO_NUM) * 8)));
249 #define GPP_REG_NUM(GPIO_NUM) (GPIO_NUM / 32) argument
250 #define GPP_MASK(GPIO_NUM) (1 << GPIO_NUM % 32) argument
/u-boot/drivers/gpio/
A Dsunxi_gpio.c36 u32 num = GPIO_NUM(pin); in sunxi_gpio_output()
54 u32 num = GPIO_NUM(pin); in sunxi_gpio_input()
172 u32 num = GPIO_NUM(offset); in sunxi_gpio_direction_output()
183 u32 num = GPIO_NUM(offset); in sunxi_gpio_get_value()
196 u32 num = GPIO_NUM(offset); in sunxi_gpio_set_value()
/u-boot/arch/arm/include/asm/arch-sunxi/
A Dgpio.h84 #define GPIO_NUM(pin) ((pin) & 0x1f) macro

Completed in 7 milliseconds