Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Drt9471.c150 struct mutex var_lock; member
302 mutex_lock(&chip->var_lock); in rt9471_get_usb_type()
304 mutex_unlock(&chip->var_lock); in rt9471_get_usb_type()
312 mutex_lock(&chip->var_lock); in rt9471_get_usb_type_current()
314 mutex_unlock(&chip->var_lock); in rt9471_get_usb_type_current()
462 mutex_lock(&chip->var_lock); in rt9471_detach_handler()
465 mutex_unlock(&chip->var_lock); in rt9471_detach_handler()
519 mutex_lock(&chip->var_lock); in rt9471_bc12_done_handler()
522 mutex_unlock(&chip->var_lock); in rt9471_bc12_done_handler()
848 mutex_init(&chip->var_lock); in rt9471_probe()