Lines Matching defs:channel
35 // The number of currently supported HCI channel endpoints. We currently have
36 // one channel for command/event flow and one for ACL data flow. The sniff channel is managed
58 // Signaled when a channel opens or closes
97 static void channel_cleanup_locked(hci_t* hci, zx_handle_t* channel) {
98 if (*channel == ZX_HANDLE_INVALID)
101 zx_handle_close(*channel);
102 *channel = ZX_HANDLE_INVALID;
116 printf("bt-transport-usb: failed to write to snoop channel: %s\n", zx_status_get_string(status));
125 // Handle the interrupt as long as either the command channel or the snoop
126 // channel is open.
207 // The channel handle could be invalid here (e.g. if no one opened
208 // the channel or it was closed). Instead of explicitly checking we
215 // If the snoop channel is open then try to write the packet even if acl_channel was closed.
282 // if the channel peer closed its endpoint.
290 printf("hci_read_thread: failed to read from command channel %s\n",
321 // We don't have enough reqs. Simply punt the channel read until later.
330 printf("hci_read_thread: failed to read from ACL channel %s\n",
431 printf("bt-transport-usb: Failed to create channel: %s\n",
445 // Poke the changed event to get the new channel.
507 "bt-transport-usb: failed to create a port to watch snoop channel: "