Home
last modified time | relevance | path

Searched refs:sysfs_lock (Results 1 – 3 of 3) sorted by relevance

/drivers/gpio/
Dgpiolib-sysfs.c35 static DEFINE_MUTEX(sysfs_lock);
591 mutex_lock(&sysfs_lock); in gpiod_export()
639 mutex_unlock(&sysfs_lock); in gpiod_export()
645 mutex_unlock(&sysfs_lock); in gpiod_export()
707 mutex_lock(&sysfs_lock); in gpiod_unexport()
728 mutex_unlock(&sysfs_lock); in gpiod_unexport()
736 mutex_unlock(&sysfs_lock); in gpiod_unexport()
772 mutex_lock(&sysfs_lock); in gpiochip_sysfs_register()
774 mutex_unlock(&sysfs_lock); in gpiochip_sysfs_register()
791 mutex_lock(&sysfs_lock); in gpiochip_sysfs_unregister()
[all …]
/drivers/phy/broadcom/
Dphy-brcm-usb.c22 static DEFINE_MUTEX(sysfs_lock);
193 mutex_lock(&sysfs_lock); in dual_select_store()
200 mutex_unlock(&sysfs_lock); in dual_select_store()
211 mutex_lock(&sysfs_lock); in dual_select_show()
213 mutex_unlock(&sysfs_lock); in dual_select_show()
/drivers/acpi/
Dbattery.c111 struct mutex sysfs_lock; member
832 mutex_lock(&battery->sysfs_lock); in sysfs_remove_battery()
834 mutex_unlock(&battery->sysfs_lock); in sysfs_remove_battery()
841 mutex_unlock(&battery->sysfs_lock); in sysfs_remove_battery()
1391 mutex_init(&battery->sysfs_lock); in acpi_battery_add()
1421 mutex_destroy(&battery->sysfs_lock); in acpi_battery_add()
1440 mutex_destroy(&battery->sysfs_lock); in acpi_battery_remove()