Searched refs:GPIO_CONTROL (Results 1 – 2 of 2) sorted by relevance
27 #define GPIO_CONTROL(bank) (0x00000100 + ((bank) << 2)) macro73 val = readl(GPIO_BASE + GPIO_CONTROL(gpio)); in gpio_direction_input()76 writel(val, GPIO_BASE + GPIO_CONTROL(gpio)); in gpio_direction_input()87 val = readl(GPIO_BASE + GPIO_CONTROL(gpio)); in gpio_direction_output()90 writel(val, GPIO_BASE + GPIO_CONTROL(gpio)); in gpio_direction_output()107 val = readl(GPIO_BASE + GPIO_CONTROL(gpio)); in gpio_get_value()126 val = readl(GPIO_BASE + GPIO_CONTROL(gpio)); in gpio_set_value()
28 #define GPIO_CONTROL(gpio) (0x00000100 + ((gpio) << 2)) macro153 val = readl(reg_base + GPIO_CONTROL(gpio)) & GPIO_GPCTR0_IOTR_MASK; in bcm_kona_gpio_get_dir()237 val = readl(reg_base + GPIO_CONTROL(gpio)); in bcm_kona_gpio_direction_input()240 writel(val, reg_base + GPIO_CONTROL(gpio)); in bcm_kona_gpio_direction_input()261 val = readl(reg_base + GPIO_CONTROL(gpio)); in bcm_kona_gpio_direction_output()264 writel(val, reg_base + GPIO_CONTROL(gpio)); in bcm_kona_gpio_direction_output()317 val = readl(reg_base + GPIO_CONTROL(gpio)); in bcm_kona_gpio_set_debounce()328 writel(val, reg_base + GPIO_CONTROL(gpio)); in bcm_kona_gpio_set_debounce()464 val = readl(reg_base + GPIO_CONTROL(gpio)); in bcm_kona_gpio_irq_set_type()467 writel(val, reg_base + GPIO_CONTROL(gpio)); in bcm_kona_gpio_irq_set_type()