Home
last modified time | relevance | path

Searched refs:cb_data (Results 1 – 25 of 40) sorted by relevance

12

/hardware/nxp/nfc/pn8x/halimpl/dnld/
DphNxpNciHal_Dnld.cc251 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_reset() local
263 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) { in phNxpNciHal_fw_dnld_reset()
268 (void*)&cb_data); in phNxpNciHal_fw_dnld_reset()
277 if (SEM_WAIT(cb_data)) { in phNxpNciHal_fw_dnld_reset()
283 if (cb_data.status != NFCSTATUS_SUCCESS) { in phNxpNciHal_fw_dnld_reset()
292 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_fw_dnld_reset()
372 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_normal() local
393 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) { in phNxpNciHal_fw_dnld_normal()
399 (void*)&cb_data); in phNxpNciHal_fw_dnld_normal()
410 if (SEM_WAIT(cb_data)) { in phNxpNciHal_fw_dnld_normal()
[all …]
/hardware/nxp/nfc/snxxx/halimpl/dnld/
DphNxpNciHal_Dnld.cc265 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_reset() local
277 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) { in phNxpNciHal_fw_dnld_reset()
282 (void*)&cb_data); in phNxpNciHal_fw_dnld_reset()
291 if (SEM_WAIT(cb_data)) { in phNxpNciHal_fw_dnld_reset()
297 if (cb_data.status != NFCSTATUS_SUCCESS) { in phNxpNciHal_fw_dnld_reset()
306 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_fw_dnld_reset()
355 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_normal() local
376 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) { in phNxpNciHal_fw_dnld_normal()
382 (void*)&cb_data); in phNxpNciHal_fw_dnld_normal()
393 if (SEM_WAIT(cb_data)) { in phNxpNciHal_fw_dnld_normal()
[all …]
/hardware/nxp/nfc/snxxx/halimpl/self-test/
DphNxpNciHal_SelfTest.cc977 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_readLocked() local
983 if (phNxpNciHal_init_cb_data(&cb_data, pData) != NFCSTATUS_SUCCESS) { in phNxpNciHal_readLocked()
992 (pphTmlNfc_TransactCompletionCb_t)&hal_read_cb, &cb_data); in phNxpNciHal_readLocked()
1001 &hal_write_rsp_timeout_cb, &cb_data); in phNxpNciHal_readLocked()
1012 if (SEM_WAIT(cb_data)) { in phNxpNciHal_readLocked()
1018 if (cb_data.status == NFCSTATUS_RESPONSE_TIMEOUT) { in phNxpNciHal_readLocked()
1024 if (cb_data.status != NFCSTATUS_SUCCESS) { in phNxpNciHal_readLocked()
1031 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_readLocked()
1050 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_writeLocked() local
1054 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) { in phNxpNciHal_writeLocked()
[all …]
/hardware/nxp/nfc/pn8x/halimpl/self-test/
DphNxpNciHal_SelfTest.cc977 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_readLocked() local
983 if (phNxpNciHal_init_cb_data(&cb_data, pData) != NFCSTATUS_SUCCESS) { in phNxpNciHal_readLocked()
992 (pphTmlNfc_TransactCompletionCb_t)&hal_read_cb, &cb_data); in phNxpNciHal_readLocked()
1001 &hal_write_rsp_timeout_cb, &cb_data); in phNxpNciHal_readLocked()
1012 if (SEM_WAIT(cb_data)) { in phNxpNciHal_readLocked()
1018 if (cb_data.status == NFCSTATUS_RESPONSE_TIMEOUT) { in phNxpNciHal_readLocked()
1024 if (cb_data.status != NFCSTATUS_SUCCESS) { in phNxpNciHal_readLocked()
1031 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_readLocked()
1050 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_writeLocked() local
1054 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) { in phNxpNciHal_writeLocked()
[all …]
/hardware/nxp/nfc/pn8x/halimpl/utils/
DphNxpNciHal_utils.h54 #define SEM_WAIT(cb_data) sem_wait(&((cb_data).sem)) argument
/hardware/qcom/sdm845/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_agps.h150 virtual int requestRsrc(void *cb_data);
159 int (*callbackExt)(void *cb_data);
161 int requestRsrc(void *cb_data);
172 int requestRsrc(void *cb_data);
Dloc_eng_agps.cpp598 int Servicer :: requestRsrc(void *cb_data) in requestRsrc() argument
604 int ExtServicer :: requestRsrc(void *cb_data) in requestRsrc() argument
608 ret = callbackExt(cb_data); in requestRsrc()
613 int AGpsServicer :: requestRsrc(void *cb_data) in requestRsrc() argument
615 callbackAGps((AGpsStatus *)cb_data); in requestRsrc()
/hardware/qcom/sdm845/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng_agps.h150 virtual int requestRsrc(void *cb_data);
159 int (*callbackExt)(void *cb_data);
161 int requestRsrc(void *cb_data);
172 int requestRsrc(void *cb_data);
/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_agps.h150 virtual int requestRsrc(void *cb_data);
159 int (*callbackExt)(void *cb_data);
161 int requestRsrc(void *cb_data);
172 int requestRsrc(void *cb_data);
Dloc_eng_agps.cpp598 int Servicer :: requestRsrc(void *cb_data) in requestRsrc() argument
604 int ExtServicer :: requestRsrc(void *cb_data) in requestRsrc() argument
608 ret = callbackExt(cb_data); in requestRsrc()
613 int AGpsServicer :: requestRsrc(void *cb_data) in requestRsrc() argument
615 callbackAGps((AGpsStatus *)cb_data); in requestRsrc()
/hardware/qcom/sdm845/gps/loc_api/libloc_api_50001/
Dloc_eng_agps.h150 virtual int requestRsrc(void *cb_data);
159 int (*callbackExt)(void *cb_data);
161 int requestRsrc(void *cb_data);
172 int requestRsrc(void *cb_data);
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng_agps.h150 virtual int requestRsrc(void *cb_data);
159 int (*callbackExt)(void *cb_data);
161 int requestRsrc(void *cb_data);
172 int requestRsrc(void *cb_data);
Dloc_eng_agps.cpp598 int Servicer :: requestRsrc(void *cb_data) in requestRsrc() argument
604 int ExtServicer :: requestRsrc(void *cb_data) in requestRsrc() argument
608 ret = callbackExt(cb_data); in requestRsrc()
613 int AGpsServicer :: requestRsrc(void *cb_data) in requestRsrc() argument
615 callbackAGps((AGpsStatus *)cb_data); in requestRsrc()
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_agps.h150 virtual int requestRsrc(void *cb_data);
159 int (*callbackExt)(void *cb_data);
161 int requestRsrc(void *cb_data);
172 int requestRsrc(void *cb_data);
/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng_agps.h150 virtual int requestRsrc(void *cb_data);
159 int (*callbackExt)(void *cb_data);
161 int requestRsrc(void *cb_data);
172 int requestRsrc(void *cb_data);
Dloc_eng_agps.cpp598 int Servicer :: requestRsrc(void *cb_data) in requestRsrc() argument
604 int ExtServicer :: requestRsrc(void *cb_data) in requestRsrc() argument
608 ret = callbackExt(cb_data); in requestRsrc()
613 int AGpsServicer :: requestRsrc(void *cb_data) in requestRsrc() argument
615 callbackAGps((AGpsStatus *)cb_data); in requestRsrc()
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_agps.h150 virtual int requestRsrc(void *cb_data);
159 int (*callbackExt)(void *cb_data);
161 int requestRsrc(void *cb_data);
172 int requestRsrc(void *cb_data);
Dloc_eng_agps.cpp598 int Servicer :: requestRsrc(void *cb_data) in requestRsrc() argument
604 int ExtServicer :: requestRsrc(void *cb_data) in requestRsrc() argument
608 ret = callbackExt(cb_data); in requestRsrc()
613 int AGpsServicer :: requestRsrc(void *cb_data) in requestRsrc() argument
615 callbackAGps((AGpsStatus *)cb_data); in requestRsrc()
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng_agps.h150 virtual int requestRsrc(void *cb_data);
159 int (*callbackExt)(void *cb_data);
161 int requestRsrc(void *cb_data);
172 int requestRsrc(void *cb_data);
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_agps.h150 virtual int requestRsrc(void *cb_data);
159 int (*callbackExt)(void *cb_data);
161 int requestRsrc(void *cb_data);
172 int requestRsrc(void *cb_data);
Dloc_eng_agps.cpp598 int Servicer :: requestRsrc(void *cb_data) in requestRsrc() argument
604 int ExtServicer :: requestRsrc(void *cb_data) in requestRsrc() argument
608 ret = callbackExt(cb_data); in requestRsrc()
613 int AGpsServicer :: requestRsrc(void *cb_data) in requestRsrc() argument
615 callbackAGps((AGpsStatus *)cb_data); in requestRsrc()
/hardware/qcom/sdm845/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_agps.h150 virtual int requestRsrc(void *cb_data);
159 int (*callbackExt)(void *cb_data);
161 int requestRsrc(void *cb_data);
172 int requestRsrc(void *cb_data);
/hardware/nxp/nfc/pn8x/halimpl/hal/
DphNxpNciHal_NfcDepSWPrio.cc128 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_stop_polling_loop() local
153 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_resume_polling_loop() local
178 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_start_polling_loop() local
/hardware/nxp/nfc/snxxx/halimpl/hal/
DphNxpNciHal_NfcDepSWPrio.cc128 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_stop_polling_loop() local
153 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_resume_polling_loop() local
178 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_start_polling_loop() local
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_agps.cpp598 int Servicer :: requestRsrc(void *cb_data) in requestRsrc() argument
604 int ExtServicer :: requestRsrc(void *cb_data) in requestRsrc() argument
608 ret = callbackExt(cb_data); in requestRsrc()
613 int AGpsServicer :: requestRsrc(void *cb_data) in requestRsrc() argument
615 callbackAGps((AGpsStatus *)cb_data); in requestRsrc()

12