Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpio/
Dgpio-timberdale.c56 struct timbgpio *tgpio = container_of(gpio, struct timbgpio, gpio); in timbgpio_update_bit() local
59 spin_lock(&tgpio->lock); in timbgpio_update_bit()
60 reg = ioread32(tgpio->membase + offset); in timbgpio_update_bit()
67 iowrite32(reg, tgpio->membase + offset); in timbgpio_update_bit()
68 spin_unlock(&tgpio->lock); in timbgpio_update_bit()
80 struct timbgpio *tgpio = container_of(gpio, struct timbgpio, gpio); in timbgpio_gpio_get() local
83 value = ioread32(tgpio->membase + TGPIOVAL); in timbgpio_gpio_get()
101 struct timbgpio *tgpio = container_of(gpio, struct timbgpio, gpio); in timbgpio_to_irq() local
103 if (tgpio->irq_base <= 0) in timbgpio_to_irq()
106 return tgpio->irq_base + offset; in timbgpio_to_irq()
[all …]