Home
last modified time | relevance | path

Searched refs:hcp_skb (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/net/nfc/nci/
Dhci.c431 struct sk_buff *hcp_skb; in nci_hci_data_received_cb() local
457 hcp_skb = nfc_alloc_recv_skb(NCI_HCI_HCP_PACKET_HEADER_LEN + in nci_hci_data_received_cb()
459 if (!hcp_skb) { in nci_hci_data_received_cb()
464 skb_put_u8(hcp_skb, pipe); in nci_hci_data_received_cb()
468 skb_put_data(hcp_skb, in nci_hci_data_received_cb()
476 hcp_skb = skb; in nci_hci_data_received_cb()
483 packet = (struct nci_hcp_packet *)hcp_skb->data; in nci_hci_data_received_cb()
487 skb_pull(hcp_skb, NCI_HCI_HCP_PACKET_HEADER_LEN); in nci_hci_data_received_cb()
489 NCI_STATUS_OK, hcp_skb); in nci_hci_data_received_cb()
491 skb_queue_tail(&ndev->hci_dev->msg_rx_queue, hcp_skb); in nci_hci_data_received_cb()
/linux-6.1.9/net/nfc/hci/
Dcore.c859 struct sk_buff *hcp_skb; in nfc_hci_recv_from_llc() local
881 hcp_skb = nfc_alloc_recv_skb(NFC_HCI_HCP_PACKET_HEADER_LEN + in nfc_hci_recv_from_llc()
883 if (hcp_skb == NULL) { in nfc_hci_recv_from_llc()
888 skb_put_u8(hcp_skb, pipe); in nfc_hci_recv_from_llc()
892 skb_put_data(hcp_skb, in nfc_hci_recv_from_llc()
900 hcp_skb = skb; in nfc_hci_recv_from_llc()
907 packet = (struct hcp_packet *)hcp_skb->data; in nfc_hci_recv_from_llc()
912 skb_pull(hcp_skb, NFC_HCI_HCP_PACKET_HEADER_LEN + in nfc_hci_recv_from_llc()
914 nfc_hci_hcp_message_rx(hdev, pipe, type, instruction, hcp_skb); in nfc_hci_recv_from_llc()
916 skb_queue_tail(&hdev->msg_rx_queue, hcp_skb); in nfc_hci_recv_from_llc()