Home
last modified time | relevance | path

Searched refs:gpio_lock (Results 1 – 5 of 5) sorted by relevance

/arch/cris/arch-v10/drivers/
Dgpio.c80 static DEFINE_SPINLOCK(gpio_lock); /* Protect directions etc */
150 spin_lock_irqsave(&gpio_lock, flags); in gpio_poll()
179 spin_unlock_irqrestore(&gpio_lock, flags); in gpio_poll()
192 spin_lock_irqsave(&gpio_lock, flags); in etrax_gpio_wake_up_check()
208 spin_unlock_irqrestore(&gpio_lock, flags); in etrax_gpio_wake_up_check()
228 spin_lock_irqsave(&gpio_lock, flags); in gpio_interrupt()
240 spin_unlock_irqrestore(&gpio_lock, flags); in gpio_interrupt()
286 spin_lock_irqsave(&gpio_lock, flags); in gpio_write()
303 spin_unlock_irqrestore(&gpio_lock, flags); in gpio_write()
353 spin_lock_irqsave(&gpio_lock, flags); in gpio_open()
[all …]
/arch/mips/loongson/common/
Dgpio.c25 static DEFINE_SPINLOCK(gpio_lock);
36 spin_lock(&gpio_lock); in gpio_get_value()
38 spin_unlock(&gpio_lock); in gpio_get_value()
56 spin_lock(&gpio_lock); in gpio_set_value()
63 spin_unlock(&gpio_lock); in gpio_set_value()
84 spin_lock(&gpio_lock); in ls2f_gpio_direction_input()
89 spin_unlock(&gpio_lock); in ls2f_gpio_direction_input()
104 spin_lock(&gpio_lock); in ls2f_gpio_direction_output()
109 spin_unlock(&gpio_lock); in ls2f_gpio_direction_output()
/arch/arm/mach-w90x900/
Dgpio.c51 spinlock_t gpio_lock; member
73 spin_lock_irqsave(&nuc900_gpio->gpio_lock, flags); in nuc900_gpio_set()
84 spin_unlock_irqrestore(&nuc900_gpio->gpio_lock, flags); in nuc900_gpio_set()
94 spin_lock_irqsave(&nuc900_gpio->gpio_lock, flags); in nuc900_dir_input()
100 spin_unlock_irqrestore(&nuc900_gpio->gpio_lock, flags); in nuc900_dir_input()
113 spin_lock_irqsave(&nuc900_gpio->gpio_lock, flags); in nuc900_dir_output()
128 spin_unlock_irqrestore(&nuc900_gpio->gpio_lock, flags); in nuc900_dir_output()
150 spin_lock_init(&gpio_chip->gpio_lock); in nuc900_init_gpio()
/arch/cris/arch-v32/drivers/mach-a3/
Dgpio.c110 static DEFINE_SPINLOCK(gpio_lock);
194 spin_lock_irqsave(&gpio_lock, flags); in gpio_set_alarm()
224 spin_unlock_irqrestore(&gpio_lock, flags); in gpio_set_alarm()
273 spin_lock_irqsave(&gpio_lock, flags); in gpio_interrupt()
275 spin_unlock_irqrestore(&gpio_lock, flags); in gpio_interrupt()
371 spin_lock_irqsave(&gpio_lock, flags); in gpio_write()
376 spin_unlock_irqrestore(&gpio_lock, flags); in gpio_write()
411 spin_lock_irq(&gpio_lock); in gpio_open()
414 spin_unlock_irq(&gpio_lock); in gpio_open()
433 spin_lock_irq(&gpio_lock); in gpio_release()
[all …]
/arch/powerpc/platforms/52xx/
Dmpc52xx_common.c92 static DEFINE_SPINLOCK(gpio_lock);
310 spin_lock_irqsave(&gpio_lock, flags); in mpc5200_psc_ac97_gpio_reset()
340 spin_unlock_irqrestore(&gpio_lock, flags); in mpc5200_psc_ac97_gpio_reset()