• Home
  • Raw
  • Download

Lines Matching defs:impl

94 struct HciLayer::impl {  struct in bluetooth::hci::HciLayer
95 impl(hal::HciHal* hal, HciLayer& module) : hal_(hal), module_(module) { in impl() function
99 ~impl() { in ~impl()
112 void drop(EventView event) { in drop()
116 void on_outbound_acl_ready() { in on_outbound_acl_ready()
124 void on_outbound_sco_ready() { in on_outbound_sco_ready()
132 void on_outbound_iso_ready() { in on_outbound_iso_ready()
141 …_command(unique_ptr<CommandBuilder> command, ContextualOnceCallback<void(TResponse)> on_response) { in enqueue_command()
146 void on_command_status(EventView event) { in on_command_status()
161 void on_command_complete(EventView event) { in on_command_complete()
166 void handle_command_response(EventView event, std::string logging_id) { in handle_command_response()
216 void on_hci_timeout(OpCode op_code) { in on_hci_timeout()
242 void send_next_command() { in send_next_command()
272 void register_event(EventCode event, ContextualCallback<void(EventView)> handler) { in register_event()
283 void unregister_event(EventCode event) { in unregister_event()
287 void register_le_meta_event(ContextualCallback<void(EventView)> handler) { in register_le_meta_event()
296 void unregister_le_meta_event() { in unregister_le_meta_event()
300 void register_le_event(SubeventCode event, ContextualCallback<void(LeMetaEventView)> handler) { in register_le_event()
306 void unregister_le_event(SubeventCode event) { in unregister_le_event()
310 static void abort_after_root_inflammation(uint8_t vse_error) { in abort_after_root_inflammation()
314 void handle_root_inflammation(uint8_t vse_error_reason) { in handle_root_inflammation()
332 void on_hci_event(EventView event) { in on_hci_event()
382 void on_le_meta_event(EventView event) { in on_le_meta_event()
393 hal::HciHal* hal_;
394 HciLayer& module_;
397 std::list<CommandQueueEntry> command_queue_;
399 std::map<EventCode, ContextualCallback<void(EventView)>> event_handlers_;
400 std::map<SubeventCode, ContextualCallback<void(LeMetaEventView)>> subevent_handlers_;
401 OpCode waiting_command_{OpCode::NONE};
402 uint8_t command_credits_{1}; // Send reset first
403 Alarm* hci_timeout_alarm_{nullptr};
404 Alarm* hci_abort_alarm_{nullptr};
407 BidiQueue<AclView, AclBuilder> acl_queue_{3 /* TODO: Set queue depth */};
408 os::EnqueueBuffer<AclView> incoming_acl_buffer_{acl_queue_.GetDownEnd()};
411 BidiQueue<ScoView, ScoBuilder> sco_queue_{3 /* TODO: Set queue depth */};
412 os::EnqueueBuffer<ScoView> incoming_sco_buffer_{sco_queue_.GetDownEnd()};
415 BidiQueue<IsoView, IsoBuilder> iso_queue_{3 /* TODO: Set queue depth */};
416 os::EnqueueBuffer<IsoView> incoming_iso_buffer_{iso_queue_.GetDownEnd()};