HomeSort by relevance Sort by last modified time
    Searched defs:hci (Results 1 - 5 of 5) sorted by null

  /external/qemu/
bt-host.c 2 * Wrap a host Bluetooth HCI socket in a struct HCIInfo.
31 # include <bluetooth/hci.h>
39 struct HCIInfo hci; member in struct:bt_host_hci_s
46 static void bt_host_send(struct HCIInfo *hci,
49 struct bt_host_hci_s *s = (struct bt_host_hci_s *) hci;
67 static void bt_host_cmd(struct HCIInfo *hci, const uint8_t *data, int len)
69 bt_host_send(hci, HCI_COMMAND_PKT, data, len);
72 static void bt_host_acl(struct HCIInfo *hci, const uint8_t *data, int len)
74 bt_host_send(hci, HCI_ACLDATA_PKT, data, len);
77 static void bt_host_sco(struct HCIInfo *hci, const uint8_t *data, int len
    [all...]
vl.c 515 static void null_hci_send(struct HCIInfo *hci, const uint8_t *data, int len)
519 static int null_hci_addr_set(struct HCIInfo *hci, const uint8_t *bd_addr)
550 else if (!strncmp(str, "hci", 3)) {
551 /* hci[,vlan=n] */
564 fprintf(stderr, "qemu: Unknown bluetooth HCI `%s'.\n", str);
571 struct HCIInfo *hci; local
579 hci = hci_init(str);
580 if (!hci)
589 hci->bdaddr_set(hci, bdaddr.b)
    [all...]
vl-android.c 711 static void null_hci_send(struct HCIInfo *hci, const uint8_t *data, int len)
715 static int null_hci_addr_set(struct HCIInfo *hci, const uint8_t *bd_addr)
746 else if (!strncmp(str, "hci", 3)) {
747 /* hci[,vlan=n] */
760 fprintf(stderr, "qemu: Unknown bluetooth HCI `%s'.\n", str);
767 struct HCIInfo *hci; local
775 hci = hci_init(str);
776 if (!hci)
785 hci->bdaddr_set(hci, bdaddr.b)
    [all...]
  /external/qemu/hw/
bt-hci-csr.c 2 * Bluetooth serial HCI transport.
3 * CSR41814 HCI with H4p vendor extensions.
48 struct HCIInfo *hci; member in struct:csrhci_s
160 s->hci->bdaddr_set(s->hci, s->bd_addr.b);
197 * we need to send it to the HCI layer and then add our supported
199 * bt-hci.c we could just have hooks for this kind of commands but
202 s->hci->cmd_send(s->hci, pkt, s->in_len - 1);
209 s->hci->acl_send(s->hci, pkt, s->in_len - 1)
    [all...]
bt-hci.c 2 * QEMU Bluetooth HCI logic.
415 /* HCI layer emulation */
421 * preserved though (for example if a real hci is used). */
432 static inline uint8_t *bt_hci_event_start(struct bt_hci_s *hci,
439 fprintf(stderr, "%s: HCI event params too long (%ib)\n",
446 if (mask & bt_event_reserved_mask[mask_byte] & ~hci->event_mask[mask_byte])
449 packet = hci->evt_packet(hci->opaque);
456 static inline void bt_hci_event(struct bt_hci_s *hci, int evt,
459 uint8_t *packet = bt_hci_event_start(hci, evt, len)
501 struct bt_hci_s *hci = (struct bt_hci_s *) opaque; local
609 struct bt_hci_s *hci = (struct bt_hci_s *) opaque; local
771 struct bt_hci_s *hci = hci_from_device(link->slave); local
794 struct bt_hci_s *hci = (struct bt_hci_s *) opaque; local
828 struct bt_hci_s *hci = hci_from_device(link->host); local
911 struct bt_hci_s *hci = hci_from_device(link->host); local
927 struct bt_hci_s *hci = hci_from_device(btlink->slave); local
1066 struct bt_hci_s *hci = hci_from_device(btlink->slave); local
1119 struct bt_hci_s *hci = hci_from_device(link->host); local
1466 struct bt_hci_s *hci = hci_from_info(info); local
2011 struct bt_hci_s *hci = hci_from_info(info); local
2081 struct bt_hci_s *hci = hci_from_info(info); local
2130 struct bt_hci_s *hci = hci_from_info(info); local
2139 struct bt_hci_s *hci = hci_from_device(dev); local
2185 struct bt_hci_s *hci = hci_from_info(info); local
    [all...]

Completed in 102 milliseconds