Home
last modified time | relevance | path

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

/device/google/bonito/usb/
DUsb.cpp191 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()
227 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()
266 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()
567 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()
579 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
DUsb.h54 pthread_mutex_t mRoleSwitchLock; member
/device/google/wahoo/usb/
DUsb.cpp217 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()
253 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()
292 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()
594 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()
606 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
DUsb.h54 pthread_mutex_t mRoleSwitchLock; member
/device/google/crosshatch/usb/
DUsb.cpp193 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()
229 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()
268 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()
571 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()
583 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
DUsb.h54 pthread_mutex_t mRoleSwitchLock; member
/device/google/coral/usb/
DUsb.cpp279 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()
312 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()
349 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()
638 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()
653 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
DUsb.h63 pthread_mutex_t mRoleSwitchLock; member