Home
last modified time | relevance | path

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

/Linux-v4.19/net/nfc/nci/
Dhci.c440 struct sk_buff *hcp_skb; in nci_hci_data_received_cb() local
468 hcp_skb = nfc_alloc_recv_skb(NCI_HCI_HCP_PACKET_HEADER_LEN + in nci_hci_data_received_cb()
470 if (!hcp_skb) { in nci_hci_data_received_cb()
475 skb_put_u8(hcp_skb, pipe); in nci_hci_data_received_cb()
479 skb_put_data(hcp_skb, in nci_hci_data_received_cb()
487 hcp_skb = skb; in nci_hci_data_received_cb()
494 packet = (struct nci_hcp_packet *)hcp_skb->data; in nci_hci_data_received_cb()
498 skb_pull(hcp_skb, NCI_HCI_HCP_PACKET_HEADER_LEN); in nci_hci_data_received_cb()
500 NCI_STATUS_OK, hcp_skb); in nci_hci_data_received_cb()
502 skb_queue_tail(&ndev->hci_dev->msg_rx_queue, hcp_skb); in nci_hci_data_received_cb()
/Linux-v4.19/net/nfc/hci/
Dcore.c858 struct sk_buff *hcp_skb; in nfc_hci_recv_from_llc() local
880 hcp_skb = nfc_alloc_recv_skb(NFC_HCI_HCP_PACKET_HEADER_LEN + in nfc_hci_recv_from_llc()
882 if (hcp_skb == NULL) { in nfc_hci_recv_from_llc()
887 skb_put_u8(hcp_skb, pipe); in nfc_hci_recv_from_llc()
891 skb_put_data(hcp_skb, in nfc_hci_recv_from_llc()
899 hcp_skb = skb; in nfc_hci_recv_from_llc()
906 packet = (struct hcp_packet *)hcp_skb->data; in nfc_hci_recv_from_llc()
911 skb_pull(hcp_skb, NFC_HCI_HCP_PACKET_HEADER_LEN + in nfc_hci_recv_from_llc()
913 nfc_hci_hcp_message_rx(hdev, pipe, type, instruction, hcp_skb); in nfc_hci_recv_from_llc()
915 skb_queue_tail(&hdev->msg_rx_queue, hcp_skb); in nfc_hci_recv_from_llc()