Searched refs:hci_index (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | suspend.rs | 73 fn notify_suspend_state(hci_index: u16, suspended: bool) { in notify_suspend_state() 74 log::debug!("Notify kernel suspend status: {} for hci{}", suspended, hci_index); in notify_suspend_state() 97 let command = MgmtCommand::FlossNotifySuspendState(hci_index, suspended); in notify_suspend_state() 100 log::error!("Failed to notify suspend state on hci:{} to {}", hci_index, suspended); in notify_suspend_state() 239 let hci_index = self.bt.lock().unwrap().get_hci_index(); in suspend_ready() localVariable 240 notify_suspend_state(hci_index, true); in suspend_ready() 443 let hci_index = self.bt.lock().unwrap().get_hci_index(); in resume() localVariable 444 notify_suspend_state(hci_index, false); in resume()
|
D | bluetooth.rs | 95 fn init(&mut self, hci_index: i32) -> bool; in init() 590 hci_index: i32, field 640 hci_index: i32, in new() 648 hci_index, in new() 750 self.hci_index as u16 in get_hci_index() 2251 fn init(&mut self, hci_index: i32) -> bool { in init() 2252 self.intf.lock().unwrap().initialize(get_bt_dispatcher(self.tx.clone()), hci_index) in init()
|
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
D | main.rs | 96 let hci_index = matches.value_of("hci").map_or(0, |idx| idx.parse::<i32>().unwrap_or(0)); in main() localVariable 168 hci_index, in main() 178 bluetooth.lock().unwrap().init(hci_index); in main()
|
/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/ |
D | socket.rs | 113 MgmtCommand::FlossNotifySuspendState(hci_index, suspended) => MgmtPacket { in from() 117 data: MgmtCpNotifySuspendState::new(hci_index, u8::from(suspended)).to_data(), in from()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/ |
D | btif.rs | 1221 pub fn initialize(&mut self, callbacks: BaseCallbacksDispatcher, hci_index: i32) -> bool { in initialize() 1259 ccall!(self, set_adapter_index, hci_index); in initialize()
|