Home
last modified time | relevance | path

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

/linux-6.1.9/net/bluetooth/
Damp.h43 void amp_disconnect_logical_link(struct hci_chan *hchan);
49 static inline void amp_disconnect_logical_link(struct hci_chan *hchan) in amp_disconnect_logical_link() argument
58 void amp_disconnect_logical_link(struct hci_chan *hchan);
59 void amp_destroy_logical_link(struct hci_chan *hchan, u8 reason);
Damp.c572 void amp_disconnect_logical_link(struct hci_chan *hchan) in amp_disconnect_logical_link() argument
574 struct hci_conn *hcon = hchan->conn; in amp_disconnect_logical_link()
578 BT_DBG("hchan %p not connected", hchan); in amp_disconnect_logical_link()
582 cp.log_handle = cpu_to_le16(hchan->handle); in amp_disconnect_logical_link()
586 void amp_destroy_logical_link(struct hci_chan *hchan, u8 reason) in amp_destroy_logical_link() argument
588 BT_DBG("hchan %p", hchan); in amp_destroy_logical_link()
590 hci_chan_del(hchan); in amp_destroy_logical_link()
Dl2cap_core.c980 hci_send_acl(conn->hchan, skb, flags); in l2cap_send_cmd()
1018 hci_send_acl(chan->conn->hchan, skb, flags); in l2cap_do_send()
1846 if (!conn->hchan) { in l2cap_register_user()
1938 hci_chan_del(conn->hchan); in l2cap_conn_del()
1944 conn->hchan = NULL; in l2cap_conn_del()
5019 struct hci_chan *hchan) in l2cap_logical_finish_create() argument
5023 chan->hs_hchan = hchan; in l2cap_logical_finish_create()
5042 struct hci_chan *hchan) in l2cap_logical_finish_move() argument
5044 chan->hs_hcon = hchan->conn; in l2cap_logical_finish_move()
5076 void l2cap_logical_cfm(struct l2cap_chan *chan, struct hci_chan *hchan, in l2cap_logical_cfm() argument
[all …]
Dhci_conn.c2648 struct hci_chan *hchan; in __hci_chan_lookup_handle() local
2650 list_for_each_entry(hchan, &hcon->chan_list, list) { in __hci_chan_lookup_handle()
2651 if (hchan->handle == handle) in __hci_chan_lookup_handle()
2652 return hchan; in __hci_chan_lookup_handle()
2662 struct hci_chan *hchan = NULL; in hci_chan_lookup_handle() local
2667 hchan = __hci_chan_lookup_handle(hcon, handle); in hci_chan_lookup_handle()
2668 if (hchan) in hci_chan_lookup_handle()
2674 return hchan; in hci_chan_lookup_handle()
Dhci_event.c5659 struct hci_chan *hchan; in hci_loglink_complete_evt() local
5670 hchan = hci_chan_create(hcon); in hci_loglink_complete_evt()
5671 if (!hchan) in hci_loglink_complete_evt()
5674 hchan->handle = le16_to_cpu(ev->handle); in hci_loglink_complete_evt()
5675 hchan->amp = true; in hci_loglink_complete_evt()
5677 BT_DBG("hcon %p mgr %p hchan %p", hcon, hcon->amp_mgr, hchan); in hci_loglink_complete_evt()
5686 l2cap_logical_cfm(bredr_chan, hchan, 0); in hci_loglink_complete_evt()
5697 struct hci_chan *hchan; in hci_disconn_loglink_complete_evt() local
5707 hchan = hci_chan_lookup_handle(hdev, le16_to_cpu(ev->handle)); in hci_disconn_loglink_complete_evt()
5708 if (!hchan || !hchan->amp) in hci_disconn_loglink_complete_evt()
[all …]
Dsmp.c2780 struct l2cap_chan *hchan = hdev->smp_data; in smp_cmd_public_key() local
2783 if (!hchan || !hchan->data) in smp_cmd_public_key()
2786 smp_dev = hchan->data; in smp_cmd_public_key()
/linux-6.1.9/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.h1125 int ath_reset(struct ath_softc *sc, struct ath9k_channel *hchan);
/linux-6.1.9/include/net/bluetooth/
Dl2cap.h676 struct hci_chan *hchan; member
999 void l2cap_logical_cfm(struct l2cap_chan *chan, struct hci_chan *hchan,