Lines Matching refs:xx
77 int xx, yy = 0;
85 for (xx = 0; xx < len; xx++) {
103 int xx;
108 for (xx = 0; xx < NFA_EE_NUM_TECH; xx++) {
110 if (p_cb->tech_switch_on & nfa_ee_tech_mask_list[xx])
112 if (p_cb->tech_switch_off & nfa_ee_tech_mask_list[xx])
114 if (p_cb->tech_battery_off & nfa_ee_tech_mask_list[xx])
123 for (xx = 0; xx < NFA_EE_NUM_PROTO; xx++) {
125 if (p_cb->proto_switch_on & nfa_ee_proto_mask_list[xx])
127 if (p_cb->proto_switch_off & nfa_ee_proto_mask_list[xx])
129 if (p_cb->proto_battery_off & nfa_ee_proto_mask_list[xx])
153 int xx;
158 for (xx = 0; xx < p_cb->aid_entries; xx++) {
160 if (p_cb->aid_rt_info[xx] & NFA_EE_AE_ROUTE) {
168 start_offset += p_cb->aid_len[xx];
185 int xx;
193 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb--) {
243 int len = 0, xx;
246 for (xx = start_entry; xx < p_cb->aid_entries; xx++) {
247 len += p_cb->aid_len[xx];
265 int xx, yy, aid_len_offset, offset;
273 for (xx = 0; xx < p_ecb->aid_entries; xx++) {
279 if (p_entry) *p_entry = xx;
282 offset += p_ecb->aid_len[xx];
307 int xx;
315 for (xx = 0; xx < NFA_EE_MAX_CBACKS; xx++) {
316 if (nfa_ee_cb.p_ee_cback[xx] != NULL) {
317 (*nfa_ee_cb.p_ee_cback[xx])(event, p_data);
374 int xx;
381 for (xx = 0; xx < NFA_EE_MAX_CBACKS; xx++) {
382 if (nfa_ee_cb.p_ee_cback[xx] == p_cback) {
391 for (xx = 0; xx < NFA_EE_MAX_CBACKS; xx++) {
392 if (nfa_ee_cb.p_ee_cback[xx] == NULL) {
393 nfa_ee_cb.p_ee_cback[xx] = p_cback;
779 int xx;
784 for (xx = 0; xx < p_cb->num_interface; xx++) {
785 if (p_data->connect.ee_interface == p_cb->ee_interface[xx]) {
918 int xx;
921 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb++) {
943 int xx, num_removed = 0;
947 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb++) {
952 if (first_removed == NFA_EE_MAX_EE_SUPPORTED) first_removed = xx;
991 uint8_t xx;
1019 for (xx = nfa_ee_cb.cur_ee; xx < num_nfcee; xx++, p_cb++) {
1213 uint32_t xx;
1218 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb++) {
1255 uint8_t xx;
1263 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb++) {
1552 uint8_t xx;
1557 for (xx = 0; xx < p_cbk->num_info; xx++) {
1558 ee_handle = NFA_HANDLE_GROUP_EE | p_cbk->info[xx].nfcee_id;
1560 p_cb = nfa_ee_find_ecb(p_cbk->info[xx].nfcee_id);
1563 p_cbk->info[xx].nfcee_id);
1566 p_cb->nfcee_id = p_cbk->info[xx].nfcee_id;
1570 p_cbk->info[xx].nfcee_id);
1578 if (p_cbk->info[xx].op == NFC_EE_DISC_OP_ADD) {
1579 if (p_cbk->info[xx].tech_n_mode == NFC_DISCOVERY_TYPE_LISTEN_A) {
1580 p_cb->la_protocol = p_cbk->info[xx].protocol;
1581 } else if (p_cbk->info[xx].tech_n_mode == NFC_DISCOVERY_TYPE_LISTEN_B) {
1582 p_cb->lb_protocol = p_cbk->info[xx].protocol;
1583 } else if (p_cbk->info[xx].tech_n_mode == NFC_DISCOVERY_TYPE_LISTEN_F) {
1584 p_cb->lf_protocol = p_cbk->info[xx].protocol;
1585 } else if (p_cbk->info[xx].tech_n_mode ==
1587 p_cb->lbp_protocol = p_cbk->info[xx].protocol;
1595 if (p_cbk->info[xx].tech_n_mode == NFC_DISCOVERY_TYPE_LISTEN_A) {
1597 } else if (p_cbk->info[xx].tech_n_mode == NFC_DISCOVERY_TYPE_LISTEN_B) {
1599 } else if (p_cbk->info[xx].tech_n_mode == NFC_DISCOVERY_TYPE_LISTEN_F) {
1601 } else if (p_cbk->info[xx].tech_n_mode ==
1623 int xx;
1630 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb++) {
1653 int xx, yy;
1661 for (xx = 0; xx < NFA_EE_MAX_TECH_ROUTE; xx++) {
1662 p_handles[xx] = NFC_DH_ID;
1668 if (p_cb->tech_switch_on & tech_mask_list[xx])
1669 p_handles[xx] = p_cb->nfcee_id;
1672 if (p_cb->tech_switch_off & tech_mask_list[xx])
1673 p_handles[xx] = p_cb->nfcee_id;
1676 if (p_cb->tech_battery_off & tech_mask_list[xx])
1677 p_handles[xx] = p_cb->nfcee_id;
1736 int xx;
1760 for (xx = 0; xx < NFA_EE_NUM_TECH; xx++) {
1762 if (p_cb->tech_switch_on & nfa_ee_tech_mask_list[xx])
1764 if (p_cb->tech_switch_off & nfa_ee_tech_mask_list[xx])
1766 if (p_cb->tech_battery_off & nfa_ee_tech_mask_list[xx])
1773 *pp++ = nfa_ee_tech_list[xx];
1781 for (xx = 0; xx < NFA_EE_NUM_PROTO; xx++) {
1783 if (p_cb->proto_switch_on & nfa_ee_proto_mask_list[xx])
1785 if (p_cb->proto_switch_off & nfa_ee_proto_mask_list[xx])
1787 if (p_cb->proto_battery_off & nfa_ee_proto_mask_list[xx])
1794 *pp++ = nfa_ee_proto_list[xx];
1818 for (xx = 0; xx < p_cb->aid_entries; xx++) {
1823 if (p_cb->aid_rt_info[xx] & NFA_EE_AE_ROUTE) {
1831 *pp++ = p_cb->aid_pwr_cfg[xx];
1836 start_offset += p_cb->aid_len[xx];
1932 uint32_t xx;
1945 for (xx = 0; xx <= nfa_ee_cb.cur_ee; xx++) {
1946 NFA_TRACE_DEBUG3("%d: ecb_flags : 0x%02x, mask: 0x%02x", xx,
1952 p_cb = &nfa_ee_cb.ecb[xx];
1953 mask = 1 << xx;
2019 int xx;
2040 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb--) {
2068 for (xx = 0; (xx < nfa_ee_cb.cur_ee) && more; xx++, p_cb++) {
2099 int xx;
2115 for (xx = 0; xx < NFA_EE_NUM_ECBS; xx++, p_cb++) {
2117 mask = (1 << xx);