Home
last modified time | relevance | path

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

/openbmc/linux/drivers/firmware/
H A Dsysfb.c38 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()
/openbmc/linux/drivers/watchdog/
H A Dar7_wdt.c53 u32 disable_lock; member
112 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()
/openbmc/linux/drivers/input/keyboard/
H A 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()