Home
last modified time | relevance | path

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

/u-boot/drivers/gpio/
A Dkona_gpio.c28 #define GPIO_CONTROL(bank) (0x00000100 + ((bank) << 2)) macro
74 val = readl(GPIO_BASE + GPIO_CONTROL(gpio)); in gpio_direction_input()
77 writel(val, GPIO_BASE + GPIO_CONTROL(gpio)); in gpio_direction_input()
88 val = readl(GPIO_BASE + GPIO_CONTROL(gpio)); in gpio_direction_output()
91 writel(val, GPIO_BASE + GPIO_CONTROL(gpio)); in gpio_direction_output()
108 val = readl(GPIO_BASE + GPIO_CONTROL(gpio)); in gpio_get_value()
127 val = readl(GPIO_BASE + GPIO_CONTROL(gpio)); in gpio_set_value()

Completed in 3 milliseconds