Lines Matching defs:unit
125 struct hci_unit *unit;
143 unit = hci_unit_lookup(&pcb->sp_laddr);
144 if (unit == NULL)
153 acl = hci_link_lookup_bdaddr(unit, &pcb->sp_raddr, HCI_LINK_ACL);
157 sco = hci_link_alloc(unit, &pcb->sp_raddr, HCI_LINK_SCO);
161 sco->hl_link = hci_acl_open(unit, &pcb->sp_raddr);
166 err = hci_send_cmd(unit, HCI_CMD_ADD_SCO_CON, &cp, sizeof(cp));
175 pcb->sp_mtu = unit->hci_max_sco_size;
272 * Gross hackage, we just output the packet directly onto the unit queue.
273 * This will work fine for one channel per unit, but for more channels it