• 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()
111 void drop(EventView event) { in drop()
115 void on_outbound_acl_ready() { in on_outbound_acl_ready()
123 void on_outbound_iso_ready() { in on_outbound_iso_ready()
132 …_command(unique_ptr<CommandBuilder> command, ContextualOnceCallback<void(TResponse)> on_response) { in enqueue_command()
137 void on_command_status(EventView event) { in on_command_status()
152 void on_command_complete(EventView event) { in on_command_complete()
157 void handle_command_response(EventView event, std::string logging_id) { in handle_command_response()
184 void on_hci_timeout(OpCode op_code) { in on_hci_timeout()
210 void send_next_command() { in send_next_command()
240 void register_event(EventCode event, ContextualCallback<void(EventView)> handler) { in register_event()
251 void unregister_event(EventCode event) { in unregister_event()
255 void register_le_meta_event(ContextualCallback<void(EventView)> handler) { in register_le_meta_event()
264 void unregister_le_meta_event() { in unregister_le_meta_event()
268 void register_le_event(SubeventCode event, ContextualCallback<void(LeMetaEventView)> handler) { in register_le_event()
274 void unregister_le_event(SubeventCode event) { in unregister_le_event()
278 static void abort_after_root_inflammation(uint8_t vse_error) { in abort_after_root_inflammation()
282 void handle_root_inflammation(uint8_t vse_error_reason) { in handle_root_inflammation()
300 void on_hci_event(EventView event) { in on_hci_event()
324 void on_le_meta_event(EventView event) { in on_le_meta_event()
335 hal::HciHal* hal_;
336 HciLayer& module_;
339 std::list<CommandQueueEntry> command_queue_;
341 std::map<EventCode, ContextualCallback<void(EventView)>> event_handlers_;
342 std::map<SubeventCode, ContextualCallback<void(LeMetaEventView)>> subevent_handlers_;
343 OpCode waiting_command_{OpCode::NONE};
344 uint8_t command_credits_{1}; // Send reset first
345 Alarm* hci_timeout_alarm_{nullptr};
346 Alarm* hci_abort_alarm_{nullptr};
349 BidiQueue<AclView, AclBuilder> acl_queue_{3 /* TODO: Set queue depth */};
350 os::EnqueueBuffer<AclView> incoming_acl_buffer_{acl_queue_.GetDownEnd()};
353 BidiQueue<IsoView, IsoBuilder> iso_queue_{3 /* TODO: Set queue depth */};
354 os::EnqueueBuffer<IsoView> incoming_iso_buffer_{iso_queue_.GetDownEnd()};