Searched refs:disable_lock (Results 1 – 3 of 3) sorted by relevance
38 static DEFINE_MUTEX(disable_lock);65 mutex_lock(&disable_lock); in sysfb_disable()68 mutex_unlock(&disable_lock); in sysfb_disable()82 mutex_lock(&disable_lock); in sysfb_init()128 mutex_unlock(&disable_lock); in sysfb_init()
53 u32 disable_lock; member112 WRITE_REG(ar7_wdt->disable_lock, 0x7777); in ar7_wdt_disable()113 if ((READ_REG(ar7_wdt->disable_lock) & 3) == 1) { in ar7_wdt_disable()114 WRITE_REG(ar7_wdt->disable_lock, 0xcccc); in ar7_wdt_disable()115 if ((READ_REG(ar7_wdt->disable_lock) & 3) == 2) { in ar7_wdt_disable()116 WRITE_REG(ar7_wdt->disable_lock, 0xdddd); in ar7_wdt_disable()117 if ((READ_REG(ar7_wdt->disable_lock) & 3) == 3) { in ar7_wdt_disable()
59 struct mutex disable_lock; member277 mutex_lock(&ddata->disable_lock); in gpio_keys_attr_store_helper()291 mutex_unlock(&ddata->disable_lock); in gpio_keys_attr_store_helper()837 mutex_init(&ddata->disable_lock); in gpio_keys_probe()