Home
last modified time | relevance | path

Searched refs:nfcid1_len (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/drivers/nfc/microread/
Dmicroread.c491 targets->nfcid1_len = skb->data[MICROREAD_EMCF_A_LEN]; in microread_target_discovered()
492 if (targets->nfcid1_len > sizeof(targets->nfcid1)) { in microread_target_discovered()
497 targets->nfcid1_len); in microread_target_discovered()
505 targets->nfcid1_len = skb->data[MICROREAD_EMCF_A3_LEN]; in microread_target_discovered()
506 if (targets->nfcid1_len > sizeof(targets->nfcid1)) { in microread_target_discovered()
511 targets->nfcid1_len); in microread_target_discovered()
516 targets->nfcid1_len = 4; in microread_target_discovered()
523 targets->nfcid1_len = 4; in microread_target_discovered()
528 targets->nfcid1_len = 8; in microread_target_discovered()
/Linux-v6.6/net/nfc/nci/
Dntf.c118 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()
242 target->nfcid1_len = nfca_poll->nfcid1_len; in nci_add_new_protocol()
243 if (target->nfcid1_len > ARRAY_SIZE(target->nfcid1)) in nci_add_new_protocol()
245 if (target->nfcid1_len > 0) { in nci_add_new_protocol()
247 target->nfcid1_len); in nci_add_new_protocol()
/Linux-v6.6/drivers/nfc/pn544/
Dpn544.c520 if (target->nfcid1_len != 4 && target->nfcid1_len != 7 && in pn544_hci_complete_target_discovered()
521 target->nfcid1_len != 10) in pn544_hci_complete_target_discovered()
526 target->nfcid1, target->nfcid1_len, NULL); in pn544_hci_complete_target_discovered()
691 if (target->nfcid1_len != 4 && target->nfcid1_len != 7 && in pn544_hci_check_presence()
692 target->nfcid1_len != 10) in pn544_hci_check_presence()
697 target->nfcid1, target->nfcid1_len, NULL); in pn544_hci_check_presence()
/Linux-v6.6/net/nfc/
Ddigital_technology.c357 if (target->nfcid1_len <= 4) in digital_in_send_sel_req()
359 else if (target->nfcid1_len < 10) in digital_in_send_sel_req()
427 memcpy(target->nfcid1 + target->nfcid1_len, sdd_res->nfcid1 + offset, in digital_in_recv_sdd_res()
429 target->nfcid1_len += size; in digital_in_recv_sdd_res()
458 if (target->nfcid1_len == 0) in digital_in_send_sdd_req()
460 else if (target->nfcid1_len == 3) in digital_in_send_sdd_req()
Dnetlink.c78 if (target->nfcid1_len > 0 && in nfc_genl_send_target()
79 nla_put(msg, NFC_ATTR_TARGET_NFCID1, target->nfcid1_len, in nfc_genl_send_target()
/Linux-v6.6/drivers/nfc/pn533/
Dpn533.c735 nfc_tgt->nfcid1_len = tgt_type_a->nfcid_len; in pn533_target_found_type_a()
736 memcpy(nfc_tgt->nfcid1, tgt_type_a->nfcid_data, nfc_tgt->nfcid1_len); in pn533_target_found_type_a()
829 nfc_tgt->nfcid1_len = 4; in pn533_target_found_jewel()
830 memcpy(nfc_tgt->nfcid1, tgt_jewel->jewelid, nfc_tgt->nfcid1_len); in pn533_target_found_jewel()
1314 nfc_target.nfcid1_len = 10; in pn533_poll_dep_complete()
1315 memcpy(nfc_target.nfcid1, rsp->nfcid3t, nfc_target.nfcid1_len); in pn533_poll_dep_complete()
1934 nfc_target.nfcid1_len = 10; in pn533_in_dep_link_up_complete()
1935 memcpy(nfc_target.nfcid1, rsp->nfcid3t, nfc_target.nfcid1_len); in pn533_in_dep_link_up_complete()
/Linux-v6.6/include/net/nfc/
Dnfc.h95 u8 nfcid1_len; member
Dnci.h431 __u8 nfcid1_len; /* 0, 4, 7, or 10 Bytes */ member
/Linux-v6.6/drivers/nfc/st21nfca/
Dcore.c653 target->nfcid1_len = len; in st21nfca_hci_target_from_gate()
/Linux-v6.6/net/nfc/hci/
Dcore.c336 targets->nfcid1_len = uid_skb->len; in nfc_hci_target_discovered()