Home
last modified time | relevance | path

Searched refs:sysfs_mutex (Results 1 – 4 of 4) sorted by relevance

/drivers/watchdog/
Dziirave_wdt.c78 struct mutex sysfs_mutex; member
441 ret = mutex_lock_interruptible(&w_priv->sysfs_mutex); in ziirave_wdt_sysfs_show_firm()
449 mutex_unlock(&w_priv->sysfs_mutex); in ziirave_wdt_sysfs_show_firm()
465 ret = mutex_lock_interruptible(&w_priv->sysfs_mutex); in ziirave_wdt_sysfs_show_boot()
473 mutex_unlock(&w_priv->sysfs_mutex); in ziirave_wdt_sysfs_show_boot()
489 ret = mutex_lock_interruptible(&w_priv->sysfs_mutex); in ziirave_wdt_sysfs_show_reason()
495 mutex_unlock(&w_priv->sysfs_mutex); in ziirave_wdt_sysfs_show_reason()
518 err = mutex_lock_interruptible(&w_priv->sysfs_mutex); in ziirave_wdt_sysfs_store_firm()
547 mutex_unlock(&w_priv->sysfs_mutex); in ziirave_wdt_sysfs_store_firm()
613 mutex_init(&w_priv->sysfs_mutex); in ziirave_wdt_probe()
/drivers/input/mouse/
Delan_i2c_core.c65 struct mutex sysfs_mutex; member
659 error = mutex_lock_interruptible(&data->sysfs_mutex); in elan_sysfs_update_fw()
665 mutex_unlock(&data->sysfs_mutex); in elan_sysfs_update_fw()
683 retval = mutex_lock_interruptible(&data->sysfs_mutex); in calibrate_store()
734 mutex_unlock(&data->sysfs_mutex); in calibrate_store()
747 error = mutex_lock_interruptible(&data->sysfs_mutex); in elan_sysfs_read_mode()
753 mutex_unlock(&data->sysfs_mutex); in elan_sysfs_read_mode()
795 retval = mutex_lock_interruptible(&data->sysfs_mutex); in acquire_store()
842 mutex_unlock(&data->sysfs_mutex); in acquire_store()
853 retval = mutex_lock_interruptible(&data->sysfs_mutex); in min_show()
[all …]
/drivers/input/touchscreen/
Draydium_i2c_ts.c127 struct mutex sysfs_mutex; member
969 error = mutex_lock_interruptible(&ts->sysfs_mutex); in raydium_i2c_update_fw_store()
975 mutex_unlock(&ts->sysfs_mutex); in raydium_i2c_update_fw_store()
989 error = mutex_lock_interruptible(&ts->sysfs_mutex); in raydium_i2c_calibrate_store()
998 mutex_unlock(&ts->sysfs_mutex); in raydium_i2c_calibrate_store()
1086 mutex_init(&ts->sysfs_mutex); in raydium_i2c_probe()
Delants_i2c.c178 struct mutex sysfs_mutex; member
1189 error = mutex_lock_interruptible(&ts->sysfs_mutex); in calibrate_store()
1195 mutex_unlock(&ts->sysfs_mutex); in calibrate_store()
1207 error = mutex_lock_interruptible(&ts->sysfs_mutex); in write_update_fw()
1214 mutex_unlock(&ts->sysfs_mutex); in write_update_fw()
1435 mutex_init(&ts->sysfs_mutex); in elants_i2c_probe()