Home
last modified time | relevance | path

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

/external/libnfc-nci/halimpl/pn54x/utils/
DphNxpNciHal_utils.c277 static phNxpNciHal_Monitor_t *nxpncihal_monitor = NULL; variable
293 if (nxpncihal_monitor == NULL) in phNxpNciHal_init_monitor()
295 nxpncihal_monitor = (phNxpNciHal_Monitor_t *) malloc( in phNxpNciHal_init_monitor()
299 if (nxpncihal_monitor != NULL) in phNxpNciHal_init_monitor()
301 memset(nxpncihal_monitor, 0x00, sizeof(phNxpNciHal_Monitor_t)); in phNxpNciHal_init_monitor()
303 if (pthread_mutex_init(&nxpncihal_monitor->reentrance_mutex, NULL) in phNxpNciHal_init_monitor()
310 if (pthread_mutex_init(&nxpncihal_monitor->concurrency_mutex, NULL) in phNxpNciHal_init_monitor()
314 pthread_mutex_destroy(&nxpncihal_monitor->reentrance_mutex); in phNxpNciHal_init_monitor()
318 if (listInit(&nxpncihal_monitor->sem_list) != 1) in phNxpNciHal_init_monitor()
321 pthread_mutex_destroy(&nxpncihal_monitor->concurrency_mutex); in phNxpNciHal_init_monitor()
[all …]