Home
last modified time | relevance | path

Searched refs:hchan (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/net/bluetooth/
Damp.h42 void amp_disconnect_logical_link(struct hci_chan *hchan);
48 static inline void amp_disconnect_logical_link(struct hci_chan *hchan) in amp_disconnect_logical_link() argument
57 void amp_disconnect_logical_link(struct hci_chan *hchan);
58 void amp_destroy_logical_link(struct hci_chan *hchan, u8 reason);
Damp.c571 void amp_disconnect_logical_link(struct hci_chan *hchan) in amp_disconnect_logical_link() argument
573 struct hci_conn *hcon = hchan->conn; in amp_disconnect_logical_link()
577 BT_DBG("hchan %p not connected", hchan); in amp_disconnect_logical_link()
581 cp.log_handle = cpu_to_le16(hchan->handle); in amp_disconnect_logical_link()
585 void amp_destroy_logical_link(struct hci_chan *hchan, u8 reason) in amp_destroy_logical_link() argument
587 BT_DBG("hchan %p", hchan); in amp_destroy_logical_link()
589 hci_chan_del(hchan); in amp_destroy_logical_link()
Dl2cap_core.c977 hci_send_acl(conn->hchan, skb, flags); in l2cap_send_cmd()
1015 hci_send_acl(chan->conn->hchan, skb, flags); in l2cap_do_send()
1843 if (!conn->hchan) { in l2cap_register_user()
1934 hci_chan_del(conn->hchan); in l2cap_conn_del()
1940 conn->hchan = NULL; in l2cap_conn_del()
5034 struct hci_chan *hchan) in l2cap_logical_finish_create() argument
5038 chan->hs_hchan = hchan; in l2cap_logical_finish_create()
5057 struct hci_chan *hchan) in l2cap_logical_finish_move() argument
5059 chan->hs_hcon = hchan->conn; in l2cap_logical_finish_move()
5091 void l2cap_logical_cfm(struct l2cap_chan *chan, struct hci_chan *hchan, in l2cap_logical_cfm() argument
[all …]
Dhci_conn.c2773 struct hci_chan *hchan; in __hci_chan_lookup_handle() local
2775 list_for_each_entry(hchan, &hcon->chan_list, list) { in __hci_chan_lookup_handle()
2776 if (hchan->handle == handle) in __hci_chan_lookup_handle()
2777 return hchan; in __hci_chan_lookup_handle()
2787 struct hci_chan *hchan = NULL; in hci_chan_lookup_handle() local
2792 hchan = __hci_chan_lookup_handle(hcon, handle); in hci_chan_lookup_handle()
2793 if (hchan) in hci_chan_lookup_handle()
2799 return hchan; in hci_chan_lookup_handle()
Dhci_event.c5740 struct hci_chan *hchan; in hci_loglink_complete_evt() local
5751 hchan = hci_chan_create(hcon); in hci_loglink_complete_evt()
5752 if (!hchan) in hci_loglink_complete_evt()
5755 hchan->handle = le16_to_cpu(ev->handle); in hci_loglink_complete_evt()
5756 hchan->amp = true; in hci_loglink_complete_evt()
5758 BT_DBG("hcon %p mgr %p hchan %p", hcon, hcon->amp_mgr, hchan); in hci_loglink_complete_evt()
5767 l2cap_logical_cfm(bredr_chan, hchan, 0); in hci_loglink_complete_evt()
5778 struct hci_chan *hchan; in hci_disconn_loglink_complete_evt() local
5788 hchan = hci_chan_lookup_handle(hdev, le16_to_cpu(ev->handle)); in hci_disconn_loglink_complete_evt()
5789 if (!hchan || !hchan->amp) in hci_disconn_loglink_complete_evt()
[all …]
Dsmp.c2794 struct l2cap_chan *hchan = hdev->smp_data; in smp_cmd_public_key() local
2797 if (!hchan || !hchan->data) in smp_cmd_public_key()
2800 smp_dev = hchan->data; in smp_cmd_public_key()
/linux-6.6.21/sound/soc/sof/intel/
Dhda-mlink.c349 static void hdaml_shim_map_stream_ch(u16 __iomem *pcmsycm, int lchan, int hchan, in hdaml_shim_map_stream_ch() argument
357 u16p_replace_bits(&val, hchan, GENMASK(7, 4)); in hdaml_shim_map_stream_ch()
805 int hchan; in hdac_bus_eml_sdw_map_stream_ch() local
818 hchan = __fls(channel_mask); in hdac_bus_eml_sdw_map_stream_ch()
821 hchan = 0; in hdac_bus_eml_sdw_map_stream_ch()
827 hdaml_shim_map_stream_ch(pcmsycm, lchan, hchan, in hdac_bus_eml_sdw_map_stream_ch()
/linux-6.6.21/drivers/net/wireless/ath/ath9k/
Dmain.c285 static int ath_reset_internal(struct ath_softc *sc, struct ath9k_channel *hchan) in ath_reset_internal() argument
305 if (!hchan) { in ath_reset_internal()
307 hchan = ah->curchan; in ath_reset_internal()
310 if (!hchan) { in ath_reset_internal()
312 hchan = ath9k_cmn_get_channel(sc->hw, ah, &sc->cur_chan->chandef); in ath_reset_internal()
326 hchan->channel, IS_CHAN_HT40(hchan), fastcc); in ath_reset_internal()
328 r = ath9k_hw_reset(ah, hchan, caldata, fastcc); in ath_reset_internal()
610 int ath_reset(struct ath_softc *sc, struct ath9k_channel *hchan) in ath_reset() argument
619 r = ath_reset_internal(sc, hchan); in ath_reset()
Dchannel.c28 struct ath9k_channel *hchan; in ath_set_channel() local
69 hchan = &sc->sc_ah->channels[pos]; in ath_set_channel()
70 r = ath_reset(sc, hchan); in ath_set_channel()
Dhtc_drv_main.c242 struct ath9k_channel *hchan) in ath9k_htc_set_channel() argument
278 ret = ath9k_hw_reset(ah, hchan, caldata, fastcc); in ath9k_htc_set_channel()
295 mode = ath9k_htc_get_curmode(priv, hchan); in ath9k_htc_set_channel()
Dath9k.h1126 int ath_reset(struct ath_softc *sc, struct ath9k_channel *hchan);
/linux-6.6.21/include/net/bluetooth/
Dl2cap.h676 struct hci_chan *hchan; member
999 void l2cap_logical_cfm(struct l2cap_chan *chan, struct hci_chan *hchan,