Searched refs:hcp_skb (Results 1 – 2 of 2) sorted by relevance
/linux-4.4.14/net/nfc/nci/ |
D | hci.c | 440 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(hcp_skb, NCI_HCI_HCP_PACKET_HEADER_LEN) = pipe; in nci_hci_data_received_cb() 479 memcpy(skb_put(hcp_skb, msg_len), frag_skb->data + in nci_hci_data_received_cb() 486 hcp_skb = skb; in nci_hci_data_received_cb() 493 packet = (struct nci_hcp_packet *)hcp_skb->data; in nci_hci_data_received_cb() 497 skb_pull(hcp_skb, NCI_HCI_HCP_PACKET_HEADER_LEN); in nci_hci_data_received_cb() 499 NCI_STATUS_OK, hcp_skb); in nci_hci_data_received_cb() 501 skb_queue_tail(&ndev->hci_dev->msg_rx_queue, hcp_skb); in nci_hci_data_received_cb()
|
/linux-4.4.14/net/nfc/hci/ |
D | core.c | 848 struct sk_buff *hcp_skb; in nfc_hci_recv_from_llc() local 870 hcp_skb = nfc_alloc_recv_skb(NFC_HCI_HCP_PACKET_HEADER_LEN + in nfc_hci_recv_from_llc() 872 if (hcp_skb == NULL) { in nfc_hci_recv_from_llc() 877 *skb_put(hcp_skb, NFC_HCI_HCP_PACKET_HEADER_LEN) = pipe; in nfc_hci_recv_from_llc() 881 memcpy(skb_put(hcp_skb, msg_len), in nfc_hci_recv_from_llc() 889 hcp_skb = skb; in nfc_hci_recv_from_llc() 896 packet = (struct hcp_packet *)hcp_skb->data; in nfc_hci_recv_from_llc() 901 skb_pull(hcp_skb, NFC_HCI_HCP_PACKET_HEADER_LEN + in nfc_hci_recv_from_llc() 903 nfc_hci_hcp_message_rx(hdev, pipe, type, instruction, hcp_skb); in nfc_hci_recv_from_llc() 905 skb_queue_tail(&hdev->msg_rx_queue, hcp_skb); in nfc_hci_recv_from_llc()
|