Home
last modified time | relevance | path

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

/Linux-v5.10/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()
/Linux-v5.10/drivers/input/keyboard/
Dgpio_keys.c56 struct mutex disable_lock; member
267 mutex_lock(&ddata->disable_lock); in gpio_keys_attr_store_helper()
281 mutex_unlock(&ddata->disable_lock); in gpio_keys_attr_store_helper()
798 mutex_init(&ddata->disable_lock); in gpio_keys_probe()