Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/nfc/microread/
Dmicroread.c504 targets->nfcid1_len = skb->data[MICROREAD_EMCF_A_LEN]; in microread_target_discovered()
505 if (targets->nfcid1_len > sizeof(targets->nfcid1)) { in microread_target_discovered()
510 targets->nfcid1_len); in microread_target_discovered()
518 targets->nfcid1_len = skb->data[MICROREAD_EMCF_A3_LEN]; in microread_target_discovered()
519 if (targets->nfcid1_len > sizeof(targets->nfcid1)) { in microread_target_discovered()
524 targets->nfcid1_len); in microread_target_discovered()
529 targets->nfcid1_len = 4; in microread_target_discovered()
536 targets->nfcid1_len = 4; in microread_target_discovered()
541 targets->nfcid1_len = 8; in microread_target_discovered()
/Linux-v4.19/net/nfc/nci/
Dntf.c112 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()
232 target->nfcid1_len = nfca_poll->nfcid1_len; in nci_add_new_protocol()
233 if (target->nfcid1_len > 0) { in nci_add_new_protocol()
235 target->nfcid1_len); in nci_add_new_protocol()
/Linux-v4.19/drivers/nfc/pn544/
Dpn544.c532 if (target->nfcid1_len != 4 && target->nfcid1_len != 7 && in pn544_hci_complete_target_discovered()
533 target->nfcid1_len != 10) in pn544_hci_complete_target_discovered()
538 target->nfcid1, target->nfcid1_len, NULL); in pn544_hci_complete_target_discovered()
703 if (target->nfcid1_len != 4 && target->nfcid1_len != 7 && in pn544_hci_check_presence()
704 target->nfcid1_len != 10) in pn544_hci_check_presence()
709 target->nfcid1, target->nfcid1_len, NULL); in pn544_hci_check_presence()
/Linux-v4.19/net/nfc/
Ddigital_technology.c366 if (target->nfcid1_len <= 4) in digital_in_send_sel_req()
368 else if (target->nfcid1_len < 10) in digital_in_send_sel_req()
436 memcpy(target->nfcid1 + target->nfcid1_len, sdd_res->nfcid1 + offset, in digital_in_recv_sdd_res()
438 target->nfcid1_len += size; in digital_in_recv_sdd_res()
467 if (target->nfcid1_len == 0) in digital_in_send_sdd_req()
469 else if (target->nfcid1_len == 3) in digital_in_send_sdd_req()
Dnetlink.c86 if (target->nfcid1_len > 0 && in nfc_genl_send_target()
87 nla_put(msg, NFC_ATTR_TARGET_NFCID1, target->nfcid1_len, in nfc_genl_send_target()
/Linux-v4.19/drivers/nfc/pn533/
Dpn533.c726 nfc_tgt->nfcid1_len = tgt_type_a->nfcid_len; in pn533_target_found_type_a()
727 memcpy(nfc_tgt->nfcid1, tgt_type_a->nfcid_data, nfc_tgt->nfcid1_len); in pn533_target_found_type_a()
820 nfc_tgt->nfcid1_len = 4; in pn533_target_found_jewel()
821 memcpy(nfc_tgt->nfcid1, tgt_jewel->jewelid, nfc_tgt->nfcid1_len); in pn533_target_found_jewel()
1319 nfc_target.nfcid1_len = 10; in pn533_poll_dep_complete()
1320 memcpy(nfc_target.nfcid1, rsp->nfcid3t, nfc_target.nfcid1_len); in pn533_poll_dep_complete()
1787 nfc_target.nfcid1_len = 10; in pn533_in_dep_link_up_complete()
1788 memcpy(nfc_target.nfcid1, rsp->nfcid3t, nfc_target.nfcid1_len); in pn533_in_dep_link_up_complete()
/Linux-v4.19/include/net/nfc/
Dnfc.h107 u8 nfcid1_len; member
Dnci.h409 __u8 nfcid1_len; /* 0, 4, 7, or 10 Bytes */ member
/Linux-v4.19/drivers/nfc/st21nfca/
Dcore.c665 target->nfcid1_len = len; in st21nfca_hci_target_from_gate()
/Linux-v4.19/net/nfc/hci/
Dcore.c341 targets->nfcid1_len = uid_skb->len; in nfc_hci_target_discovered()