Searched refs:pac_codec (Results 1 – 2 of 2) sorted by relevance
132 struct bt_pac_codec *pac_codec; in build_pac_records() local136 if (net_buf_simple_tailroom(buf) < sizeof(*pac_codec)) { in build_pac_records()140 pac_codec = net_buf_simple_add(buf, sizeof(*pac_codec)); in build_pac_records()141 pac_codec->id = codec_cap->id; in build_pac_records()142 pac_codec->cid = sys_cpu_to_le16(codec_cap->cid); in build_pac_records()143 pac_codec->vid = sys_cpu_to_le16(codec_cap->vid); in build_pac_records()
3912 struct bt_pac_codec *pac_codec; in unicast_client_read_func() local3918 if (buf->len < sizeof(*pac_codec)) { in unicast_client_read_func()3920 buf->len, sizeof(*pac_codec)); in unicast_client_read_func()3924 pac_codec = net_buf_simple_pull_mem(buf, sizeof(*pac_codec)); in unicast_client_read_func()3956 if (unicast_client_set_codec_cap(pac_codec->id, sys_le16_to_cpu(pac_codec->cid), in unicast_client_read_func()3957 sys_le16_to_cpu(pac_codec->vid), cc_ltv, cc->len, in unicast_client_read_func()