Lines Matching refs:cb_data
985 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_readLocked() local
991 if (phNxpNciHal_init_cb_data(&cb_data, pData) != NFCSTATUS_SUCCESS) { in phNxpNciHal_readLocked()
1000 (pphTmlNfc_TransactCompletionCb_t)&hal_read_cb, &cb_data); in phNxpNciHal_readLocked()
1009 &hal_write_rsp_timeout_cb, &cb_data); in phNxpNciHal_readLocked()
1020 if (SEM_WAIT(cb_data)) { in phNxpNciHal_readLocked()
1026 if (cb_data.status == NFCSTATUS_RESPONSE_TIMEOUT) { in phNxpNciHal_readLocked()
1032 if (cb_data.status != NFCSTATUS_SUCCESS) { in phNxpNciHal_readLocked()
1039 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_readLocked()
1058 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_writeLocked() local
1062 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) { in phNxpNciHal_writeLocked()
1070 (pphTmlNfc_TransactCompletionCb_t)&hal_write_cb, &cb_data); in phNxpNciHal_writeLocked()
1078 if (SEM_WAIT(cb_data)) { in phNxpNciHal_writeLocked()
1084 if (cb_data.status != NFCSTATUS_SUCCESS && retryCnt < HAL_WRITE_MAX_RETRY) { in phNxpNciHal_writeLocked()
1092 status = cb_data.status; in phNxpNciHal_writeLocked()
1095 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_writeLocked()