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

/linux-4.1.27/net/nfc/nci/
H A Dhci.c423 struct sk_buff *hcp_skb; nci_hci_data_received_cb() local
451 hcp_skb = nfc_alloc_recv_skb(NCI_HCI_HCP_PACKET_HEADER_LEN + nci_hci_data_received_cb()
453 if (!hcp_skb) { nci_hci_data_received_cb()
458 *skb_put(hcp_skb, NCI_HCI_HCP_PACKET_HEADER_LEN) = pipe; nci_hci_data_received_cb()
462 memcpy(skb_put(hcp_skb, msg_len), frag_skb->data + nci_hci_data_received_cb()
469 hcp_skb = skb; nci_hci_data_received_cb()
476 packet = (struct nci_hcp_packet *)hcp_skb->data; nci_hci_data_received_cb()
480 skb_pull(hcp_skb, NCI_HCI_HCP_PACKET_HEADER_LEN); nci_hci_data_received_cb()
482 NCI_STATUS_OK, hcp_skb); nci_hci_data_received_cb()
484 skb_queue_tail(&ndev->hci_dev->msg_rx_queue, hcp_skb); nci_hci_data_received_cb()
/linux-4.1.27/net/nfc/hci/
H A Dcore.c847 struct sk_buff *hcp_skb; nfc_hci_recv_from_llc() local
869 hcp_skb = nfc_alloc_recv_skb(NFC_HCI_HCP_PACKET_HEADER_LEN + nfc_hci_recv_from_llc()
871 if (hcp_skb == NULL) { nfc_hci_recv_from_llc()
876 *skb_put(hcp_skb, NFC_HCI_HCP_PACKET_HEADER_LEN) = pipe; nfc_hci_recv_from_llc()
880 memcpy(skb_put(hcp_skb, msg_len), nfc_hci_recv_from_llc()
888 hcp_skb = skb; nfc_hci_recv_from_llc()
895 packet = (struct hcp_packet *)hcp_skb->data; nfc_hci_recv_from_llc()
900 skb_pull(hcp_skb, NFC_HCI_HCP_PACKET_HEADER_LEN + nfc_hci_recv_from_llc()
902 nfc_hci_hcp_message_rx(hdev, pipe, type, instruction, hcp_skb); nfc_hci_recv_from_llc()
904 skb_queue_tail(&hdev->msg_rx_queue, hcp_skb); nfc_hci_recv_from_llc()

Completed in 84 milliseconds