Lines Matching refs:gpio_lock
31 raw_spinlock_t gpio_lock; member
47 raw_spin_lock_irqsave(&altera_gc->gpio_lock, flags); in altera_gpio_irq_unmask()
52 raw_spin_unlock_irqrestore(&altera_gc->gpio_lock, flags); in altera_gpio_irq_unmask()
65 raw_spin_lock_irqsave(&altera_gc->gpio_lock, flags); in altera_gpio_irq_mask()
70 raw_spin_unlock_irqrestore(&altera_gc->gpio_lock, flags); in altera_gpio_irq_mask()
125 raw_spin_lock_irqsave(&chip->gpio_lock, flags); in altera_gpio_set()
132 raw_spin_unlock_irqrestore(&chip->gpio_lock, flags); in altera_gpio_set()
145 raw_spin_lock_irqsave(&chip->gpio_lock, flags); in altera_gpio_direction_input()
150 raw_spin_unlock_irqrestore(&chip->gpio_lock, flags); in altera_gpio_direction_input()
166 raw_spin_lock_irqsave(&chip->gpio_lock, flags); in altera_gpio_direction_output()
179 raw_spin_unlock_irqrestore(&chip->gpio_lock, flags); in altera_gpio_direction_output()
247 raw_spin_lock_init(&altera_gc->gpio_lock); in altera_gpio_probe()