Searched refs:HOOK (Results 1 - 3 of 3) sorted by relevance
/device/board/hihope/rk3568/audio_drivers/headset_monitor/src/ |
H A D | analog_headset_gpio.c | 191 (void)HdfAddDelayedWork(&hs->workQueue, &hs->hDelayedWork[HOOK], DELAY_WORK_MS100); in HookInterrupt() 320 (void)OsalMutexLock(&hs->mutexLk[HOOK]); in HookWorkCallback() 323 (void)OsalMutexUnlock(&hs->mutexLk[HOOK]); in HookWorkCallback() 329 (void)OsalMutexUnlock(&hs->mutexLk[HOOK]); in HookWorkCallback() 343 (void)OsalMutexUnlock(&hs->mutexLk[HOOK]); in HookWorkCallback() 350 (void)OsalMutexUnlock(&hs->mutexLk[HOOK]); in HookWorkCallback() 457 HdfDelayedWorkInit(&hs->hDelayedWork[HOOK], HookWorkCallback, hs); in InitWorkData() 563 (void)OsalMutexInit(&hs->mutexLk[HOOK]); in AnalogHeadsetGpioInit() 616 HdfWorkDestroy(&hs->hDelayedWork[HOOK]); in AnalogHeadsetGpioRelease() 620 OsalMutexDestroy(&hs->mutexLk[HOOK]); in AnalogHeadsetGpioRelease() [all...] |
H A D | analog_headset_adc.c | 179 (void)HdfAddDelayedWork(&hs->workQueue, &hs->hDelayedWork[HOOK], DELAY_WORK_MS200); in ReportCurrentState() 367 AUDIO_DEVICE_LOG_DEBUG("Headset is out or waiting for headset is in or out, after same time check HOOK key."); in HookWorkCallback() 379 AUDIO_DEVICE_LOG_DEBUG("HOOK status is %s , adc value = %d, hookTime = %u.", in HookWorkCallback() 391 AUDIO_DEVICE_LOG_DEBUG("headset is out, HOOK status must discard."); in HookWorkCallback() 427 HdfDelayedWorkInit(&hs->hDelayedWork[HOOK], HookOnceWork, hs); in InitWorkData() 585 HdfWorkDestroy(&hs->hDelayedWork[HOOK]); in AnalogHeadsetAdcRelease()
|
/device/board/hihope/rk3568/audio_drivers/headset_monitor/include/ |
H A D | analog_headset.h | 29 #define HOOK 1 macro
|
Completed in 2 milliseconds