Searched refs:btsock (Results 1 – 2 of 2) sorted by relevance
73 let mut btsock = BtSocket::new(); in notify_suspend_state() localVariable74 match btsock.open() { in notify_suspend_state()85 match btsock.bind_channel(HciChannels::Control, HCI_DEV_NONE) { in notify_suspend_state()96 let bytes_written = btsock.write_mgmt_packet(command.into()); in notify_suspend_state()
356 let mut btsock = BtSocket::new(); in configure_hci() localVariable360 match btsock.open() { in configure_hci()375 match btsock.bind_channel(HciChannels::Control, HCI_DEV_NONE) { in configure_hci()404 let mut hci_afd = AsyncFd::new(btsock).expect("Failed to add async fd for BT socket."); in configure_hci()