Home
last modified time | relevance | path

Searched refs:GPIO_TO_BIT (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/gpio/
Dmvgpio.c45 writel(GPIO_TO_BIT(gpio), &gpio_reg_bank->gcdr); in gpio_direction_input()
59 writel(GPIO_TO_BIT(gpio), &gpio_reg_bank->gsdr); in gpio_direction_output()
91 writel(GPIO_TO_BIT(gpio), &gpio_reg_bank->gpsr); in gpio_set_value()
93 writel(GPIO_TO_BIT(gpio), &gpio_reg_bank->gpcr); in gpio_set_value()
/external/u-boot/arch/arm/include/asm/arch-armada100/
Dgpio.h21 #define GPIO_TO_BIT(gp) (1 << (gp & 0x1F)) macro