Home
last modified time | relevance | path

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

/hardware/nxp/nfc/snxxx/halimpl/recovery/
DphNxpNciHal_Recovery.cc102 nxpncihal_ctrl.ext_cb_data.status = pInfo->wStatus; in phNxpNciHal_read_callback()
104 nxpncihal_ctrl.ext_cb_data.status = NFCSTATUS_FAILED; in phNxpNciHal_read_callback()
106 SEM_POST(&(nxpncihal_ctrl.ext_cb_data)); in phNxpNciHal_read_callback()
128 nxpncihal_ctrl.ext_cb_data.status = pInfo->wStatus; in phNxpNciHal_write_callback()
130 nxpncihal_ctrl.ext_cb_data.status = NFCSTATUS_FAILED; in phNxpNciHal_write_callback()
132 SEM_POST(&(nxpncihal_ctrl.ext_cb_data)); in phNxpNciHal_write_callback()
153 while ((retVal = sem_timedwait_monotonic_np(&nxpncihal_ctrl.ext_cb_data.sem, &ts)) == -1 && in phNxpNciHal_semWaitTimeout()
162 status = nxpncihal_ctrl.ext_cb_data.status; in phNxpNciHal_semWaitTimeout()
506 if (phNxpNciHal_init_cb_data(&nxpncihal_ctrl.ext_cb_data, NULL) != in phnxpNciHal_partialOpen()
597 phNxpNciHal_cleanup_cb_data(&nxpncihal_ctrl.ext_cb_data); in phnxpNciHal_partialClose()
/hardware/nxp/nfc/pn8x/halimpl/hal/
DphNxpNciHal_ext.cc539 if (phNxpNciHal_init_cb_data(&nxpncihal_ctrl.ext_cb_data, NULL) != in phNxpNciHal_process_ext_cmd_rsp()
545 nxpncihal_ctrl.ext_cb_data.status = NFCSTATUS_SUCCESS; in phNxpNciHal_process_ext_cmd_rsp()
567 if (SEM_WAIT(nxpncihal_ctrl.ext_cb_data)) { in phNxpNciHal_process_ext_cmd_rsp()
603 if (SEM_WAIT(nxpncihal_ctrl.ext_cb_data)) { in phNxpNciHal_process_ext_cmd_rsp()
619 if (nxpncihal_ctrl.ext_cb_data.status != NFCSTATUS_SUCCESS && in phNxpNciHal_process_ext_cmd_rsp()
623 nxpncihal_ctrl.ext_cb_data.status); in phNxpNciHal_process_ext_cmd_rsp()
632 phNxpNciHal_cleanup_cb_data(&nxpncihal_ctrl.ext_cb_data); in phNxpNciHal_process_ext_cmd_rsp()
978 nxpncihal_ctrl.ext_cb_data.status = NFCSTATUS_FAILED; in hal_extns_write_rsp_timeout_cb()
981 SEM_POST(&(nxpncihal_ctrl.ext_cb_data)); in hal_extns_write_rsp_timeout_cb()
DphNxpNciHal.h118 phNxpNciHal_Sem_t ext_cb_data; member
DphNxpNciHal.cc1162 SEM_POST(&(nxpncihal_ctrl.ext_cb_data)); in phNxpNciHal_read_complete()
1181 nxpncihal_ctrl.ext_cb_data.status = status; in phNxpNciHal_read_complete()
1187 SEM_POST(&(nxpncihal_ctrl.ext_cb_data)); in phNxpNciHal_read_complete()
1194 SEM_POST(&(nxpncihal_ctrl.ext_cb_data)); in phNxpNciHal_read_complete()
1202 SEM_POST(&(nxpncihal_ctrl.ext_cb_data)); in phNxpNciHal_read_complete()
/hardware/nxp/uwb/halimpl/hal/
DphNxpUciHal_ext.cc88 if (phNxpUciHal_init_cb_data(&nxpucihal_ctrl.ext_cb_data, NULL) != UWBSTATUS_SUCCESS) { in phNxpUciHal_process_ext_cmd_rsp()
99 nxpucihal_ctrl.ext_cb_data.status = UWBSTATUS_FAILED; in phNxpUciHal_process_ext_cmd_rsp()
116 phNxpUciHal_sem_timed_wait_msec(&nxpucihal_ctrl.ext_cb_data, HAL_EXTNS_WRITE_RSP_TIMEOUT_MS); in phNxpUciHal_process_ext_cmd_rsp()
120 switch (nxpucihal_ctrl.ext_cb_data.status) { in phNxpUciHal_process_ext_cmd_rsp()
130 status = nxpucihal_ctrl.ext_cb_data.status; in phNxpUciHal_process_ext_cmd_rsp()
136 NXPLOG_UCIHAL_E("Failed to process cmd/rsp 0x%x", nxpucihal_ctrl.ext_cb_data.status); in phNxpUciHal_process_ext_cmd_rsp()
149 phNxpUciHal_cleanup_cb_data(&nxpucihal_ctrl.ext_cb_data); in phNxpUciHal_process_ext_cmd_rsp()
DphNxpUciHal.cc528 nxpucihal_ctrl.ext_cb_data.status = UWBSTATUS_SUCCESS; in phNxpUciHal_read_complete()
547 nxpucihal_ctrl.ext_cb_data.status = UWBSTATUS_COMMAND_RETRANSMIT; in phNxpUciHal_read_complete()
569 nxpucihal_ctrl.ext_cb_data.status = UWBSTATUS_SUCCESS; in phNxpUciHal_read_complete()
573 …nxpucihal_ctrl.ext_cb_data.status = phNxpUciHal_process_ext_rsp(nxpucihal_ctrl.rx_data_len, nxpuci… in phNxpUciHal_read_complete()
575 nxpucihal_ctrl.ext_cb_data.status = UWBSTATUS_FAILED; in phNxpUciHal_read_complete()
584 SEM_POST(&(nxpucihal_ctrl.ext_cb_data)); in phNxpUciHal_read_complete()
DphNxpUciHal.h182 phNxpUciHal_Sem_t ext_cb_data; member
/hardware/nxp/nfc/snxxx/halimpl/hal/
DphNxpNciHal_ext.cc542 if (phNxpNciHal_init_cb_data(&nxpncihal_ctrl.ext_cb_data, NULL) != in phNxpNciHal_process_ext_cmd_rsp()
548 nxpncihal_ctrl.ext_cb_data.status = NFCSTATUS_SUCCESS; in phNxpNciHal_process_ext_cmd_rsp()
570 if (SEM_WAIT(nxpncihal_ctrl.ext_cb_data)) { in phNxpNciHal_process_ext_cmd_rsp()
606 if (SEM_WAIT(nxpncihal_ctrl.ext_cb_data)) { in phNxpNciHal_process_ext_cmd_rsp()
622 if (nxpncihal_ctrl.ext_cb_data.status != NFCSTATUS_SUCCESS) { in phNxpNciHal_process_ext_cmd_rsp()
625 nxpncihal_ctrl.ext_cb_data.status); in phNxpNciHal_process_ext_cmd_rsp()
655 phNxpNciHal_cleanup_cb_data(&nxpncihal_ctrl.ext_cb_data); in phNxpNciHal_process_ext_cmd_rsp()
975 nxpncihal_ctrl.ext_cb_data.status = NFCSTATUS_FAILED; in hal_extns_write_rsp_timeout_cb()
978 SEM_POST(&(nxpncihal_ctrl.ext_cb_data)); in hal_extns_write_rsp_timeout_cb()
DphNxpNciHal.h154 phNxpNciHal_Sem_t ext_cb_data; member
DphNxpNciHal.cc1355 SEM_POST(&(nxpncihal_ctrl.ext_cb_data)); in phNxpNciHal_read_complete()
1362 SEM_POST(&(nxpncihal_ctrl.ext_cb_data)); in phNxpNciHal_read_complete()
1375 nxpncihal_ctrl.ext_cb_data.status = status; in phNxpNciHal_read_complete()
1382 SEM_POST(&(nxpncihal_ctrl.ext_cb_data)); in phNxpNciHal_read_complete()
1394 SEM_POST(&(nxpncihal_ctrl.ext_cb_data)); in phNxpNciHal_read_complete()
1401 SEM_POST(&(nxpncihal_ctrl.ext_cb_data)); in phNxpNciHal_read_complete()