Lines Matching defs:hci_unit
2394 /* hci_unit & btr_flags */
2442 struct hci_unit *hl_unit; /* our unit */
2518 struct hci_unit {
2566 SIMPLEQ_ENTRY(hci_unit) hci_next;
2569 extern SIMPLEQ_HEAD(hci_unit_list, hci_unit) hci_unit_list;
2576 void hci_event(struct mbuf *, struct hci_unit *);
2582 struct hci_link *hci_acl_open(struct hci_unit *, bdaddr_t *);
2583 struct hci_link *hci_acl_newconn(struct hci_unit *, bdaddr_t *);
2588 void hci_acl_recv(struct mbuf *, struct hci_unit *);
2592 struct hci_link *hci_sco_newconn(struct hci_unit *, bdaddr_t *);
2593 void hci_sco_recv(struct mbuf *, struct hci_unit *);
2596 struct hci_link *hci_link_alloc(struct hci_unit *, bdaddr_t *, uint8_t);
2598 struct hci_link *hci_link_lookup_bdaddr(struct hci_unit *, bdaddr_t *, uint8_t);
2599 struct hci_link *hci_link_lookup_handle(struct hci_unit *, uint16_t);
2603 struct hci_memo *hci_memo_find(struct hci_unit *, bdaddr_t *);
2604 struct hci_memo *hci_memo_new(struct hci_unit *, bdaddr_t *);
2611 void hci_mtap(struct mbuf *, struct hci_unit *);
2613 /* hci_unit.c */
2614 struct hci_unit *hci_attach_pcb(const struct hci_if *, device_t, uint16_t);
2615 void hci_detach_pcb(struct hci_unit *);
2616 int hci_enable(struct hci_unit *);
2617 void hci_disable(struct hci_unit *);
2618 struct hci_unit *hci_unit_lookup(const bdaddr_t *);
2619 int hci_send_cmd(struct hci_unit *, uint16_t, void *, uint8_t);
2620 void hci_num_cmds(struct hci_unit *, uint8_t);
2621 bool hci_input_event(struct hci_unit *, struct mbuf *);
2622 bool hci_input_acl(struct hci_unit *, struct mbuf *);
2623 bool hci_input_sco(struct hci_unit *, struct mbuf *);
2624 bool hci_complete_sco(struct hci_unit *, struct mbuf *);
2625 void hci_output_cmd(struct hci_unit *, struct mbuf *);
2626 void hci_output_acl(struct hci_unit *, struct mbuf *);
2627 void hci_output_sco(struct hci_unit *, struct mbuf *);