Home
last modified time | relevance | path

Searched refs:uid_skb (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/nfc/pn544/
Dpn544.c506 struct sk_buff *uid_skb; in pn544_hci_complete_target_discovered() local
530 PN544_FELICA_ID, &uid_skb); in pn544_hci_complete_target_discovered()
534 if (uid_skb->len != 8) { in pn544_hci_complete_target_discovered()
535 kfree_skb(uid_skb); in pn544_hci_complete_target_discovered()
540 if ((uid_skb->data[0] == 0x01) && (uid_skb->data[1] == 0xfe)) { in pn544_hci_complete_target_discovered()
541 kfree_skb(uid_skb); in pn544_hci_complete_target_discovered()
555 uid_skb->data, uid_skb->len, NULL); in pn544_hci_complete_target_discovered()
556 kfree_skb(uid_skb); in pn544_hci_complete_target_discovered()
/kernel/linux/linux-5.10/drivers/nfc/st21nfca/
Dcore.c550 struct sk_buff *uid_skb = NULL; in st21nfca_get_iso14443_3_uid() local
553 ST21NFCA_RF_READER_14443_3_A_UID, &uid_skb); in st21nfca_get_iso14443_3_uid()
557 if (uid_skb->len == 0 || uid_skb->len > NFC_NFCID1_MAXSIZE) { in st21nfca_get_iso14443_3_uid()
562 memcpy(uid, uid_skb->data, uid_skb->len); in st21nfca_get_iso14443_3_uid()
563 *len = uid_skb->len; in st21nfca_get_iso14443_3_uid()
565 kfree_skb(uid_skb); in st21nfca_get_iso14443_3_uid()
/kernel/linux/linux-5.10/net/nfc/hci/
Dcore.c289 struct sk_buff *uid_skb = NULL; in nfc_hci_target_discovered() local
326 NFC_HCI_RF_READER_A_UID, &uid_skb); in nfc_hci_target_discovered()
330 if (uid_skb->len == 0 || uid_skb->len > NFC_NFCID1_MAXSIZE) { in nfc_hci_target_discovered()
335 memcpy(targets->nfcid1, uid_skb->data, uid_skb->len); in nfc_hci_target_discovered()
336 targets->nfcid1_len = uid_skb->len; in nfc_hci_target_discovered()
375 kfree_skb(uid_skb); in nfc_hci_target_discovered()