Home
last modified time | relevance | path

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

/hardware/st/nfc/1.1/
Dhal_st21nfc.cc90 struct async_callback_struct* pcb_data = (struct async_callback_struct*)arg; in async_callback_thread_fct() local
92 ret = pthread_mutex_lock(&pcb_data->mutex); in async_callback_thread_fct()
99 if (pcb_data->event_pending == 0) { in async_callback_thread_fct()
100 ret = pthread_cond_wait(&pcb_data->cond, &pcb_data->mutex); in async_callback_thread_fct()
107 if (pcb_data->event_pending) { in async_callback_thread_fct()
108 nfc_event_t event = pcb_data->event; in async_callback_thread_fct()
109 nfc_status_t event_status = pcb_data->event_status; in async_callback_thread_fct()
110 int ending = pcb_data->stop_thread; in async_callback_thread_fct()
111 pcb_data->event_pending = 0; in async_callback_thread_fct()
112 ret = pthread_cond_signal(&pcb_data->cond); in async_callback_thread_fct()
[all …]
/hardware/st/nfc/aidl/
Dhal_st21nfc.cc91 struct async_callback_struct* pcb_data = (struct async_callback_struct*)arg; in async_callback_thread_fct() local
93 ret = pthread_mutex_lock(&pcb_data->mutex); in async_callback_thread_fct()
100 if (pcb_data->event_pending == 0) { in async_callback_thread_fct()
101 ret = pthread_cond_wait(&pcb_data->cond, &pcb_data->mutex); in async_callback_thread_fct()
108 if (pcb_data->event_pending) { in async_callback_thread_fct()
109 nfc_event_t event = pcb_data->event; in async_callback_thread_fct()
110 nfc_status_t event_status = pcb_data->event_status; in async_callback_thread_fct()
111 int ending = pcb_data->stop_thread; in async_callback_thread_fct()
112 pcb_data->event_pending = 0; in async_callback_thread_fct()
113 ret = pthread_cond_signal(&pcb_data->cond); in async_callback_thread_fct()
[all …]
/hardware/st/nfc/1.2/
Dhal_st21nfc.cc93 struct async_callback_struct* pcb_data = (struct async_callback_struct*)arg; in async_callback_thread_fct() local
95 ret = pthread_mutex_lock(&pcb_data->mutex); in async_callback_thread_fct()
102 if (pcb_data->event_pending == 0) { in async_callback_thread_fct()
103 ret = pthread_cond_wait(&pcb_data->cond, &pcb_data->mutex); in async_callback_thread_fct()
110 if (pcb_data->event_pending) { in async_callback_thread_fct()
111 nfc_event_t event = pcb_data->event; in async_callback_thread_fct()
112 nfc_status_t event_status = pcb_data->event_status; in async_callback_thread_fct()
113 int ending = pcb_data->stop_thread; in async_callback_thread_fct()
114 pcb_data->event_pending = 0; in async_callback_thread_fct()
115 ret = pthread_cond_signal(&pcb_data->cond); in async_callback_thread_fct()
[all …]