Searched refs:tgpio (Results 1 – 1 of 1) sorted by relevance
45 struct timbgpio *tgpio = gpiochip_get_data(gpio); in timbgpio_update_bit() local49 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() local73 value = ioread32(tgpio->membase + TGPIOVAL); in timbgpio_gpio_get()91 struct timbgpio *tgpio = gpiochip_get_data(gpio); in timbgpio_to_irq() local93 if (tgpio->irq_base <= 0) in timbgpio_to_irq()96 return tgpio->irq_base + offset; in timbgpio_to_irq()[all …]