Lines Matching refs:gpio_lock
48 static DEFINE_SPINLOCK(gpio_lock);
774 spin_lock_irqsave(&gpio_lock, flags); in gpiod_export()
777 spin_unlock_irqrestore(&gpio_lock, flags); in gpiod_export()
788 spin_unlock_irqrestore(&gpio_lock, flags); in gpiod_export()
1018 spin_lock_irqsave(&gpio_lock, flags); in gpiochip_export()
1022 spin_unlock_irqrestore(&gpio_lock, flags); in gpiochip_export()
1068 spin_lock_irqsave(&gpio_lock, flags); in gpiolib_sysfs_init()
1073 spin_unlock_irqrestore(&gpio_lock, flags); in gpiolib_sysfs_init()
1075 spin_lock_irqsave(&gpio_lock, flags); in gpiolib_sysfs_init()
1077 spin_unlock_irqrestore(&gpio_lock, flags); in gpiolib_sysfs_init()
1184 spin_lock_irqsave(&gpio_lock, flags); in gpiochip_add()
1217 spin_unlock_irqrestore(&gpio_lock, flags); in gpiochip_add()
1239 spin_unlock_irqrestore(&gpio_lock, flags); in gpiochip_add()
1261 spin_lock_irqsave(&gpio_lock, flags); in gpiochip_remove()
1279 spin_unlock_irqrestore(&gpio_lock, flags); in gpiochip_remove()
1306 spin_lock_irqsave(&gpio_lock, flags); in gpiochip_find()
1314 spin_unlock_irqrestore(&gpio_lock, flags); in gpiochip_find()
1406 spin_lock_irqsave(&gpio_lock, flags); in gpiod_request()
1430 spin_unlock_irqrestore(&gpio_lock, flags); in gpiod_request()
1432 spin_lock_irqsave(&gpio_lock, flags); in gpiod_request()
1443 spin_unlock_irqrestore(&gpio_lock, flags); in gpiod_request()
1445 spin_lock_irqsave(&gpio_lock, flags); in gpiod_request()
1451 spin_unlock_irqrestore(&gpio_lock, flags); in gpiod_request()
1475 spin_lock_irqsave(&gpio_lock, flags); in gpiod_free()
1480 spin_unlock_irqrestore(&gpio_lock, flags); in gpiod_free()
1483 spin_lock_irqsave(&gpio_lock, flags); in gpiod_free()
1494 spin_unlock_irqrestore(&gpio_lock, flags); in gpiod_free()
1638 spin_lock_irqsave(&gpio_lock, flags); in gpiod_direction_input()
1649 spin_unlock_irqrestore(&gpio_lock, flags); in gpiod_direction_input()
1674 spin_unlock_irqrestore(&gpio_lock, flags); in gpiod_direction_input()
1707 spin_lock_irqsave(&gpio_lock, flags); in gpiod_direction_output()
1718 spin_unlock_irqrestore(&gpio_lock, flags); in gpiod_direction_output()
1743 spin_unlock_irqrestore(&gpio_lock, flags); in gpiod_direction_output()
1773 spin_lock_irqsave(&gpio_lock, flags); in gpiod_set_debounce()
1785 spin_unlock_irqrestore(&gpio_lock, flags); in gpiod_set_debounce()
1793 spin_unlock_irqrestore(&gpio_lock, flags); in gpiod_set_debounce()
2080 spin_lock_irqsave(&gpio_lock, flags); in gpiolib_seq_start()
2083 spin_unlock_irqrestore(&gpio_lock, flags); in gpiolib_seq_start()
2086 spin_unlock_irqrestore(&gpio_lock, flags); in gpiolib_seq_start()
2097 spin_lock_irqsave(&gpio_lock, flags); in gpiolib_seq_next()
2102 spin_unlock_irqrestore(&gpio_lock, flags); in gpiolib_seq_next()