Home
last modified time | relevance | path

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

/drivers/firmware/
Dsysfb.c38 static DEFINE_MUTEX(disable_lock);
65 mutex_lock(&disable_lock); in sysfb_disable()
68 mutex_unlock(&disable_lock); in sysfb_disable()
80 mutex_lock(&disable_lock); in sysfb_init()
122 mutex_unlock(&disable_lock); in sysfb_init()
/drivers/watchdog/
Dar7_wdt.c53 u32 disable_lock; member
114 WRITE_REG(ar7_wdt->disable_lock, 0x7777); in ar7_wdt_disable()
115 if ((READ_REG(ar7_wdt->disable_lock) & 3) == 1) { in ar7_wdt_disable()
116 WRITE_REG(ar7_wdt->disable_lock, 0xcccc); in ar7_wdt_disable()
117 if ((READ_REG(ar7_wdt->disable_lock) & 3) == 2) { in ar7_wdt_disable()
118 WRITE_REG(ar7_wdt->disable_lock, 0xdddd); in ar7_wdt_disable()
119 if ((READ_REG(ar7_wdt->disable_lock) & 3) == 3) { in ar7_wdt_disable()
/drivers/input/keyboard/
Dgpio_keys.c59 struct mutex disable_lock; member
277 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()