• Home
  • Raw
  • Download

Lines Matching refs:xx

96     int     xx, yy = 0;  in nfa_ee_trace_aid()  local
105 for (xx = 0; xx < len; xx++) in nfa_ee_trace_aid()
126 int xx; in nfa_ee_update_route_size() local
131 for (xx = 0; xx < NFA_EE_NUM_TECH; xx++) in nfa_ee_update_route_size()
134 if (p_cb->tech_switch_on & nfa_ee_tech_mask_list[xx]) in nfa_ee_update_route_size()
136 if (p_cb->tech_switch_off & nfa_ee_tech_mask_list[xx]) in nfa_ee_update_route_size()
138 if (p_cb->tech_battery_off & nfa_ee_tech_mask_list[xx]) in nfa_ee_update_route_size()
148 for (xx = 0; xx < NFA_EE_NUM_PROTO; xx++) in nfa_ee_update_route_size()
151 if (p_cb->proto_switch_on & nfa_ee_proto_mask_list[xx]) in nfa_ee_update_route_size()
153 if (p_cb->proto_switch_off & nfa_ee_proto_mask_list[xx]) in nfa_ee_update_route_size()
155 if (p_cb->proto_battery_off & nfa_ee_proto_mask_list[xx]) in nfa_ee_update_route_size()
180 int xx; in nfa_ee_update_route_aid_size() local
186 for (xx = 0; xx < p_cb->aid_entries; xx++) in nfa_ee_update_route_aid_size()
189 if (p_cb->aid_rt_info[xx] & NFA_EE_AE_ROUTE) in nfa_ee_update_route_aid_size()
198 start_offset += p_cb->aid_len[xx]; in nfa_ee_update_route_aid_size()
215 int xx; in nfa_ee_total_lmrt_size() local
223 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb--) in nfa_ee_total_lmrt_size()
277 int len = 0, xx; in nfa_ee_find_total_aid_len() local
281 for (xx = start_entry; xx < p_cb->aid_entries; xx++) in nfa_ee_find_total_aid_len()
283 len += p_cb->aid_len[xx]; in nfa_ee_find_total_aid_len()
304 int xx, yy, aid_len_offset, offset; in nfa_ee_find_aid_offset() local
314 for (xx = 0; xx < p_ecb->aid_entries; xx++) in nfa_ee_find_aid_offset()
323 *p_entry = xx; in nfa_ee_find_aid_offset()
326 offset += p_ecb->aid_len[xx]; in nfa_ee_find_aid_offset()
352 int xx; in nfa_ee_report_event() local
361 for (xx = 0; xx < NFA_EE_MAX_CBACKS; xx++) in nfa_ee_report_event()
363 if (nfa_ee_cb.p_ee_cback[xx] != NULL) in nfa_ee_report_event()
365 (*nfa_ee_cb.p_ee_cback[xx])(event, p_data); in nfa_ee_report_event()
426 int xx; in nfa_ee_api_register() local
433 for (xx = 0; xx < NFA_EE_MAX_CBACKS; xx++) in nfa_ee_api_register()
435 if (nfa_ee_cb.p_ee_cback[xx] == p_cback) in nfa_ee_api_register()
446 for (xx = 0; xx < NFA_EE_MAX_CBACKS; xx++) in nfa_ee_api_register()
448 if (nfa_ee_cb.p_ee_cback[xx] == NULL) in nfa_ee_api_register()
450 nfa_ee_cb.p_ee_cback[xx] = p_cback; in nfa_ee_api_register()
855 int xx; in nfa_ee_api_connect() local
861 for (xx = 0; xx < p_cb->num_interface; xx++) in nfa_ee_api_connect()
863 if (p_data->connect.ee_interface == p_cb->ee_interface[xx]) in nfa_ee_api_connect()
1007 int xx; in nfa_ee_restore_ntf_done() local
1010 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb++) in nfa_ee_restore_ntf_done()
1034 int xx, num_removed = 0; in nfa_ee_remove_pending() local
1038 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb++) in nfa_ee_remove_pending()
1045 first_removed = xx; in nfa_ee_remove_pending()
1088 UINT8 xx; in nfa_ee_nci_disc_rsp() local
1119 for (xx = nfa_ee_cb.cur_ee; xx < num_nfcee; xx++, p_cb++) in nfa_ee_nci_disc_rsp()
1333 UINT32 xx; in nfa_ee_check_restore_complete() local
1338 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb++) in nfa_ee_check_restore_complete()
1377 UINT8 xx; in nfa_ee_build_discover_req_evt() local
1386 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb++) in nfa_ee_build_discover_req_evt()
1713 UINT8 xx; in nfa_ee_nci_disc_req_ntf() local
1717 for (xx = 0; xx < p_cbk->num_info; xx++) in nfa_ee_nci_disc_req_ntf()
1719 ee_handle = NFA_HANDLE_GROUP_EE|p_cbk->info[xx].nfcee_id; in nfa_ee_nci_disc_req_ntf()
1721 p_cb = nfa_ee_find_ecb (p_cbk->info[xx].nfcee_id); in nfa_ee_nci_disc_req_ntf()
1724 NFA_TRACE_DEBUG1 ("Cannot find cb for NFCEE: 0x%x", p_cbk->info[xx].nfcee_id); in nfa_ee_nci_disc_req_ntf()
1728 p_cb->nfcee_id = p_cbk->info[xx].nfcee_id; in nfa_ee_nci_disc_req_ntf()
1733 NFA_TRACE_ERROR1 ("Cannot allocate cb for NFCEE: 0x%x", p_cbk->info[xx].nfcee_id); in nfa_ee_nci_disc_req_ntf()
1743 if (p_cbk->info[xx].op == NFC_EE_DISC_OP_ADD) in nfa_ee_nci_disc_req_ntf()
1745 if (p_cbk->info[xx].tech_n_mode == NFC_DISCOVERY_TYPE_LISTEN_A) in nfa_ee_nci_disc_req_ntf()
1747 p_cb->la_protocol = p_cbk->info[xx].protocol; in nfa_ee_nci_disc_req_ntf()
1749 else if (p_cbk->info[xx].tech_n_mode == NFC_DISCOVERY_TYPE_LISTEN_B) in nfa_ee_nci_disc_req_ntf()
1751 p_cb->lb_protocol = p_cbk->info[xx].protocol; in nfa_ee_nci_disc_req_ntf()
1753 else if (p_cbk->info[xx].tech_n_mode == NFC_DISCOVERY_TYPE_LISTEN_F) in nfa_ee_nci_disc_req_ntf()
1755 p_cb->lf_protocol = p_cbk->info[xx].protocol; in nfa_ee_nci_disc_req_ntf()
1757 else if (p_cbk->info[xx].tech_n_mode == NFC_DISCOVERY_TYPE_LISTEN_B_PRIME) in nfa_ee_nci_disc_req_ntf()
1759 p_cb->lbp_protocol = p_cbk->info[xx].protocol; in nfa_ee_nci_disc_req_ntf()
1767 if (p_cbk->info[xx].tech_n_mode == NFC_DISCOVERY_TYPE_LISTEN_A) in nfa_ee_nci_disc_req_ntf()
1771 else if (p_cbk->info[xx].tech_n_mode == NFC_DISCOVERY_TYPE_LISTEN_B) in nfa_ee_nci_disc_req_ntf()
1775 else if (p_cbk->info[xx].tech_n_mode == NFC_DISCOVERY_TYPE_LISTEN_F) in nfa_ee_nci_disc_req_ntf()
1779 else if (p_cbk->info[xx].tech_n_mode == NFC_DISCOVERY_TYPE_LISTEN_B_PRIME) in nfa_ee_nci_disc_req_ntf()
1805 int xx; in nfa_ee_is_active() local
1812 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb++) in nfa_ee_is_active()
1839 int xx, yy; in nfa_ee_get_tech_route() local
1851 for (xx = 0; xx < NFA_EE_MAX_TECH_ROUTE; xx++) in nfa_ee_get_tech_route()
1853 p_handles[xx] = NFC_DH_ID; in nfa_ee_get_tech_route()
1862 if (p_cb->tech_switch_on & tech_mask_list[xx]) in nfa_ee_get_tech_route()
1863 p_handles[xx] = p_cb->nfcee_id; in nfa_ee_get_tech_route()
1866 if (p_cb->tech_switch_off & tech_mask_list[xx]) in nfa_ee_get_tech_route()
1867 p_handles[xx] = p_cb->nfcee_id; in nfa_ee_get_tech_route()
1870 if (p_cb->tech_battery_off & tech_mask_list[xx]) in nfa_ee_get_tech_route()
1871 p_handles[xx] = p_cb->nfcee_id; in nfa_ee_get_tech_route()
1926 int xx; in nfa_ee_route_add_one_ecb() local
1946 for (xx = 0; xx < NFA_EE_NUM_TECH; xx++) in nfa_ee_route_add_one_ecb()
1949 if (p_cb->tech_switch_on & nfa_ee_tech_mask_list[xx]) in nfa_ee_route_add_one_ecb()
1951 if (p_cb->tech_switch_off & nfa_ee_tech_mask_list[xx]) in nfa_ee_route_add_one_ecb()
1953 if (p_cb->tech_battery_off & nfa_ee_tech_mask_list[xx]) in nfa_ee_route_add_one_ecb()
1961 *pp++ = nfa_ee_tech_list[xx]; in nfa_ee_route_add_one_ecb()
1969 for (xx = 0; xx < NFA_EE_NUM_PROTO; xx++) in nfa_ee_route_add_one_ecb()
1972 if (p_cb->proto_switch_on & nfa_ee_proto_mask_list[xx]) in nfa_ee_route_add_one_ecb()
1974 if (p_cb->proto_switch_off & nfa_ee_proto_mask_list[xx]) in nfa_ee_route_add_one_ecb()
1976 if (p_cb->proto_battery_off & nfa_ee_proto_mask_list[xx]) in nfa_ee_route_add_one_ecb()
1984 *pp++ = nfa_ee_proto_list[xx]; in nfa_ee_route_add_one_ecb()
2010 for (xx = 0; xx < p_cb->aid_entries; xx++) in nfa_ee_route_add_one_ecb()
2014 if (p_cb->aid_rt_info[xx] & NFA_EE_AE_ROUTE) in nfa_ee_route_add_one_ecb()
2023 *pp++ = p_cb->aid_pwr_cfg[xx]; in nfa_ee_route_add_one_ecb()
2028 start_offset += p_cb->aid_len[xx]; in nfa_ee_route_add_one_ecb()
2133 UINT32 xx; in nfa_ee_need_recfg() local
2149 for (xx = 0; xx <= nfa_ee_cb.cur_ee; xx++) in nfa_ee_need_recfg()
2151 … NFA_TRACE_DEBUG3("%d: ecb_flags : 0x%02x, mask: 0x%02x", xx, p_cb->ecb_flags , mask); in nfa_ee_need_recfg()
2157 p_cb = &nfa_ee_cb.ecb[xx]; in nfa_ee_need_recfg()
2158 mask = 1 << xx; in nfa_ee_need_recfg()
2231 int xx; in nfa_ee_lmrt_to_nfcc() local
2252 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb--) in nfa_ee_lmrt_to_nfcc()
2282 for (xx = 0; (xx < nfa_ee_cb.cur_ee) && more; xx++, p_cb++) in nfa_ee_lmrt_to_nfcc()
2317 int xx; in nfa_ee_update_rout() local
2332 for (xx = 0; xx < NFA_EE_NUM_ECBS; xx++, p_cb++) in nfa_ee_update_rout()
2335 mask = (1 << xx); in nfa_ee_update_rout()