Searched refs:GPIO_CONTROL (Results 1 – 1 of 1) sorted by relevance
32 #define GPIO_CONTROL(gpio) (0x00000100 + ((gpio) << 2)) macro131 val = readl(reg_base + GPIO_CONTROL(gpio)) & GPIO_GPCTR0_IOTR_MASK; in bcm_kona_gpio_get_dir()215 val = readl(reg_base + GPIO_CONTROL(gpio)); in bcm_kona_gpio_direction_input()218 writel(val, reg_base + GPIO_CONTROL(gpio)); in bcm_kona_gpio_direction_input()239 val = readl(reg_base + GPIO_CONTROL(gpio)); in bcm_kona_gpio_direction_output()242 writel(val, reg_base + GPIO_CONTROL(gpio)); in bcm_kona_gpio_direction_output()295 val = readl(reg_base + GPIO_CONTROL(gpio)); in bcm_kona_gpio_set_debounce()306 writel(val, reg_base + GPIO_CONTROL(gpio)); in bcm_kona_gpio_set_debounce()426 val = readl(reg_base + GPIO_CONTROL(gpio)); in bcm_kona_gpio_irq_set_type()429 writel(val, reg_base + GPIO_CONTROL(gpio)); in bcm_kona_gpio_irq_set_type()