Home
last modified time | relevance | path

Searched refs:hci (Results 1 – 25 of 57) sorted by relevance

123

/freebsd/libexec/rc/rc.d/
H A Dbluetooth99 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 \
132 ${hccontrol} -n ${dev}hci reset \
142 ${hccontrol} -n ${dev}hci read_bd_addr \
145 ${hccontrol} -n ${dev}hci read_local_supported_features \
148 ${hccontrol} -n ${dev}hci read_buffer_size \
[all …]
/freebsd/sys/contrib/dev/rtw88/
H A Dhci.h40 return rtwdev->hci.ops->tx_write(rtwdev, pkt_info, skb); in rtw_hci_tx_write()
45 return rtwdev->hci.ops->tx_kick_off(rtwdev); in rtw_hci_tx_kick_off()
50 return rtwdev->hci.ops->setup(rtwdev); in rtw_hci_setup()
55 return rtwdev->hci.ops->start(rtwdev); in rtw_hci_start()
60 rtwdev->hci.ops->stop(rtwdev); in rtw_hci_stop()
65 rtwdev->hci.ops->deep_ps(rtwdev, enter); in rtw_hci_deep_ps()
70 rtwdev->hci.ops->link_ps(rtwdev, enter); in rtw_hci_link_ps()
75 rtwdev->hci.ops->interface_cfg(rtwdev); in rtw_hci_interface_cfg()
80 if (rtwdev->hci.ops->dynamic_rx_agg) in rtw_hci_dynamic_rx_agg()
81 rtwdev->hci.ops->dynamic_rx_agg(rtwdev, enable); in rtw_hci_dynamic_rx_agg()
[all …]
H A Dps.c74 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 Dmac.c282 rpwm = rtw_read8(rtwdev, rtwdev->hci.rpwm_addr); in rtw_mac_power_switch()
287 rtw_write8(rtwdev, rtwdev->hci.rpwm_addr, rpwm); in rtw_mac_power_switch()
1098 if (rtwdev->hci.bulkout_num == 2) in txdma_queue_mapping()
1100 else if (rtwdev->hci.bulkout_num == 3) in txdma_queue_mapping()
1102 else if (rtwdev->hci.bulkout_num == 4) in txdma_queue_mapping()
1214 if (rtwdev->hci.type == RTW_HCI_TYPE_USB) { in __priority_queue_cfg()
1277 if (rtwdev->hci.bulkout_num == 2) in priority_queue_cfg()
1279 else if (rtwdev->hci.bulkout_num == 3) in priority_queue_cfg()
1281 else if (rtwdev->hci.bulkout_num == 4) in priority_queue_cfg()
H A Drtw88xxa.c86 if (rtwdev->hci.type == RTW_HCI_TYPE_USB) in rtw8812a_read_rfe_type()
88 else if (rtwdev->hci.type == RTW_HCI_TYPE_PCIE) in rtw8812a_read_rfe_type()
116 if (rtwdev->hci.type == RTW_HCI_TYPE_USB) in rtw8812a_read_rfe_type()
118 else if (rtwdev->hci.type == RTW_HCI_TYPE_PCIE) in rtw8812a_read_rfe_type()
196 efuse->hw_cap.hci, efuse->hw_cap.bw, efuse->hw_cap.ptcl, in rtw88xxa_read_usb_type()
431 if (rtwdev->hci.bulkout_num == 2) in rtw88xxau_init_queue_reserved_page()
433 else if (rtwdev->hci.bulkout_num == 3) in rtw88xxau_init_queue_reserved_page()
435 else if (rtwdev->hci.bulkout_num == 4) in rtw88xxau_init_queue_reserved_page()
469 u8 bulkout_num = rtwdev->hci.bulkout_num; in rtw88xxau_init_queue_priority()
/freebsd/usr.sbin/bhyve/
H A Dhda_codec.c198 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 Dpci_hda.h74 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 Dpci_hda.c196 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 Dusb_emul.h55 void *(*ue_probe)(struct usb_hci *hci, nvlist_t *nvl);
81 int (*hci_intr)(struct usb_hci *hci, int epctx);
82 int (*hci_event)(struct usb_hci *hci, enum hci_usbev evid,
H A Dpci_xhci.c261 struct usb_hci hci; member
409 if (dev->hci.hci_usbver == 2) in pci_xhci_usbcmd_write()
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()
2591 XHCI_PS_SPEED_SET(dev->hci.hci_speed); in pci_xhci_reset_port()
2593 if (warm && dev->hci.hci_usbver == 3) { in pci_xhci_reset_port()
2623 if (dev->hci.hci_usbver == 2) { in pci_xhci_init_port()
2625 XHCI_PS_SPEED_SET(dev->hci.hci_speed); in pci_xhci_init_port()
[all …]
H A Dusb_mouse.c240 struct usb_hci *hci; member
293 sc->hci->hci_intr(sc->hci, UE_DIR_IN | UMOUSE_INTR_ENDPT); in umouse_event()
298 umouse_probe(struct usb_hci *hci, nvlist_t *nvl __unused) in umouse_probe() argument
303 sc->hci = hci; in umouse_probe()
359 DPRINTF(("umouse_request: port %d", sc->hci->hci_port)); in umouse_request()
369 sc->hci->hci_port, xfer->ureq->bmRequestType, in umouse_request()
/freebsd/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_llpi.c88 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 Dng_l2cap_main.c171 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 Dng_l2cap_var.h90 hook_p hci; /* HCI downstream hook */ member
H A Dng_l2cap_misc.c78 if (l2cap->hci == NULL || NG_HOOK_NOT_VALID(l2cap->hci) || in ng_l2cap_send_hook_info()
/freebsd/sys/modules/netgraph/bluetooth/hci/
H A DMakefile3 .PATH: ${SRCTOP}/sys/netgraph/bluetooth/hci
6 -I${SRCTOP}/sys/netgraph/bluetooth/hci
/freebsd/sys/contrib/device-tree/Bindings/net/nfc/
H A Dnfcmrvl.txt13 - hci-muxed: Specifies that the chip is muxing NCI over HCI frames.
34 hci-muxed;
/freebsd/sys/contrib/dev/rtw89/
H A Dcore.h6167 struct rtw89_hci_info hci; member
6485 return rtwdev->hci.ops->tx_write(rtwdev, tx_req); in rtw89_hci_tx_write()
6490 rtwdev->hci.ops->reset(rtwdev); in rtw89_hci_reset()
6497 return rtwdev->hci.ops->start(rtwdev); in rtw89_hci_start()
6502 rtwdev->hci.ops->stop(rtwdev); in rtw89_hci_stop()
6507 return rtwdev->hci.ops->deinit(rtwdev); in rtw89_hci_deinit()
6512 rtwdev->hci.ops->pause(rtwdev, pause); in rtw89_hci_pause()
6517 rtwdev->hci.ops->switch_mode(rtwdev, low_power); in rtw89_hci_switch_mode()
6522 rtwdev->hci.ops->recalc_int_mit(rtwdev); in rtw89_hci_recalc_int_mit()
6527 return rtwdev->hci.ops->check_and_reclaim_tx_resource(rtwdev, txch); in rtw89_hci_check_and_reclaim_tx_resource()
[all …]
H A Drtw8852b.c377 if (rtwdev->hci.type == RTW89_HCI_TYPE_PCIE) in rtw8852b_pwr_on_func()
440 if (rtwdev->hal.cv == CHIP_CBV && rtwdev->hci.type == RTW89_HCI_TYPE_PCIE) { in rtw8852b_pwr_on_func()
522 if (rtwdev->hci.type == RTW89_HCI_TYPE_PCIE) in rtw8852b_pwr_off_func()
524 else if (rtwdev->hci.type == RTW89_HCI_TYPE_USB) in rtw8852b_pwr_off_func()
530 if (rtwdev->hci.type == RTW89_HCI_TYPE_PCIE) { in rtw8852b_pwr_off_func()
532 } else if (rtwdev->hci.type == RTW89_HCI_TYPE_USB) { in rtw8852b_pwr_off_func()
H A Dusb.c979 rtwdev->hci.ops = &rtw89_usb_ops; in rtw89_usb_probe()
980 rtwdev->hci.type = RTW89_HCI_TYPE_USB; in rtw89_usb_probe()
981 rtwdev->hci.tx_rpt_enabled = true; in rtw89_usb_probe()
990 rtwdev->hci.dle_type = RTW89_HCI_DLE_TYPE_USB3; in rtw89_usb_probe()
992 rtwdev->hci.dle_type = RTW89_HCI_DLE_TYPE_USB2; in rtw89_usb_probe()
H A Dser.c382 if (!rtwdev->hci.ops->mac_lv1_rcvy) in hal_enable_dma()
385 ret = rtwdev->hci.ops->mac_lv1_rcvy(rtwdev, RTW89_LV1_RCVY_STEP_2); in hal_enable_dma()
400 if (!rtwdev->hci.ops->mac_lv1_rcvy) in hal_stop_dma()
403 ret = rtwdev->hci.ops->mac_lv1_rcvy(rtwdev, RTW89_LV1_RCVY_STEP_1); in hal_stop_dma()
/freebsd/sys/modules/netgraph/bluetooth/
H A DMakefile5 hci \
/freebsd/lib/libbluetooth/
H A DMakefile17 SRCS= bluetooth.c dev.c hci.c
/freebsd/sys/netgraph/bluetooth/common/
H A Dng_bluetooth.c68 SYSCTL_NODE(_net_bluetooth, OID_AUTO, hci, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
/freebsd/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_hci_raw.c1662 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

123