Home
last modified time | relevance | path

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

/hardware/nxp/nfc/halimpl/utils/
DphNxpNciHal_utils.cc347 NFCSTATUS phNxpNciHal_init_cb_data(phNxpNciHal_Sem_t* pCallbackData, in phNxpNciHal_init_cb_data() argument
350 if (sem_init(&pCallbackData->sem, 0, 0) == -1) { in phNxpNciHal_init_cb_data()
356 pCallbackData->status = NFCSTATUS_FAILED; in phNxpNciHal_init_cb_data()
359 pCallbackData->pContext = pContext; in phNxpNciHal_init_cb_data()
362 if (listAdd(&phNxpNciHal_get_monitor()->sem_list, pCallbackData) != 1) { in phNxpNciHal_init_cb_data()
378 void phNxpNciHal_cleanup_cb_data(phNxpNciHal_Sem_t* pCallbackData) { in phNxpNciHal_cleanup_cb_data() argument
380 if (sem_destroy(&pCallbackData->sem)) { in phNxpNciHal_cleanup_cb_data()
388 if (listRemove(&phNxpNciHal_get_monitor()->sem_list, pCallbackData) != 1) { in phNxpNciHal_cleanup_cb_data()
407 phNxpNciHal_Sem_t* pCallbackData; in phNxpNciHal_releaseall_cb_data() local
410 (void**)&pCallbackData)) { in phNxpNciHal_releaseall_cb_data()
[all …]
DphNxpNciHal_utils.h83 NFCSTATUS phNxpNciHal_init_cb_data(phNxpNciHal_Sem_t* pCallbackData,
85 void phNxpNciHal_cleanup_cb_data(phNxpNciHal_Sem_t* pCallbackData);