Home
last modified time | relevance | path

Searched refs:btsock (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dsuspend.rs73 let mut btsock = BtSocket::new(); in notify_suspend_state() localVariable
74 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()
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
Dstate_machine.rs356 let mut btsock = BtSocket::new(); in configure_hci() localVariable
360 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()