HomeSort by relevance Sort by last modified time
    Searched refs:nfc_cb (Results 1 - 10 of 10) sorted by null

  /system/nfc/src/nfc/nfc/
nfc_main.c 46 { nfc_cb.max_conn = 1; }
58 tNFC_CB nfc_cb; variable
168 if (nfc_cb.p_resp_cback) {
170 if (nfc_cb.flags & (NFC_FL_RESTARTING | NFC_FL_POWER_CYCLE_NFCC)) {
171 nfc_cb.flags &= ~(NFC_FL_RESTARTING | NFC_FL_POWER_CYCLE_NFCC);
173 nfc_cb.flags |= NFC_FL_POWER_OFF_SLEEP;
175 (*nfc_cb.p_resp_cback)(NFC_NFCC_RESTART_REVT, &evt_data);
177 (*nfc_cb.p_resp_cback)(NFC_ENABLE_REVT, &evt_data);
193 tNFC_CONN_CB* p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID];
218 nfc_cb.vs_interface[yy++] = *p
    [all...]
nfc_task.c 59 if (nfc_cb.timer_queue.p_first == NULL) {
74 GKI_remove_from_timer_list(&nfc_cb.timer_queue, p_tle);
79 GKI_add_to_timer_list(&nfc_cb.timer_queue, p_tle);
92 return (GKI_get_remaining_ticks(&nfc_cb.timer_queue, p_tle));
107 GKI_update_timer_list(&nfc_cb.timer_queue, 1);
109 while ((nfc_cb.timer_queue.p_first) && (!nfc_cb.timer_queue.p_first->ticks)) {
110 p_tle = nfc_cb.timer_queue.p_first;
111 GKI_remove_from_timer_list(&nfc_cb.timer_queue, p_tle);
132 if (nfc_cb.timer_queue.p_first == NULL)
    [all...]
nfc_utils.c 48 if (nfc_cb.conn_cb[xx].conn_id == NFC_ILLEGAL_CONN_ID) {
49 nfc_cb.conn_cb[xx].conn_id =
51 p_conn_cb = &nfc_cb.conn_cb[xx];
75 handle = (uint8_t)(p_cb - nfc_cb.conn_cb + 1);
76 nfc_cb.conn_id[conn_id] = handle;
95 if (nfc_cb.conn_cb[xx].id == id) {
96 p_conn_cb = &nfc_cb.conn_cb[xx];
121 if (nfc_cb.conn_cb[xx].conn_id == NFC_PEND_CONN_ID) {
122 p_conn_cb = &nfc_cb.conn_cb[xx];
129 handle = nfc_cb.conn_id[id]
    [all...]
nfc_vs.c 55 if (nfc_cb.p_vs_cb[i] == NULL) {
56 nfc_cb.p_vs_cb[i] = p_cback;
64 if (nfc_cb.p_vs_cb[i] == p_cback) {
65 nfc_cb.p_vs_cb[i] = NULL;
nfc_ncif.c 57 if (nfc_cb.nci_cmd_window == NCI_MAX_CMD_WINDOW) {
58 if (nfc_cb.nfc_state != NFC_STATE_W4_HAL_CLOSE) {
65 nfc_stop_timer(&nfc_cb.nci_wait_rsp_timer);
67 nfc_cb.p_vsc_cback = NULL;
68 nfc_cb.nci_cmd_window++;
91 if (nfc_cb.nfc_state == NFC_STATE_CORE_INIT) {
110 nfc_cb.flags &= ~NFC_FL_DEACTIVATING;
111 nci_snd_deactivate_cmd((uint8_t)nfc_cb.deactivate_timer.param);
138 if (nfc_cb.nfc_state != NFC_STATE_OPEN) {
139 if (nfc_cb.nfc_state == NFC_STATE_CLOSING)
    [all...]
  /system/nfc/src/nfc/nci/
nci_hrcv.c 48 uint8_t* p_old = nfc_cb.last_cmd;
153 uint8_t* p_old = nfc_cb.last_cmd;
293 tNFC_RESPONSE_CBACK* p_cback = nfc_cb.p_resp_cback;
299 uint8_t* p_old = nfc_cb.last_cmd;
349 tNFC_RESPONSE_CBACK* p_cback = nfc_cb.p_resp_cback;
425 tNFC_VS_CBACK* p_cback = (tNFC_VS_CBACK*)nfc_cb.p_vsc_cback;
461 if (nfc_cb.p_vs_cb[i]) {
462 (*nfc_cb.p_vs_cb[i])((tNFC_VS_EVT)(NCI_NTF_BIT | op_code), p_msg->len,
nci_hmsgs.c 403 nfc_cb.reassembly = true;
  /system/nfc/src/include/
bt_trace.h 325 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
330 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
335 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
340 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
345 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
350 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
355 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \
362 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \
367 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \
372 if (nfc_cb.trace_level >= BT_TRACE_LEVEL_WARNING)
    [all...]
nfc_target.h 655 nfc_cb.p_hal->write(p->len, (uint8_t*)(p + 1) + p->offset); \
  /system/nfc/src/nfc/int/
nfc_int.h 119 if (max > nfc_cb.max_conn) max = nfc_cb.max_conn; \
224 extern tNFC_CB nfc_cb;

Completed in 162 milliseconds