Lines Matching refs:cb_data
257 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_reset() local
270 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_reset()
275 wStatus = phDnldNfc_Reset((pphDnldNfc_RspCb_t)&phNxpNciHal_fw_dnld_reset_cb, (void*) &cb_data); in phNxpNciHal_fw_dnld_reset()
285 if (SEM_WAIT(cb_data)) in phNxpNciHal_fw_dnld_reset()
292 if (cb_data.status != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_reset()
302 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_fw_dnld_reset()
391 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_normal() local
416 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_normal()
421 …tus = phDnldNfc_Force(&tData,(pphDnldNfc_RspCb_t)&phNxpNciHal_fw_dnld_normal_cb, (void*) &cb_data); in phNxpNciHal_fw_dnld_normal()
433 if (SEM_WAIT(cb_data)) in phNxpNciHal_fw_dnld_normal()
440 if (cb_data.status != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_normal()
450 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_fw_dnld_normal()
470 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_force() local
495 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_force()
500 …atus = phDnldNfc_Force(&tData,(pphDnldNfc_RspCb_t)&phNxpNciHal_fw_dnld_force_cb, (void*) &cb_data); in phNxpNciHal_fw_dnld_force()
512 if (SEM_WAIT(cb_data)) in phNxpNciHal_fw_dnld_force()
519 if (cb_data.status != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_force()
529 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_fw_dnld_force()
680 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_get_version() local
692 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_get_version()
703 (void*) &cb_data); in phNxpNciHal_fw_dnld_get_version()
711 if (SEM_WAIT(cb_data)) in phNxpNciHal_fw_dnld_get_version()
718 if (cb_data.status != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_get_version()
728 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_fw_dnld_get_version()
826 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_get_sessn_state() local
835 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_get_sessn_state()
845 &phNxpNciHal_fw_dnld_get_sessn_state_cb, (void *) &cb_data); in phNxpNciHal_fw_dnld_get_sessn_state()
854 if (SEM_WAIT(cb_data)) in phNxpNciHal_fw_dnld_get_sessn_state()
861 if (cb_data.status != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_get_sessn_state()
871 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_fw_dnld_get_sessn_state()
919 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_log_read() local
932 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_log_read()
943 (void *) &cb_data); in phNxpNciHal_fw_dnld_log_read()
952 if (SEM_WAIT(cb_data)) in phNxpNciHal_fw_dnld_log_read()
959 if (cb_data.status != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_log_read()
969 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_fw_dnld_log_read()
1052 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_write() local
1067 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_write()
1081 (void *) &cb_data); in phNxpNciHal_fw_dnld_write()
1095 if (SEM_WAIT(cb_data)) in phNxpNciHal_fw_dnld_write()
1102 if (cb_data.status != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_write()
1105 wStatus = cb_data.status; in phNxpNciHal_fw_dnld_write()
1112 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_fw_dnld_write()
1178 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_chk_integrity() local
1203 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_chk_integrity()
1211 (void *) &cb_data); in phNxpNciHal_fw_dnld_chk_integrity()
1220 if (SEM_WAIT(cb_data)) in phNxpNciHal_fw_dnld_chk_integrity()
1227 if (cb_data.status != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_chk_integrity()
1237 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_fw_dnld_chk_integrity()
1255 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_recover() local
1262 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_recover()
1272 …= phDnldNfc_Write(TRUE,NULL,(pphDnldNfc_RspCb_t)&phNxpNciHal_fw_dnld_recover_cb, (void*) &cb_data); in phNxpNciHal_fw_dnld_recover()
1281 if (SEM_WAIT(cb_data)) in phNxpNciHal_fw_dnld_recover()
1288 if (cb_data.status != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_recover()
1297 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_fw_dnld_recover()
1433 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_send_ncicmd() local
1455 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_send_ncicmd()
1466 (pphDnldNfc_RspCb_t)&phNxpNciHal_fw_dnld_send_ncicmd_cb, (void*) &cb_data); in phNxpNciHal_fw_dnld_send_ncicmd()
1472 if (SEM_WAIT(cb_data)) in phNxpNciHal_fw_dnld_send_ncicmd()
1479 if (cb_data.status != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_send_ncicmd()
1488 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_fw_dnld_send_ncicmd()
1541 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_log() local
1555 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_log()
1563 … wStatus = phDnldNfc_Log(&tData,(pphDnldNfc_RspCb_t)&phNxpNciHal_fw_dnld_log_cb, (void*) &cb_data); in phNxpNciHal_fw_dnld_log()
1573 if (SEM_WAIT(cb_data)) in phNxpNciHal_fw_dnld_log()
1580 if (cb_data.status != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_log()
1590 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_fw_dnld_log()