Searched refs:nfcid1_len (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/drivers/nfc/microread/ |
D | microread.c | 493 targets->nfcid1_len = skb->data[MICROREAD_EMCF_A_LEN]; in microread_target_discovered() 494 if (targets->nfcid1_len > sizeof(targets->nfcid1)) { in microread_target_discovered() 499 targets->nfcid1_len); in microread_target_discovered() 507 targets->nfcid1_len = skb->data[MICROREAD_EMCF_A3_LEN]; in microread_target_discovered() 508 if (targets->nfcid1_len > sizeof(targets->nfcid1)) { in microread_target_discovered() 513 targets->nfcid1_len); in microread_target_discovered() 518 targets->nfcid1_len = 4; in microread_target_discovered() 525 targets->nfcid1_len = 4; in microread_target_discovered() 530 targets->nfcid1_len = 8; in microread_target_discovered()
|
/Linux-v5.10/net/nfc/nci/ |
D | ntf.c | 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() 220 target->nfcid1_len = nfca_poll->nfcid1_len; in nci_add_new_protocol() 221 if (target->nfcid1_len > 0) { in nci_add_new_protocol() 223 target->nfcid1_len); in nci_add_new_protocol()
|
/Linux-v5.10/drivers/nfc/pn544/ |
D | pn544.c | 521 if (target->nfcid1_len != 4 && target->nfcid1_len != 7 && in pn544_hci_complete_target_discovered() 522 target->nfcid1_len != 10) in pn544_hci_complete_target_discovered() 527 target->nfcid1, target->nfcid1_len, NULL); in pn544_hci_complete_target_discovered() 692 if (target->nfcid1_len != 4 && target->nfcid1_len != 7 && in pn544_hci_check_presence() 693 target->nfcid1_len != 10) in pn544_hci_check_presence() 698 target->nfcid1, target->nfcid1_len, NULL); in pn544_hci_check_presence()
|
/Linux-v5.10/net/nfc/ |
D | digital_technology.c | 357 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()
|
D | netlink.c | 78 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-v5.10/drivers/nfc/pn533/ |
D | pn533.c | 740 nfc_tgt->nfcid1_len = tgt_type_a->nfcid_len; in pn533_target_found_type_a() 741 memcpy(nfc_tgt->nfcid1, tgt_type_a->nfcid_data, nfc_tgt->nfcid1_len); in pn533_target_found_type_a() 834 nfc_tgt->nfcid1_len = 4; in pn533_target_found_jewel() 835 memcpy(nfc_tgt->nfcid1, tgt_jewel->jewelid, nfc_tgt->nfcid1_len); in pn533_target_found_jewel() 1333 nfc_target.nfcid1_len = 10; in pn533_poll_dep_complete() 1334 memcpy(nfc_target.nfcid1, rsp->nfcid3t, nfc_target.nfcid1_len); in pn533_poll_dep_complete() 1961 nfc_target.nfcid1_len = 10; in pn533_in_dep_link_up_complete() 1962 memcpy(nfc_target.nfcid1, rsp->nfcid3t, nfc_target.nfcid1_len); in pn533_in_dep_link_up_complete()
|
/Linux-v5.10/include/net/nfc/ |
D | nfc.h | 95 u8 nfcid1_len; member
|
D | nci.h | 397 __u8 nfcid1_len; /* 0, 4, 7, or 10 Bytes */ member
|
/Linux-v5.10/drivers/nfc/st21nfca/ |
D | core.c | 654 target->nfcid1_len = len; in st21nfca_hci_target_from_gate()
|
/Linux-v5.10/net/nfc/hci/ |
D | core.c | 336 targets->nfcid1_len = uid_skb->len; in nfc_hci_target_discovered()
|