Searched refs:tgpio (Results 1 – 1 of 1) sorted by relevance
93 if (tgpio->irq_base <= 0) in timbgpio_to_irq()110 iowrite32(tgpio->last_ier, tgpio->membase + TGPIO_IER); in timbgpio_irq_disable()122 iowrite32(tgpio->last_ier, tgpio->membase + TGPIO_IER); in timbgpio_irq_enable()205 iowrite32(tgpio->last_ier, tgpio->membase + TGPIO_IER); in timbgpio_irq()220 struct timbgpio *tgpio; in timbgpio_probe() local229 tgpio = devm_kzalloc(dev, sizeof(*tgpio), GFP_KERNEL); in timbgpio_probe()230 if (!tgpio) in timbgpio_probe()235 spin_lock_init(&tgpio->lock); in timbgpio_probe()238 if (IS_ERR(tgpio->membase)) in timbgpio_probe()241 gc = &tgpio->gpio; in timbgpio_probe()[all …]