• Home
  • Raw
  • Download

Lines Matching refs:pipe

144 	u8 pipe;  in nfc_hci_msg_rx_work()  local
149 pipe = skb->data[0]; in nfc_hci_msg_rx_work()
156 nfc_hci_hcp_message_rx(hdev, pipe, type, instruction, skb); in nfc_hci_msg_rx_work()
193 void nfc_hci_cmd_received(struct nfc_hci_dev *hdev, u8 pipe, u8 cmd, in nfc_hci_cmd_received() argument
202 pr_debug("from pipe %x cmd %x\n", pipe, cmd); in nfc_hci_cmd_received()
204 if (pipe >= NFC_HCI_MAX_PIPES) { in nfc_hci_cmd_received()
209 gate = hdev->pipes[pipe].gate; in nfc_hci_cmd_received()
219 if (create_info->pipe >= NFC_HCI_MAX_PIPES) { in nfc_hci_cmd_received()
229 hdev->gate2pipe[create_info->dest_gate] = create_info->pipe; in nfc_hci_cmd_received()
230 hdev->pipes[create_info->pipe].gate = create_info->dest_gate; in nfc_hci_cmd_received()
231 hdev->pipes[create_info->pipe].dest_host = in nfc_hci_cmd_received()
247 if (delete_info->pipe >= NFC_HCI_MAX_PIPES) { in nfc_hci_cmd_received()
252 hdev->pipes[delete_info->pipe].gate = NFC_HCI_INVALID_GATE; in nfc_hci_cmd_received()
253 hdev->pipes[delete_info->pipe].dest_host = NFC_HCI_INVALID_HOST; in nfc_hci_cmd_received()
270 hdev->ops->cmd_received(hdev, pipe, cmd, skb); in nfc_hci_cmd_received()
273 nfc_hci_hcp_message_tx(hdev, pipe, NFC_HCI_HCP_RESPONSE, in nfc_hci_cmd_received()
393 void nfc_hci_event_received(struct nfc_hci_dev *hdev, u8 pipe, u8 event, in nfc_hci_event_received() argument
399 if (pipe >= NFC_HCI_MAX_PIPES) { in nfc_hci_event_received()
400 pr_err("Discarded event %x to invalid pipe %x\n", event, pipe); in nfc_hci_event_received()
404 gate = hdev->pipes[pipe].gate; in nfc_hci_event_received()
406 pr_err("Discarded event %x to unopened pipe %x\n", event, pipe); in nfc_hci_event_received()
411 r = hdev->ops->event_received(hdev, pipe, event, skb); in nfc_hci_event_received()
467 gates->gate, gates->pipe); in hci_dev_connect_gates()
486 hdev->init_data.gates[0].pipe); in hci_dev_session_init()
872 u8 pipe; in nfc_hci_recv_from_llc() local
884 pipe = packet->header & NFC_HCI_FRAGMENT; in nfc_hci_recv_from_llc()
900 *skb_put(hcp_skb, NFC_HCI_HCP_PACKET_HEADER_LEN) = pipe; in nfc_hci_recv_from_llc()
922 pipe = packet->header; in nfc_hci_recv_from_llc()
926 nfc_hci_hcp_message_rx(hdev, pipe, type, instruction, hcp_skb); in nfc_hci_recv_from_llc()