Searched refs:hcp_skb (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/net/nfc/nci/ |
D | hci.c | 423 struct sk_buff *hcp_skb; in nci_hci_data_received_cb() local 451 hcp_skb = nfc_alloc_recv_skb(NCI_HCI_HCP_PACKET_HEADER_LEN + in nci_hci_data_received_cb() 453 if (!hcp_skb) { in nci_hci_data_received_cb() 458 *skb_put(hcp_skb, NCI_HCI_HCP_PACKET_HEADER_LEN) = pipe; in nci_hci_data_received_cb() 462 memcpy(skb_put(hcp_skb, msg_len), frag_skb->data + in nci_hci_data_received_cb() 469 hcp_skb = skb; in nci_hci_data_received_cb() 476 packet = (struct nci_hcp_packet *)hcp_skb->data; in nci_hci_data_received_cb() 480 skb_pull(hcp_skb, NCI_HCI_HCP_PACKET_HEADER_LEN); in nci_hci_data_received_cb() 482 NCI_STATUS_OK, hcp_skb); in nci_hci_data_received_cb() 484 skb_queue_tail(&ndev->hci_dev->msg_rx_queue, hcp_skb); in nci_hci_data_received_cb()
|
/linux-4.1.27/net/nfc/hci/ |
D | core.c | 847 struct sk_buff *hcp_skb; in nfc_hci_recv_from_llc() local 869 hcp_skb = nfc_alloc_recv_skb(NFC_HCI_HCP_PACKET_HEADER_LEN + in nfc_hci_recv_from_llc() 871 if (hcp_skb == NULL) { in nfc_hci_recv_from_llc() 876 *skb_put(hcp_skb, NFC_HCI_HCP_PACKET_HEADER_LEN) = pipe; in nfc_hci_recv_from_llc() 880 memcpy(skb_put(hcp_skb, msg_len), in nfc_hci_recv_from_llc() 888 hcp_skb = skb; in nfc_hci_recv_from_llc() 895 packet = (struct hcp_packet *)hcp_skb->data; in nfc_hci_recv_from_llc() 900 skb_pull(hcp_skb, NFC_HCI_HCP_PACKET_HEADER_LEN + in nfc_hci_recv_from_llc() 902 nfc_hci_hcp_message_rx(hdev, pipe, type, instruction, hcp_skb); in nfc_hci_recv_from_llc() 904 skb_queue_tail(&hdev->msg_rx_queue, hcp_skb); in nfc_hci_recv_from_llc()
|