Home
last modified time | relevance | path

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

/device/google/sunfish/usb/usb/
DUsb.cpp369 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()
404 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()
442 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()
743 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()
755 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
DUsb.h76 pthread_mutex_t mRoleSwitchLock; member
/device/google/barbet/usb/usb/
DUsb.cpp369 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()
404 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()
442 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()
743 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()
755 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
DUsb.h76 pthread_mutex_t mRoleSwitchLock; member
/device/google/redfin/usb/usb/
DUsb.cpp369 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()
404 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()
442 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()
743 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()
755 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
DUsb.h76 pthread_mutex_t mRoleSwitchLock; member
/device/google/coral/usb/usb/
DUsb.cpp369 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()
404 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()
442 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()
743 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()
755 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
DUsb.h76 pthread_mutex_t mRoleSwitchLock; member
/device/google/gs201/usb/usb/
DUsb.cpp537 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()
595 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()
638 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()
1093 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()
1105 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
DUsb.h85 pthread_mutex_t mRoleSwitchLock; member
/device/google/gs101/usb/usb/
DUsb.cpp533 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()
586 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()
629 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()
1074 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()
1086 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
DUsb.h81 pthread_mutex_t mRoleSwitchLock; member
/device/google/zuma/usb/usb/
DUsb.cpp521 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()
595 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()
638 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()
1252 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()
1264 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
DUsb.h117 pthread_mutex_t mRoleSwitchLock; member
/device/google/zumapro/usb/usb/
DUsb.cpp584 mRoleSwitchLock(PTHREAD_MUTEX_INITIALIZER), in Usb()
665 pthread_mutex_lock(&mRoleSwitchLock); in switchRole()
708 pthread_mutex_unlock(&mRoleSwitchLock); in switchRole()
1342 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()
1354 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
DUsb.h120 pthread_mutex_t mRoleSwitchLock; member