Searched refs:pac_codec (Results 1 – 2 of 2) sorted by relevance
122 struct bt_pac_codec *pac_codec; in build_pac_records() local126 if (net_buf_simple_tailroom(buf) < sizeof(*pac_codec)) { in build_pac_records()130 pac_codec = net_buf_simple_add(buf, sizeof(*pac_codec)); in build_pac_records()131 pac_codec->id = codec_cap->id; in build_pac_records()132 pac_codec->cid = sys_cpu_to_le16(codec_cap->cid); in build_pac_records()133 pac_codec->vid = sys_cpu_to_le16(codec_cap->vid); in build_pac_records()
3843 struct bt_pac_codec *pac_codec; in unicast_client_read_func() local3849 if (buf->len < sizeof(*pac_codec)) { in unicast_client_read_func()3851 buf->len, sizeof(*pac_codec)); in unicast_client_read_func()3855 pac_codec = net_buf_simple_pull_mem(buf, sizeof(*pac_codec)); in unicast_client_read_func()3887 if (unicast_client_set_codec_cap(pac_codec->id, sys_le16_to_cpu(pac_codec->cid), in unicast_client_read_func()3888 sys_le16_to_cpu(pac_codec->vid), cc_ltv, cc->len, in unicast_client_read_func()