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

/linux-4.4.14/drivers/gpio/
H A Dgpio-bcm-kona.c32 #define GPIO_CONTROL(gpio) (0x00000100 + ((gpio) << 2)) macro
131 val = readl(reg_base + GPIO_CONTROL(gpio)) & GPIO_GPCTR0_IOTR_MASK; bcm_kona_gpio_get_dir()
215 val = readl(reg_base + GPIO_CONTROL(gpio)); bcm_kona_gpio_direction_input()
218 writel(val, reg_base + GPIO_CONTROL(gpio)); bcm_kona_gpio_direction_input()
239 val = readl(reg_base + GPIO_CONTROL(gpio)); bcm_kona_gpio_direction_output()
242 writel(val, reg_base + GPIO_CONTROL(gpio)); bcm_kona_gpio_direction_output()
295 val = readl(reg_base + GPIO_CONTROL(gpio)); bcm_kona_gpio_set_debounce()
306 writel(val, reg_base + GPIO_CONTROL(gpio)); bcm_kona_gpio_set_debounce()
426 val = readl(reg_base + GPIO_CONTROL(gpio)); bcm_kona_gpio_irq_set_type()
429 writel(val, reg_base + GPIO_CONTROL(gpio)); bcm_kona_gpio_irq_set_type()
/linux-4.4.14/drivers/pinctrl/
H A Dpinctrl-as3722.c458 "GPIO_CONTROL%d_REG read failed: %d\n", offset, ret); as3722_gpio_get()
503 "GPIO_CONTROL%d_REG read failed: %d\n", offset, ret); as3722_gpio_set()

Completed in 139 milliseconds