Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/ucsi/
H A Ducsi.c1933 bool mutex_locked = false; in ucsi_con_mutex_lock() local
1936 while (connected && !mutex_locked) { in ucsi_con_mutex_lock()
1937 mutex_locked = mutex_trylock(&con->lock) != 0; in ucsi_con_mutex_lock()
1939 if (connected && !mutex_locked) in ucsi_con_mutex_lock()
1944 if (!connected && mutex_locked) in ucsi_con_mutex_lock()
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc.c171 int mutex_locked; in s5p_mfc_watchdog_worker() local
181 mutex_locked = mutex_trylock(&dev->mfc_mutex); in s5p_mfc_watchdog_worker()
182 if (!mutex_locked) in s5p_mfc_watchdog_worker()
221 if (mutex_locked) in s5p_mfc_watchdog_worker()