Lines Matching refs:nfca_poll

94 			struct rf_tech_specific_params_nfca_poll *nfca_poll,  in nci_extract_rf_params_nfca_passive_poll()  argument
97 nfca_poll->sens_res = __le16_to_cpu(*((__le16 *)data)); in nci_extract_rf_params_nfca_passive_poll()
100 nfca_poll->nfcid1_len = min_t(__u8, *data++, NFC_NFCID1_MAXSIZE); in nci_extract_rf_params_nfca_passive_poll()
103 nfca_poll->sens_res, nfca_poll->nfcid1_len); in nci_extract_rf_params_nfca_passive_poll()
105 memcpy(nfca_poll->nfcid1, data, nfca_poll->nfcid1_len); in nci_extract_rf_params_nfca_passive_poll()
106 data += nfca_poll->nfcid1_len; in nci_extract_rf_params_nfca_passive_poll()
108 nfca_poll->sel_res_len = *data++; in nci_extract_rf_params_nfca_passive_poll()
110 if (nfca_poll->sel_res_len != 0) in nci_extract_rf_params_nfca_passive_poll()
111 nfca_poll->sel_res = *data++; in nci_extract_rf_params_nfca_passive_poll()
114 nfca_poll->sel_res_len, in nci_extract_rf_params_nfca_passive_poll()
115 nfca_poll->sel_res); in nci_extract_rf_params_nfca_passive_poll()
186 struct rf_tech_specific_params_nfca_poll *nfca_poll; in nci_add_new_protocol() local
216 nfca_poll = (struct rf_tech_specific_params_nfca_poll *)params; in nci_add_new_protocol()
218 target->sens_res = nfca_poll->sens_res; in nci_add_new_protocol()
219 target->sel_res = nfca_poll->sel_res; in nci_add_new_protocol()
220 target->nfcid1_len = nfca_poll->nfcid1_len; in nci_add_new_protocol()
222 memcpy(target->nfcid1, nfca_poll->nfcid1, in nci_add_new_protocol()
326 &(ntf.rf_tech_specific_params.nfca_poll), data); in nci_rf_discover_ntf_packet()
370 struct activation_params_nfca_poll_iso_dep *nfca_poll; in nci_extract_activation_params_iso_dep() local
375 nfca_poll = &ntf->activation_params.nfca_poll_iso_dep; in nci_extract_activation_params_iso_dep()
376 nfca_poll->rats_res_len = min_t(__u8, *data++, 20); in nci_extract_activation_params_iso_dep()
377 pr_debug("rats_res_len %d\n", nfca_poll->rats_res_len); in nci_extract_activation_params_iso_dep()
378 if (nfca_poll->rats_res_len > 0) { in nci_extract_activation_params_iso_dep()
379 memcpy(nfca_poll->rats_res, in nci_extract_activation_params_iso_dep()
380 data, nfca_poll->rats_res_len); in nci_extract_activation_params_iso_dep()
543 &(ntf.rf_tech_specific_params.nfca_poll), data); in nci_rf_intf_activated_ntf_packet()