Lines Matching refs:spinlock
100 spinlock_t spinlock; member
109 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_set()
117 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_set()
135 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_direction_output()
149 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_direction_output()
160 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_direction_input()
165 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_direction_input()
267 spin_lock_irqsave(&chip->spinlock, flags); in pch_irq_type()
279 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_irq_type()
376 spin_lock_init(&chip->spinlock); in pch_gpio_probe()
409 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_suspend()
411 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_suspend()
421 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_resume()
425 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_resume()