Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpio/
Dgpio-timberdale.c45 struct timbgpio *tgpio = gpiochip_get_data(gpio); in timbgpio_update_bit() local
49 spin_lock_irqsave(&tgpio->lock, flags); in timbgpio_update_bit()
50 reg = ioread32(tgpio->membase + offset); in timbgpio_update_bit()
57 iowrite32(reg, tgpio->membase + offset); in timbgpio_update_bit()
58 spin_unlock_irqrestore(&tgpio->lock, flags); in timbgpio_update_bit()
70 struct timbgpio *tgpio = gpiochip_get_data(gpio); in timbgpio_gpio_get() local
73 value = ioread32(tgpio->membase + TGPIOVAL); in timbgpio_gpio_get()
91 struct timbgpio *tgpio = gpiochip_get_data(gpio); in timbgpio_to_irq() local
93 if (tgpio->irq_base <= 0) in timbgpio_to_irq()
96 return tgpio->irq_base + offset; in timbgpio_to_irq()
[all …]