Home | History | Annotate | Download | only in hci

Lines Matching refs:xx

198   uint8_t xx, yy, zz;
207 for (xx = 0; xx < NFA_HCI_MAX_APP_CB; xx++) {
209 if (strlen(&nfa_hci_cb.cfg.reg_app_names[xx][0]) > NFA_MAX_HCI_APP_NAME_LEN)
213 if ((nfa_hci_cb.cfg.b_send_conn_evts[xx] != true) &&
214 (nfa_hci_cb.cfg.b_send_conn_evts[xx] != false))
217 if (nfa_hci_cb.cfg.reg_app_names[xx][0] != 0) {
220 for (yy = xx + 1; yy < NFA_HCI_MAX_APP_CB; yy++) {
222 (!strncmp(&nfa_hci_cb.cfg.reg_app_names[xx][0],
224 strlen(nfa_hci_cb.cfg.reg_app_names[xx])))) {
227 &nfa_hci_cb.cfg.reg_app_names[xx][0], xx);
232 reg_app[app_count++] = (tNFA_HANDLE)(xx | NFA_HANDLE_GROUP_HCI);
237 for (xx = 0; xx < NFA_HCI_MAX_GATE_CB; xx++) {
238 if (nfa_hci_cb.cfg.dyn_gates[xx].gate_id != 0) {
239 if (((nfa_hci_cb.cfg.dyn_gates[xx].gate_id != NFA_HCI_LOOP_BACK_GATE) &&
240 (nfa_hci_cb.cfg.dyn_gates[xx].gate_id !=
242 (nfa_hci_cb.cfg.dyn_gates[xx].gate_id <
244 (nfa_hci_cb.cfg.dyn_gates[xx].gate_id > NFA_HCI_LAST_PROP_GATE))
249 for (yy = xx + 1; yy < NFA_HCI_MAX_GATE_CB; yy++) {
251 (nfa_hci_cb.cfg.dyn_gates[xx].gate_id ==
254 nfa_hci_cb.cfg.dyn_gates[xx].gate_id);
258 if ((nfa_hci_cb.cfg.dyn_gates[xx].gate_owner & (~NFA_HANDLE_GROUP_HCI)) >=
261 nfa_hci_cb.cfg.dyn_gates[xx].gate_owner);
264 if (nfa_hci_cb.cfg.dyn_gates[xx].gate_id != NFA_HCI_CONNECTIVITY_GATE) {
267 if (nfa_hci_cb.cfg.dyn_gates[xx].gate_owner == reg_app[zz]) break;
271 nfa_hci_cb.cfg.dyn_gates[xx].gate_owner);
276 valid_gate[gate_count++] = nfa_hci_cb.cfg.dyn_gates[xx].gate_id;
279 if ((pipe_inx_mask & nfa_hci_cb.cfg.dyn_gates[xx].pipe_inx_mask) != 0)
282 pipe_inx_mask |= nfa_hci_cb.cfg.dyn_gates[xx].pipe_inx_mask;
286 for (xx = 0; (pipe_inx_mask && (xx < NFA_HCI_MAX_PIPE_CB));
287 xx++, pipe_inx_mask >>= 1) {
291 if (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id < NFA_HCI_FIRST_DYNAMIC_PIPE)
296 if (xx == NFA_HCI_MAX_PIPE_CB) return false;
299 for (xx = 0; xx < NFA_HCI_MAX_PIPE_CB; xx++) {
300 if (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id != 0) {
302 if (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id < NFA_HCI_FIRST_DYNAMIC_PIPE)
306 if ((nfa_hci_cb.cfg.dyn_pipes[xx].pipe_state != NFA_HCI_PIPE_OPENED) &&
307 (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_state != NFA_HCI_PIPE_CLOSED))
311 if ((((nfa_hci_cb.cfg.dyn_pipes[xx].local_gate !=
313 (nfa_hci_cb.cfg.dyn_pipes[xx].local_gate !=
315 (nfa_hci_cb.cfg.dyn_pipes[xx].local_gate <
317 (nfa_hci_cb.cfg.dyn_pipes[xx].local_gate > NFA_HCI_LAST_PROP_GATE))
321 if ((((nfa_hci_cb.cfg.dyn_pipes[xx].dest_gate !=
323 (nfa_hci_cb.cfg.dyn_pipes[xx].dest_gate !=
325 (nfa_hci_cb.cfg.dyn_pipes[xx].dest_gate <
327 (nfa_hci_cb.cfg.dyn_pipes[xx].dest_gate > NFA_HCI_LAST_PROP_GATE))
332 for (yy = xx + 1; yy < NFA_HCI_MAX_PIPE_CB; yy++) {
334 (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id ==
337 nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id);
343 if (nfa_hci_cb.cfg.dyn_pipes[xx].local_gate == valid_gate[zz]) break;
347 nfa_hci_cb.cfg.dyn_pipes[xx].local_gate);
364 for (xx = 0; (pipe_inx_mask && (xx < NFA_HCI_MAX_PIPE_CB));
365 xx++, pipe_inx_mask >>= 1) {
369 if (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id < NFA_HCI_FIRST_DYNAMIC_PIPE)
372 if (nfa_hci_cb.cfg.dyn_pipes[xx].local_gate !=
377 if (xx == NFA_HCI_MAX_PIPE_CB) return false;
1099 tNFC_DATA_CEVT xx;
1100 xx.p_data = p_msg;
1101 nfa_hci_conn_cback(0, NFC_DATA_CEVT, (tNFC_CONN*)&xx);