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

  /external/libnfc-nci/src/nfc/nfc/
nfc_main.c 49 #define NFC_SET_MAX_CONN_DEFAULT() {nfc_cb.max_conn = 1;}
62 tNFC_CB nfc_cb; variable
185 if (nfc_cb.p_resp_cback)
188 if (nfc_cb.flags & (NFC_FL_RESTARTING|NFC_FL_POWER_CYCLE_NFCC))
190 nfc_cb.flags &= ~(NFC_FL_RESTARTING|NFC_FL_POWER_CYCLE_NFCC);
193 nfc_cb.flags |= NFC_FL_POWER_OFF_SLEEP;
195 (*nfc_cb.p_resp_cback) (NFC_NFCC_RESTART_REVT, &evt_data);
199 (*nfc_cb.p_resp_cback) (NFC_ENABLE_REVT, &evt_data);
218 tNFC_CONN_CB *p_cb = &nfc_cb.conn_cb[NFC_RF_CONN_ID];
244 nfc_cb.vs_interface[yy++] = *p
    [all...]
nfc_task.c 64 if (nfc_cb.timer_queue.p_first == NULL)
83 GKI_remove_from_timer_list (&nfc_cb.timer_queue, p_tle);
88 GKI_add_to_timer_list (&nfc_cb.timer_queue, p_tle);
102 return (GKI_get_remaining_ticks (&nfc_cb.timer_queue, p_tle));
118 GKI_update_timer_list (&nfc_cb.timer_queue, 1);
120 while ((nfc_cb.timer_queue.p_first) && (!nfc_cb.timer_queue.p_first->ticks))
122 p_tle = nfc_cb.timer_queue.p_first;
123 GKI_remove_from_timer_list (&nfc_cb.timer_queue, p_tle);
142 if (nfc_cb.timer_queue.p_first == NULL
    [all...]
nfc_utils.c 53 if (nfc_cb.conn_cb[xx].conn_id == NFC_ILLEGAL_CONN_ID)
55 nfc_cb.conn_cb[xx].conn_id = NFC_PEND_CONN_ID; /* to indicate this cb is used */
56 p_conn_cb = &nfc_cb.conn_cb[xx];
82 handle = (UINT8) (p_cb - nfc_cb.conn_cb + 1);
83 nfc_cb.conn_id[conn_id] = handle;
104 if (nfc_cb.conn_cb[xx].id == id)
106 p_conn_cb = &nfc_cb.conn_cb[xx];
134 if (nfc_cb.conn_cb[xx].conn_id == NFC_PEND_CONN_ID)
136 p_conn_cb = &nfc_cb.conn_cb[xx];
146 handle = nfc_cb.conn_id[id]
    [all...]
nfc_vs.c 63 if (nfc_cb.p_vs_cb[i] == NULL)
65 nfc_cb.p_vs_cb[i] = p_cback;
76 if (nfc_cb.p_vs_cb[i] == p_cback)
78 nfc_cb.p_vs_cb[i] = NULL;
nfc_ncif.c 65 if (nfc_cb.nci_cmd_window == NCI_MAX_CMD_WINDOW)
67 if (nfc_cb.nfc_state != NFC_STATE_W4_HAL_CLOSE)
75 nfc_stop_timer (&nfc_cb.nci_wait_rsp_timer);
77 nfc_cb.p_vsc_cback = NULL;
78 nfc_cb.nci_cmd_window++;
102 if (nfc_cb.nfc_state == NFC_STATE_CORE_INIT)
123 nfc_cb.flags &= ~NFC_FL_DEACTIVATING;
124 nci_snd_deactivate_cmd ((UINT8) ((TIMER_PARAM_TYPE) nfc_cb.deactivate_timer.param));
153 if (nfc_cb.nfc_state != NFC_STATE_OPEN)
155 if (nfc_cb.nfc_state == NFC_STATE_CLOSING
    [all...]
  /external/libnfc-nci/src/nfc/nci/
nci_hrcv.c 51 UINT8 *p_old = nfc_cb.last_cmd;
161 UINT8 *p_old = nfc_cb.last_cmd;
295 tNFC_RESPONSE_CBACK *p_cback = nfc_cb.p_resp_cback;
301 UINT8 *p_old = nfc_cb.last_cmd;
355 tNFC_RESPONSE_CBACK *p_cback = nfc_cb.p_resp_cback;
438 tNFC_VS_CBACK *p_cback = (tNFC_VS_CBACK *)nfc_cb.p_vsc_cback;
475 if (nfc_cb.p_vs_cb[i])
477 (*nfc_cb.p_vs_cb[i]) ((tNFC_VS_EVT) (NCI_NTF_BIT|op_code), p_msg->len, p_evt);
nci_hmsgs.c 420 nfc_cb.reassembly = TRUE;
  /external/libnfc-nci/src/nfc/int/
nfc_int.h 102 #define NFC_CHECK_MAX_CONN() {if (max > nfc_cb.max_conn) max = nfc_cb.max_conn;}
203 NFC_API extern tNFC_CB nfc_cb;
206 #define nfc_cb (*nfc_cb_ptr) macro
  /external/libnfc-nci/src/include/
nfc_target.h 686 #define HAL_WRITE(p) {nfc_cb.p_hal->write(p->len, (UINT8 *)(p+1) + p->offset); GKI_freebuf(p);}
bt_trace.h     [all...]

Completed in 261 milliseconds