Lines Matching refs:nfca_poll

112 					struct rf_tech_specific_params_nfca_poll *nfca_poll,  in nci_extract_rf_params_nfca_passive_poll()  argument
115 nfca_poll->sens_res = __le16_to_cpu(*((__le16 *)data)); in nci_extract_rf_params_nfca_passive_poll()
118 nfca_poll->nfcid1_len = min_t(__u8, *data++, NFC_NFCID1_MAXSIZE); in nci_extract_rf_params_nfca_passive_poll()
121 nfca_poll->sens_res, nfca_poll->nfcid1_len); in nci_extract_rf_params_nfca_passive_poll()
123 memcpy(nfca_poll->nfcid1, data, nfca_poll->nfcid1_len); in nci_extract_rf_params_nfca_passive_poll()
124 data += nfca_poll->nfcid1_len; in nci_extract_rf_params_nfca_passive_poll()
126 nfca_poll->sel_res_len = *data++; in nci_extract_rf_params_nfca_passive_poll()
128 if (nfca_poll->sel_res_len != 0) in nci_extract_rf_params_nfca_passive_poll()
129 nfca_poll->sel_res = *data++; in nci_extract_rf_params_nfca_passive_poll()
132 nfca_poll->sel_res_len, in nci_extract_rf_params_nfca_passive_poll()
133 nfca_poll->sel_res); in nci_extract_rf_params_nfca_passive_poll()
208 const struct rf_tech_specific_params_nfca_poll *nfca_poll; in nci_add_new_protocol() local
238 nfca_poll = (struct rf_tech_specific_params_nfca_poll *)params; in nci_add_new_protocol()
240 target->sens_res = nfca_poll->sens_res; in nci_add_new_protocol()
241 target->sel_res = nfca_poll->sel_res; in nci_add_new_protocol()
242 target->nfcid1_len = nfca_poll->nfcid1_len; in nci_add_new_protocol()
246 memcpy(target->nfcid1, nfca_poll->nfcid1, in nci_add_new_protocol()
354 &(ntf.rf_tech_specific_params.nfca_poll), data); in nci_rf_discover_ntf_packet()
399 struct activation_params_nfca_poll_iso_dep *nfca_poll; in nci_extract_activation_params_iso_dep() local
404 nfca_poll = &ntf->activation_params.nfca_poll_iso_dep; in nci_extract_activation_params_iso_dep()
405 nfca_poll->rats_res_len = min_t(__u8, *data++, 20); in nci_extract_activation_params_iso_dep()
406 pr_debug("rats_res_len %d\n", nfca_poll->rats_res_len); in nci_extract_activation_params_iso_dep()
407 if (nfca_poll->rats_res_len > 0) { in nci_extract_activation_params_iso_dep()
408 memcpy(nfca_poll->rats_res, in nci_extract_activation_params_iso_dep()
409 data, nfca_poll->rats_res_len); in nci_extract_activation_params_iso_dep()
573 &(ntf.rf_tech_specific_params.nfca_poll), data); in nci_rf_intf_activated_ntf_packet()