Lines Matching refs:caps
12 void *caps, in hci_codec_list_add() argument
31 memcpy(entry->caps, caps, len); in hci_codec_list_add()
57 struct hci_codec_caps *caps; in hci_read_codec_capabilities() local
100 caps = (void *)skb->data; in hci_read_codec_capabilities()
101 if (skb->len < sizeof(*caps)) in hci_read_codec_capabilities()
103 if (skb->len < caps->len) in hci_read_codec_capabilities()
105 len += sizeof(caps->len) + caps->len; in hci_read_codec_capabilities()
106 skb_pull(skb, sizeof(caps->len) + caps->len); in hci_read_codec_capabilities()
126 struct hci_op_read_local_codec_caps caps; in hci_read_supported_codecs() local
156 memset(&caps, 0, sizeof(caps)); in hci_read_supported_codecs()
158 caps.id = std_codecs->codec[i]; in hci_read_supported_codecs()
159 caps.direction = 0x00; in hci_read_supported_codecs()
161 LOCAL_CODEC_ACL_MASK | LOCAL_CODEC_SCO_MASK, &caps); in hci_read_supported_codecs()
177 caps.id = 0xFF; in hci_read_supported_codecs()
178 caps.cid = vnd_codecs->codec[i].cid; in hci_read_supported_codecs()
179 caps.vid = vnd_codecs->codec[i].vid; in hci_read_supported_codecs()
180 caps.direction = 0x00; in hci_read_supported_codecs()
182 LOCAL_CODEC_ACL_MASK | LOCAL_CODEC_SCO_MASK, &caps); in hci_read_supported_codecs()
195 struct hci_op_read_local_codec_caps caps; in hci_read_supported_codecs_v2() local
224 memset(&caps, 0, sizeof(caps)); in hci_read_supported_codecs_v2()
227 caps.id = std_codecs->codec[i].id; in hci_read_supported_codecs_v2()
229 &caps); in hci_read_supported_codecs_v2()
244 caps.id = 0xFF; in hci_read_supported_codecs_v2()
245 caps.cid = vnd_codecs->codec[i].cid; in hci_read_supported_codecs_v2()
246 caps.vid = vnd_codecs->codec[i].vid; in hci_read_supported_codecs_v2()
248 &caps); in hci_read_supported_codecs_v2()