Lines Matching full:rp
11 struct hci_rp_read_local_codec_caps *rp, in hci_codec_list_add() argument
29 if (rp) { in hci_codec_list_add()
30 entry->num_caps = rp->num_caps; in hci_codec_list_add()
56 struct hci_rp_read_local_codec_caps *rp; in hci_read_codec_capabilities() local
83 if (skb->len < sizeof(*rp)) in hci_read_codec_capabilities()
86 rp = (void *)skb->data; in hci_read_codec_capabilities()
88 if (rp->status) in hci_read_codec_capabilities()
91 if (!rp->num_caps) { in hci_read_codec_capabilities()
97 skb_pull(skb, sizeof(*rp)); in hci_read_codec_capabilities()
99 for (j = 0, len = 0; j < rp->num_caps; j++) { in hci_read_codec_capabilities()
111 hci_codec_list_add(&hdev->local_codecs, cmd, rp, in hci_read_codec_capabilities()
112 (__u8 *)rp + sizeof(*rp), len); in hci_read_codec_capabilities()
123 struct hci_rp_read_local_supported_codecs *rp; in hci_read_supported_codecs() local
138 if (skb->len < sizeof(*rp)) in hci_read_supported_codecs()
141 rp = (void *)skb->data; in hci_read_supported_codecs()
143 if (rp->status) in hci_read_supported_codecs()
146 skb_pull(skb, sizeof(rp->status)); in hci_read_supported_codecs()
192 struct hci_rp_read_local_supported_codecs_v2 *rp; in hci_read_supported_codecs_v2() local
207 if (skb->len < sizeof(*rp)) in hci_read_supported_codecs_v2()
210 rp = (void *)skb->data; in hci_read_supported_codecs_v2()
212 if (rp->status) in hci_read_supported_codecs_v2()
215 skb_pull(skb, sizeof(rp->status)); in hci_read_supported_codecs_v2()