Lines Matching refs:spinlock
101 spinlock_t spinlock; member
112 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_set()
120 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_gpio_set()
138 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_direction_output()
151 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_gpio_direction_output()
162 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_direction_input()
167 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_gpio_direction_input()
273 spin_lock_irqsave(&chip->spinlock, flags); in ioh_irq_type()
313 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_irq_type()
343 spin_lock_irqsave(&chip->spinlock, flags); in ioh_irq_disable()
347 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_irq_disable()
357 spin_lock_irqsave(&chip->spinlock, flags); in ioh_irq_enable()
361 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_irq_enable()
451 spin_lock_init(&chip->spinlock); in ioh_gpio_probe()
548 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_suspend()
550 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_gpio_suspend()
582 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_resume()
586 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_gpio_resume()