/freebsd/libexec/rc/rc.d/ |
H A D | bluetooth | 99 ngctl mkpeer ${dev}: hci ${hook} drv \ 102 ngctl name ${dev}:${hook} ${dev}hci \ 105 ngctl msg ${dev}hci: set_debug ${bluetooth_device_hci_debug_level} \ 109 ngctl mkpeer ${dev}hci: l2cap acl hci \ 112 ngctl name ${dev}hci:acl ${dev}l2cap \ 119 ngctl connect ${dev}hci: btsock_hci_raw: raw ${dev}raw \ 130 ${hccontrol} -n ${dev}hci reset \ 133 ${hccontrol} -n ${dev}hci read_bd_addr \ 136 ${hccontrol} -n ${dev}hci read_local_supported_features \ 139 ${hccontrol} -n ${dev}hci read_buffer_size \ [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | hda_codec.c | 198 struct hda_codec_inst *hci; member 205 static int hda_codec_init(struct hda_codec_inst *hci, const char *play, 207 static int hda_codec_reset(struct hda_codec_inst *hci); 208 static int hda_codec_command(struct hda_codec_inst *hci, uint32_t cmd_data); 209 static int hda_codec_notify(struct hda_codec_inst *hci, uint8_t run, 391 hda_codec_init(struct hda_codec_inst *hci, const char *play, in hda_codec_init() argument 457 sc->hci = hci; in hda_codec_init() 458 hci->priv = sc; in hda_codec_init() 464 hda_codec_reset(struct hda_codec_inst *hci) in hda_codec_reset() argument 471 assert(hci); in hda_codec_reset() [all …]
|
H A D | pci_hda.h | 74 int (*init)(struct hda_codec_inst *hci, const char *play, 76 int (*reset)(struct hda_codec_inst *hci); 77 int (*command)(struct hda_codec_inst *hci, uint32_t cmd_data); 78 int (*notify)(struct hda_codec_inst *hci, uint8_t run, uint8_t stream, 83 int (*signal)(struct hda_codec_inst *hci); 84 int (*response)(struct hda_codec_inst *hci, uint32_t response, 86 int (*transfer)(struct hda_codec_inst *hci, uint8_t stream,
|
H A D | pci_hda.c | 196 static int hda_signal_state_change(struct hda_codec_inst *hci); 197 static int hda_response(struct hda_codec_inst *hci, uint32_t response, 199 static int hda_transfer(struct hda_codec_inst *hci, uint8_t stream, 429 struct hda_codec_inst *hci = NULL; in hda_codec_constructor() local 434 hci = calloc(1, sizeof(struct hda_codec_inst)); in hda_codec_constructor() 435 if (!hci) in hda_codec_constructor() 438 hci->hda = sc; in hda_codec_constructor() 439 hci->hops = &hops; in hda_codec_constructor() 440 hci->cad = sc->codecs_no; in hda_codec_constructor() 441 hci->codec = codec; in hda_codec_constructor() [all …]
|
H A D | usb_emul.h | 55 void *(*ue_init)(struct usb_hci *hci, nvlist_t *nvl); 80 int (*hci_intr)(struct usb_hci *hci, int epctx); 81 int (*hci_event)(struct usb_hci *hci, enum hci_usbev evid,
|
H A D | usb_mouse.c | 240 struct usb_hci *hci; member 293 sc->hci->hci_intr(sc->hci, UE_DIR_IN | UMOUSE_INTR_ENDPT); in umouse_event() 298 umouse_init(struct usb_hci *hci, nvlist_t *nvl __unused) in umouse_init() argument 303 sc->hci = hci; in umouse_init() 351 DPRINTF(("umouse_request: port %d", sc->hci->hci_port)); in umouse_request() 361 sc->hci->hci_port, xfer->ureq->bmRequestType, in umouse_request()
|
H A D | pci_xhci.c | 261 struct usb_hci hci; member 834 dev->hci.hci_address = i; in pci_xhci_cmd_enable_slot() 903 dev->hci.hci_address = 0; in pci_xhci_cmd_reset_device() 984 dev->hci.hci_address = slot; in pci_xhci_cmd_address_device() 1048 dev->hci.hci_address = 0; in pci_xhci_cmd_config_ep() 2640 pci_xhci_dev_intr(struct usb_hci *hci, int epctx) in pci_xhci_dev_intr() argument 2660 dev = hci->hci_sc; in pci_xhci_dev_intr() 2669 p = XHCI_PORTREG_PTR(sc, hci->hci_port); in pci_xhci_dev_intr() 2680 pci_xhci_set_evtrb(&evtrb, hci->hci_port, in pci_xhci_dev_intr() 2697 pci_xhci_device_doorbell(sc, hci->hci_port, epid, 0); in pci_xhci_dev_intr() [all …]
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | hci.h | 37 return rtwdev->hci.ops->tx_write(rtwdev, pkt_info, skb); in rtw_hci_tx_write() 42 return rtwdev->hci.ops->tx_kick_off(rtwdev); in rtw_hci_tx_kick_off() 47 return rtwdev->hci.ops->setup(rtwdev); in rtw_hci_setup() 52 return rtwdev->hci.ops->start(rtwdev); in rtw_hci_start() 57 rtwdev->hci.ops->stop(rtwdev); in rtw_hci_stop() 62 rtwdev->hci.ops->deep_ps(rtwdev, enter); in rtw_hci_deep_ps() 67 rtwdev->hci.ops->link_ps(rtwdev, enter); in rtw_hci_link_ps() 72 rtwdev->hci.ops->interface_cfg(rtwdev); in rtw_hci_interface_cfg() 78 return rtwdev->hci.ops->write_data_rsvd_page(rtwdev, buf, size); in rtw_hci_write_data_rsvd_page() 84 return rtwdev->hci.ops->write_data_h2c(rtwdev, buf, size); in rtw_hci_write_data_h2c() [all …]
|
H A D | ps.c | 74 request = rtw_read8(rtwdev, rtwdev->hci.rpwm_addr); in rtw_power_mode_change() 75 confirm = rtw_read8(rtwdev, rtwdev->hci.cpwm_addr); in rtw_power_mode_change() 90 rtw_write8(rtwdev, rtwdev->hci.rpwm_addr, request); in rtw_power_mode_change() 96 rtwdev->hci.cpwm_addr); in rtw_power_mode_change()
|
H A D | mac.c | 281 rpwm = rtw_read8(rtwdev, rtwdev->hci.rpwm_addr); in rtw_mac_power_switch() 286 rtw_write8(rtwdev, rtwdev->hci.rpwm_addr, rpwm); in rtw_mac_power_switch() 1090 if (rtwdev->hci.bulkout_num == 2) in txdma_queue_mapping() 1092 else if (rtwdev->hci.bulkout_num == 3) in txdma_queue_mapping() 1094 else if (rtwdev->hci.bulkout_num == 4) in txdma_queue_mapping() 1205 if (rtwdev->hci.type == RTW_HCI_TYPE_USB) { in __priority_queue_cfg_legacy() 1268 if (rtwdev->hci.bulkout_num == 2) 1270 else if (rtwdev->hci.bulkout_num == 3) in init_h2c() 1272 else if (rtwdev->hci.bulkout_num == 4) in init_h2c()
|
H A D | main.c | 1869 rtwdev->hci.rpwm_addr = 0x03d9; in rtw_chip_parameter_setup() 1870 rtwdev->hci.cpwm_addr = 0x03da; in rtw_chip_parameter_setup() 1873 rtwdev->hci.rpwm_addr = REG_SDIO_HRPWM1; in rtw_chip_parameter_setup() 1874 rtwdev->hci.cpwm_addr = REG_SDIO_HCPWM1_V2; in rtw_chip_parameter_setup() 1877 rtwdev->hci.rpwm_addr = 0xfe58; in rtw_chip_parameter_setup() 1878 rtwdev->hci.cpwm_addr = 0xfe57; in rtw_chip_parameter_setup() 1976 efuse->hw_cap.hci = GET_EFUSE_HW_CAP_HCI(hw_feature); in rtw_dump_hw_feature() 1989 efuse->hw_cap.hci, efuse->hw_cap.bw, efuse->hw_cap.ptcl, in rtw_dump_hw_feature() 2254 bool sta_mode_only = rtwdev->hci.type == RTW_HCI_TYPE_SDIO; in rtw_register_hw()
|
H A D | usb.c | 226 rtwdev->hci.bulkout_num = num_out_pipes; in rtw_usb_write_port_tx_complete() 861 rtwdev->hci.ops = &rtw_usb_ops; in rtw_usb_probe() 862 rtwdev->hci.type = RTW_HCI_TYPE_USB; in rtw_usb_probe()
|
/freebsd/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_llpi.c | 88 if (l2cap->hci == NULL || NG_HOOK_NOT_VALID(l2cap->hci)) { in ng_l2cap_lp_con_req() 118 NG_SEND_MSG_HOOK(error, l2cap->node, msg, l2cap->hci, 0); in ng_l2cap_lp_con_req() 239 if (l2cap->hci == NULL || NG_HOOK_NOT_VALID(l2cap->hci)) { in ng_l2cap_lp_con_ind() 269 NG_SEND_MSG_HOOK(error, l2cap->node, rsp, l2cap->hci, 0); in ng_l2cap_lp_con_ind() 381 if (l2cap->hci == NULL || NG_HOOK_NOT_VALID(l2cap->hci)) { in ng_l2cap_lp_qos_req() 404 NG_SEND_MSG_HOOK(error, l2cap->node, msg, l2cap->hci, 0); in ng_l2cap_lp_qos_req() 815 if (l2cap->hci == NULL || NG_HOOK_NOT_VALID(l2cap->hci)) { in ng_l2cap_lp_deliver() 838 NG_SEND_DATA_ONLY(error, l2cap->hci, m); in ng_l2cap_lp_deliver() 950 if (l2cap->hci == NULL || NG_HOOK_NOT_VALID(l2cap->hci)) { in ng_l2cap_process_discon_timeout() 967 NG_SEND_MSG_HOOK(error, l2cap->node, msg, l2cap->hci, 0); in ng_l2cap_process_discon_timeout()
|
H A D | ng_l2cap_main.c | 171 h = &l2cap->hci; in ng_l2cap_newhook() 197 if (hook == l2cap->hci) in ng_l2cap_connect() 228 if (hook == l2cap->hci) { in ng_l2cap_disconnect() 230 h = &l2cap->hci; in ng_l2cap_disconnect() 499 (l2cap->hci != NULL)? in ng_l2cap_default_rcvmsg() 714 if (hook == l2cap->hci) in ng_l2cap_rcvdata()
|
H A D | ng_l2cap_var.h | 90 hook_p hci; /* HCI downstream hook */ member
|
H A D | ng_l2cap_misc.c | 78 if (l2cap->hci == NULL || NG_HOOK_NOT_VALID(l2cap->hci) || in ng_l2cap_send_hook_info()
|
/freebsd/sys/modules/netgraph/bluetooth/hci/ |
H A D | Makefile | 3 .PATH: ${SRCTOP}/sys/netgraph/bluetooth/hci 6 -I${SRCTOP}/sys/netgraph/bluetooth/hci
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | core.h | 3492 * by hci instance, and handle things which need to consider under SER. 5428 struct rtw89_hci_info hci; 5532 return rtwdev->hci.ops->tx_write(rtwdev, tx_req); 5537 rtwdev->hci.ops->reset(rtwdev); 5542 return rtwdev->hci.ops->start(rtwdev); 5547 rtwdev->hci.ops->stop(rtwdev); 5552 return rtwdev->hci.ops->deinit(rtwdev); 5557 rtwdev->hci.ops->pause(rtwdev, pause); 5562 rtwdev->hci.ops->switch_mode(rtwdev, low_power); 5567 rtwdev->hci 4297 struct rtw89_hci_info hci; global() member [all...] |
H A D | ps.c | 38 rtwdev->hci.paused = true; in rtw89_ps_power_mode_change_with_hci() 47 rtwdev->hci.paused = false; in rtw89_ps_power_mode_change_with_hci()
|
H A D | ser.c | 362 if (!rtwdev->hci.ops->mac_lv1_rcvy) in hal_enable_dma() 365 ret = rtwdev->hci.ops->mac_lv1_rcvy(rtwdev, RTW89_LV1_RCVY_STEP_2); in hal_enable_dma() 380 if (!rtwdev->hci.ops->mac_lv1_rcvy) in hal_stop_dma() 383 ret = rtwdev->hci.ops->mac_lv1_rcvy(rtwdev, RTW89_LV1_RCVY_STEP_1); in hal_send_post_m0_event()
|
/freebsd/sys/contrib/device-tree/Bindings/net/nfc/ |
H A D | nfcmrvl.txt | 13 - hci-muxed: Specifies that the chip is muxing NCI over HCI frames. 34 hci-muxed;
|
/freebsd/sys/modules/netgraph/bluetooth/ |
H A D | Makefile | 5 hci \
|
/freebsd/lib/libbluetooth/ |
H A D | Makefile | 15 SRCS= bluetooth.c dev.c hci.c
|
/freebsd/sys/netgraph/bluetooth/common/ |
H A D | ng_bluetooth.c | 68 SYSCTL_NODE(_net_bluetooth, OID_AUTO, hci, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
|
/freebsd/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_hci_raw.c | 1662 struct sockaddr_hci *hci = (struct sockaddr_hci *)sa; in ng_btsocket_hci_raw_sockaddr() 1669 *hci = (struct sockaddr_hci ){ in ng_btsocket_hci_raw_sockaddr() 1675 strlcpy(hci->hci_node, pcb->addr.hci_node, sizeof(hci->hci_node)); 1652 struct sockaddr_hci *hci = (struct sockaddr_hci *)sa; ng_btsocket_hci_raw_sockaddr() local
|