Lines Matching refs:xx
397 uint8_t params[250], *p, xx; in nfa_dm_set_rf_listen_mode_raw_config() local
503 for (xx = 0; xx < NFA_LF_MAX_SC_NFCID2; xx++) { in nfa_dm_set_rf_listen_mode_raw_config()
504 if ((p_cfg->lf_t3t_flags & (0x0001 << xx)) != 0x0000) { in nfa_dm_set_rf_listen_mode_raw_config()
505 UINT8_TO_STREAM(p, NFC_PMID_LF_T3T_ID1 + xx); in nfa_dm_set_rf_listen_mode_raw_config()
507 ARRAY_TO_STREAM(p, p_cfg->lf_t3t_identifier[xx], in nfa_dm_set_rf_listen_mode_raw_config()
882 uint8_t num_params, xx; in nfa_dm_start_rf_discover() local
902 for (xx = 0; xx < NFA_DM_DISC_NUM_ENTRIES; xx++) { in nfa_dm_start_rf_discover()
903 if (nfa_dm_cb.disc_cb.entry[xx].in_use) { in nfa_dm_start_rf_discover()
904 poll_mask = (nfa_dm_cb.disc_cb.entry[xx].requested_disc_mask & in nfa_dm_start_rf_discover()
919 if (nfa_dm_cb.disc_cb.entry[xx].host_id == in nfa_dm_start_rf_discover()
922 nfa_dm_cb.disc_cb.entry[xx].requested_disc_mask & in nfa_dm_start_rf_discover()
926 listen_mask |= nfa_dm_cb.disc_cb.entry[xx].requested_disc_mask & in nfa_dm_start_rf_discover()
929 listen_mask |= nfa_dm_cb.disc_cb.entry[xx].requested_disc_mask & in nfa_dm_start_rf_discover()
934 listen_mask |= (nfa_dm_cb.disc_cb.entry[xx].requested_disc_mask & in nfa_dm_start_rf_discover()
937 listen_mask |= (nfa_dm_cb.disc_cb.entry[xx].requested_disc_mask & in nfa_dm_start_rf_discover()
940 listen_mask |= (nfa_dm_cb.disc_cb.entry[xx].requested_disc_mask & in nfa_dm_start_rf_discover()
943 listen_mask |= (nfa_dm_cb.disc_cb.entry[xx].requested_disc_mask & in nfa_dm_start_rf_discover()
950 listen_mask |= nfa_dm_cb.disc_cb.entry[xx].requested_disc_mask & in nfa_dm_start_rf_discover()
956 listen_mask |= nfa_dm_cb.disc_cb.entry[xx].requested_disc_mask & in nfa_dm_start_rf_discover()
959 listen_mask |= nfa_dm_cb.disc_cb.entry[xx].requested_disc_mask & in nfa_dm_start_rf_discover()
963 if (nfa_dm_cb.disc_cb.entry[xx].host_id == in nfa_dm_start_rf_discover()
965 listen_mask |= nfa_dm_cb.disc_cb.entry[xx].requested_disc_mask & in nfa_dm_start_rf_discover()
1009 nfa_dm_cb.disc_cb.entry[xx].selected_disc_mask = in nfa_dm_start_rf_discover()
1013 "nfa_dm_cb.disc_cb.entry[%d].selected_disc_mask = 0x%x", xx, in nfa_dm_start_rf_discover()
1014 nfa_dm_cb.disc_cb.entry[xx].selected_disc_mask); in nfa_dm_start_rf_discover()
1016 dm_disc_mask |= nfa_dm_cb.disc_cb.entry[xx].selected_disc_mask; in nfa_dm_start_rf_discover()
1184 uint8_t xx, host_id_in_LRT; in nfa_dm_disc_notify_activation() local
1221 for (xx = 0; xx < NFA_DM_DISC_NUM_ENTRIES; xx++) { in nfa_dm_disc_notify_activation()
1222 if ((nfa_dm_cb.disc_cb.entry[xx].in_use) && in nfa_dm_disc_notify_activation()
1223 (nfa_dm_cb.disc_cb.entry[xx].host_id != NFA_DM_DISC_HOST_ID_DH)) { in nfa_dm_disc_notify_activation()
1228 nfa_dm_cb.disc_cb.activated_handle = xx; in nfa_dm_disc_notify_activation()
1235 if (nfa_dm_cb.disc_cb.entry[xx].p_disc_cback) in nfa_dm_disc_notify_activation()
1236 (*(nfa_dm_cb.disc_cb.entry[xx].p_disc_cback))( in nfa_dm_disc_notify_activation()
1267 for (xx = 0; xx < NFA_DM_DISC_NUM_ENTRIES; xx++) { in nfa_dm_disc_notify_activation()
1269 if (nfa_dm_cb.disc_cb.entry[xx].in_use) { in nfa_dm_disc_notify_activation()
1270 if (nfa_dm_cb.disc_cb.entry[xx].host_id == host_id_in_LRT) { in nfa_dm_disc_notify_activation()
1271 if (nfa_dm_cb.disc_cb.entry[xx].selected_disc_mask & in nfa_dm_disc_notify_activation()
1278 (nfa_dm_cb.disc_cb.entry[xx].selected_disc_mask & in nfa_dm_disc_notify_activation()
1280 iso_dep_t3t__listen = xx; in nfa_dm_disc_notify_activation()
1282 (nfa_dm_cb.disc_cb.entry[xx].selected_disc_mask & in nfa_dm_disc_notify_activation()
1284 iso_dep_t3t__listen = xx; in nfa_dm_disc_notify_activation()
1290 (nfa_dm_cb.disc_cb.entry[xx].selected_disc_mask & in nfa_dm_disc_notify_activation()
1292 iso_dep_t3t__listen = xx; in nfa_dm_disc_notify_activation()
1299 if (xx >= NFA_DM_DISC_NUM_ENTRIES) { in nfa_dm_disc_notify_activation()
1301 xx = iso_dep_t3t__listen; in nfa_dm_disc_notify_activation()
1313 if (xx < NFA_DM_DISC_NUM_ENTRIES) { in nfa_dm_disc_notify_activation()
1318 nfa_dm_cb.disc_cb.activated_handle = xx; in nfa_dm_disc_notify_activation()
1328 p_data, nfa_dm_cb.disc_cb.entry[xx].p_disc_cback)) { in nfa_dm_disc_notify_activation()
1334 if (nfa_dm_cb.disc_cb.entry[xx].p_disc_cback) in nfa_dm_disc_notify_activation()
1335 (*(nfa_dm_cb.disc_cb.entry[xx].p_disc_cback))( in nfa_dm_disc_notify_activation()
1357 tNFA_HANDLE xx; in nfa_dm_disc_notify_deactivation() local
1387 for (xx = 0; xx < NFA_DM_DISC_NUM_ENTRIES; xx++) { in nfa_dm_disc_notify_deactivation()
1388 if ((nfa_dm_cb.disc_cb.entry[xx].in_use) && in nfa_dm_disc_notify_deactivation()
1389 (nfa_dm_cb.disc_cb.entry[xx].selected_disc_mask & in nfa_dm_disc_notify_deactivation()
1392 (*(nfa_dm_cb.disc_cb.entry[xx].p_disc_cback))( in nfa_dm_disc_notify_deactivation()
1399 xx = nfa_dm_cb.disc_cb.activated_handle; in nfa_dm_disc_notify_deactivation()
1408 } else if ((xx < NFA_DM_DISC_NUM_ENTRIES) && in nfa_dm_disc_notify_deactivation()
1409 (nfa_dm_cb.disc_cb.entry[xx].in_use) && in nfa_dm_disc_notify_deactivation()
1410 (nfa_dm_cb.disc_cb.entry[xx].p_disc_cback)) { in nfa_dm_disc_notify_deactivation()
1411 (*(nfa_dm_cb.disc_cb.entry[xx].p_disc_cback))( in nfa_dm_disc_notify_deactivation()
1438 xx = nfa_dm_cb.disc_cb.activated_handle; in nfa_dm_disc_notify_deactivation()
1440 if ((xx < NFA_DM_DISC_NUM_ENTRIES) && in nfa_dm_disc_notify_deactivation()
1441 (nfa_dm_cb.disc_cb.entry[xx].in_use)) { in nfa_dm_disc_notify_deactivation()
1442 if (nfa_dm_cb.disc_cb.entry[xx].p_disc_cback) in nfa_dm_disc_notify_deactivation()
1443 (*(nfa_dm_cb.disc_cb.entry[xx].p_disc_cback))( in nfa_dm_disc_notify_deactivation()
1733 uint8_t xx; in nfa_dm_disc_sm_idle() local
1767 for (xx = 0; xx < NFA_DM_DISC_NUM_ENTRIES; xx++) { in nfa_dm_disc_sm_idle()
1769 if ((nfa_dm_cb.disc_cb.entry[xx].in_use) && in nfa_dm_disc_sm_idle()
1771 nfa_dm_cb.disc_cb.entry[xx].selected_disc_mask) && in nfa_dm_disc_sm_idle()
1772 (nfa_dm_cb.disc_cb.entry[xx].disc_flags & in nfa_dm_disc_sm_idle()
1774 nfa_dm_cb.disc_cb.entry[xx].disc_flags &= in nfa_dm_disc_sm_idle()
1777 if (nfa_dm_cb.disc_cb.entry[xx].p_disc_cback) in nfa_dm_disc_sm_idle()
1778 (*(nfa_dm_cb.disc_cb.entry[xx].p_disc_cback))( in nfa_dm_disc_sm_idle()
2583 uint8_t xx; in nfa_dm_add_rf_discover() local
2587 for (xx = 0; xx < NFA_DM_DISC_NUM_ENTRIES; xx++) { in nfa_dm_add_rf_discover()
2588 if (!nfa_dm_cb.disc_cb.entry[xx].in_use) { in nfa_dm_add_rf_discover()
2589 nfa_dm_cb.disc_cb.entry[xx].in_use = true; in nfa_dm_add_rf_discover()
2590 nfa_dm_cb.disc_cb.entry[xx].requested_disc_mask = disc_mask; in nfa_dm_add_rf_discover()
2591 nfa_dm_cb.disc_cb.entry[xx].host_id = host_id; in nfa_dm_add_rf_discover()
2592 nfa_dm_cb.disc_cb.entry[xx].p_disc_cback = p_disc_cback; in nfa_dm_add_rf_discover()
2593 nfa_dm_cb.disc_cb.entry[xx].disc_flags = NFA_DM_DISC_FLAGS_NOTIFY; in nfa_dm_add_rf_discover()
2594 return xx; in nfa_dm_add_rf_discover()