Lines Matching refs:nfca_poll
106 struct rf_tech_specific_params_nfca_poll *nfca_poll, in nci_extract_rf_params_nfca_passive_poll() argument
109 nfca_poll->sens_res = __le16_to_cpu(*((__le16 *)data)); in nci_extract_rf_params_nfca_passive_poll()
112 nfca_poll->nfcid1_len = min_t(__u8, *data++, NFC_NFCID1_MAXSIZE); in nci_extract_rf_params_nfca_passive_poll()
115 nfca_poll->sens_res, nfca_poll->nfcid1_len); in nci_extract_rf_params_nfca_passive_poll()
117 memcpy(nfca_poll->nfcid1, data, nfca_poll->nfcid1_len); in nci_extract_rf_params_nfca_passive_poll()
118 data += nfca_poll->nfcid1_len; in nci_extract_rf_params_nfca_passive_poll()
120 nfca_poll->sel_res_len = *data++; in nci_extract_rf_params_nfca_passive_poll()
122 if (nfca_poll->sel_res_len != 0) in nci_extract_rf_params_nfca_passive_poll()
123 nfca_poll->sel_res = *data++; in nci_extract_rf_params_nfca_passive_poll()
126 nfca_poll->sel_res_len, in nci_extract_rf_params_nfca_passive_poll()
127 nfca_poll->sel_res); in nci_extract_rf_params_nfca_passive_poll()
198 struct rf_tech_specific_params_nfca_poll *nfca_poll; in nci_add_new_protocol() local
228 nfca_poll = (struct rf_tech_specific_params_nfca_poll *)params; in nci_add_new_protocol()
230 target->sens_res = nfca_poll->sens_res; in nci_add_new_protocol()
231 target->sel_res = nfca_poll->sel_res; in nci_add_new_protocol()
232 target->nfcid1_len = nfca_poll->nfcid1_len; in nci_add_new_protocol()
234 memcpy(target->nfcid1, nfca_poll->nfcid1, in nci_add_new_protocol()
338 &(ntf.rf_tech_specific_params.nfca_poll), data); in nci_rf_discover_ntf_packet()
382 struct activation_params_nfca_poll_iso_dep *nfca_poll; in nci_extract_activation_params_iso_dep() local
387 nfca_poll = &ntf->activation_params.nfca_poll_iso_dep; in nci_extract_activation_params_iso_dep()
388 nfca_poll->rats_res_len = min_t(__u8, *data++, 20); in nci_extract_activation_params_iso_dep()
389 pr_debug("rats_res_len %d\n", nfca_poll->rats_res_len); in nci_extract_activation_params_iso_dep()
390 if (nfca_poll->rats_res_len > 0) { in nci_extract_activation_params_iso_dep()
391 memcpy(nfca_poll->rats_res, in nci_extract_activation_params_iso_dep()
392 data, nfca_poll->rats_res_len); in nci_extract_activation_params_iso_dep()
555 &(ntf.rf_tech_specific_params.nfca_poll), data); in nci_rf_intf_activated_ntf_packet()