Home
last modified time | relevance | path

Searched refs:mgr (Results 1 – 6 of 6) sorted by relevance

/net/bluetooth/
Da2mp.c46 void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data) in a2mp_send() argument
48 struct l2cap_chan *chan = mgr->a2mp_chan; in a2mp_send()
71 u8 __next_ident(struct amp_mgr *mgr) in __next_ident() argument
73 if (++mgr->ident == 0) in __next_ident()
74 mgr->ident = 1; in __next_ident()
76 return mgr->ident; in __next_ident()
80 static void __a2mp_add_cl(struct amp_mgr *mgr, struct a2mp_cl *cl) in __a2mp_add_cl() argument
103 static int a2mp_command_rej(struct amp_mgr *mgr, struct sk_buff *skb, in a2mp_command_rej() argument
118 static int a2mp_discover_req(struct amp_mgr *mgr, struct sk_buff *skb, in a2mp_discover_req() argument
168 __a2mp_add_cl(mgr, rsp->cl); in a2mp_discover_req()
[all …]
Damp.c49 struct amp_ctrl *amp_ctrl_add(struct amp_mgr *mgr, u8 id) in amp_ctrl_add() argument
60 mutex_lock(&mgr->amp_ctrls_lock); in amp_ctrl_add()
61 list_add(&ctrl->list, &mgr->amp_ctrls); in amp_ctrl_add()
62 mutex_unlock(&mgr->amp_ctrls_lock); in amp_ctrl_add()
64 BT_DBG("mgr %p ctrl %p", mgr, ctrl); in amp_ctrl_add()
69 void amp_ctrl_list_flush(struct amp_mgr *mgr) in amp_ctrl_list_flush() argument
73 BT_DBG("mgr %p", mgr); in amp_ctrl_list_flush()
75 mutex_lock(&mgr->amp_ctrls_lock); in amp_ctrl_list_flush()
76 list_for_each_entry_safe(ctrl, n, &mgr->amp_ctrls, list) { in amp_ctrl_list_flush()
80 mutex_unlock(&mgr->amp_ctrls_lock); in amp_ctrl_list_flush()
[all …]
Damp.h29 struct amp_ctrl *amp_ctrl_add(struct amp_mgr *mgr, u8 id);
30 struct amp_ctrl *amp_ctrl_lookup(struct amp_mgr *mgr, u8 id);
31 void amp_ctrl_list_flush(struct amp_mgr *mgr);
33 struct hci_conn *phylink_add(struct hci_dev *hdev, struct amp_mgr *mgr,
38 void amp_read_loc_info(struct hci_dev *hdev, struct amp_mgr *mgr);
40 void amp_read_loc_assoc(struct hci_dev *hdev, struct amp_mgr *mgr);
43 void amp_create_phylink(struct hci_dev *hdev, struct amp_mgr *mgr,
45 void amp_accept_phylink(struct hci_dev *hdev, struct amp_mgr *mgr,
Da2mp.h137 struct amp_mgr *amp_mgr_get(struct amp_mgr *mgr);
138 int amp_mgr_put(struct amp_mgr *mgr);
139 u8 __next_ident(struct amp_mgr *mgr);
143 void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data);
Dhci_event.c4043 struct amp_mgr *mgr; in hci_loglink_complete_evt() local
4062 mgr = hcon->amp_mgr; in hci_loglink_complete_evt()
4063 if (mgr && mgr->bredr_chan) { in hci_loglink_complete_evt()
4064 struct l2cap_chan *bredr_chan = mgr->bredr_chan; in hci_loglink_complete_evt()
Dl2cap_core.c575 struct amp_mgr *mgr = conn->hcon->amp_mgr; in l2cap_chan_del() local
591 if (mgr && mgr->bredr_chan == chan) in l2cap_chan_del()
592 mgr->bredr_chan = NULL; in l2cap_chan_del()
4471 struct amp_mgr *mgr = conn->hcon->amp_mgr; in l2cap_create_channel_req() local
4483 BT_DBG("mgr %p bredr_chan %p hs_hcon %p", mgr, chan, hs_hcon); in l2cap_create_channel_req()
4485 mgr->bredr_chan = chan; in l2cap_create_channel_req()