Lines Matching refs:cl
78 static inline void __a2mp_cl_bredr(struct a2mp_cl *cl) in __a2mp_cl_bredr() argument
80 cl->id = 0; in __a2mp_cl_bredr()
81 cl->type = 0; in __a2mp_cl_bredr()
82 cl->status = 1; in __a2mp_cl_bredr()
86 static void __a2mp_add_cl(struct amp_mgr *mgr, struct a2mp_cl *cl, u8 num_ctrl) in __a2mp_add_cl() argument
91 __a2mp_cl_bredr(cl); in __a2mp_add_cl()
102 cl[i].id = hdev->id; in __a2mp_add_cl()
103 cl[i].type = hdev->amp_type; in __a2mp_add_cl()
104 cl[i].status = hdev->amp_status; in __a2mp_add_cl()
166 __a2mp_add_cl(mgr, rsp->cl, num_ctrl); in a2mp_discover_req()
181 struct a2mp_cl *cl; in a2mp_discover_rsp() local
206 cl = (void *) skb->data; in a2mp_discover_rsp()
207 while (len >= sizeof(*cl)) { in a2mp_discover_rsp()
208 BT_DBG("Remote AMP id %d type %d status %d", cl->id, cl->type, in a2mp_discover_rsp()
209 cl->status); in a2mp_discover_rsp()
211 if (cl->id != HCI_BREDR_ID && cl->type == HCI_AMP) { in a2mp_discover_rsp()
215 req.id = cl->id; in a2mp_discover_rsp()
220 len -= sizeof(*cl); in a2mp_discover_rsp()
221 cl = (void *) skb_pull(skb, sizeof(*cl)); in a2mp_discover_rsp()
256 struct a2mp_cl *cl = (void *) skb->data; in a2mp_change_notify() local
258 while (skb->len >= sizeof(*cl)) { in a2mp_change_notify()
259 BT_DBG("Controller id %d type %d status %d", cl->id, cl->type, in a2mp_change_notify()
260 cl->status); in a2mp_change_notify()
261 cl = (struct a2mp_cl *) skb_pull(skb, sizeof(*cl)); in a2mp_change_notify()