Lines Matching refs:codec_cfg

192 				 uint8_t cig_id, struct bt_audio_codec_cfg *codec_cfg,  in cap_unicast_setup_ase()  argument
218 memcpy(&u_stream->codec_cfg, codec_cfg, sizeof(*codec_cfg)); in cap_unicast_setup_ase()
234 struct bt_audio_codec_cfg codec_cfg; in btp_cap_unicast_setup_ase() local
258 memset(&codec_cfg, 0, sizeof(codec_cfg)); in btp_cap_unicast_setup_ase()
259 codec_cfg.id = cp->coding_format; in btp_cap_unicast_setup_ase()
260 codec_cfg.vid = cp->vid; in btp_cap_unicast_setup_ase()
261 codec_cfg.cid = cp->cid; in btp_cap_unicast_setup_ase()
265 codec_cfg.data_len = cp->cc_ltvs_len; in btp_cap_unicast_setup_ase()
266 memcpy(codec_cfg.data, ltv_ptr, cp->cc_ltvs_len); in btp_cap_unicast_setup_ase()
271 codec_cfg.meta_len = cp->metadata_ltvs_len; in btp_cap_unicast_setup_ase()
272 memcpy(codec_cfg.meta, ltv_ptr, cp->metadata_ltvs_len); in btp_cap_unicast_setup_ase()
275 err = cap_unicast_setup_ase(conn, cp->ase_id, cp->cis_id, cp->cig_id, &codec_cfg, &qos); in btp_cap_unicast_setup_ase()
318 stream_param->codec_cfg = &u_stream->codec_cfg; in btp_cap_unicast_audio_start()
467 struct bt_audio_codec_cfg *codec_cfg; in btp_cap_broadcast_source_setup_stream() local
475 codec_cfg = &stream->codec_cfg; in btp_cap_broadcast_source_setup_stream()
476 memset(codec_cfg, 0, sizeof(*codec_cfg)); in btp_cap_broadcast_source_setup_stream()
477 codec_cfg->id = cp->coding_format; in btp_cap_broadcast_source_setup_stream()
478 codec_cfg->vid = cp->vid; in btp_cap_broadcast_source_setup_stream()
479 codec_cfg->cid = cp->cid; in btp_cap_broadcast_source_setup_stream()
483 codec_cfg->data_len = cp->cc_ltvs_len; in btp_cap_broadcast_source_setup_stream()
484 memcpy(codec_cfg->data, ltv_ptr, cp->cc_ltvs_len); in btp_cap_broadcast_source_setup_stream()
489 codec_cfg->meta_len = cp->metadata_ltvs_len; in btp_cap_broadcast_source_setup_stream()
490 memcpy(codec_cfg->meta, ltv_ptr, cp->metadata_ltvs_len); in btp_cap_broadcast_source_setup_stream()
500 struct bt_audio_codec_cfg *codec_cfg; in btp_cap_broadcast_source_setup_subgroup() local
509 cap_subgroup_params[cp->subgroup_id].codec_cfg = in btp_cap_broadcast_source_setup_subgroup()
511 codec_cfg = cap_subgroup_params[cp->subgroup_id].codec_cfg; in btp_cap_broadcast_source_setup_subgroup()
512 memset(codec_cfg, 0, sizeof(*codec_cfg)); in btp_cap_broadcast_source_setup_subgroup()
513 codec_cfg->id = cp->coding_format; in btp_cap_broadcast_source_setup_subgroup()
514 codec_cfg->vid = cp->vid; in btp_cap_broadcast_source_setup_subgroup()
515 codec_cfg->cid = cp->cid; in btp_cap_broadcast_source_setup_subgroup()
519 codec_cfg->data_len = cp->cc_ltvs_len; in btp_cap_broadcast_source_setup_subgroup()
520 memcpy(codec_cfg->data, ltv_ptr, cp->cc_ltvs_len); in btp_cap_broadcast_source_setup_subgroup()
525 codec_cfg->meta_len = cp->metadata_ltvs_len; in btp_cap_broadcast_source_setup_subgroup()
526 memcpy(codec_cfg->meta, ltv_ptr, cp->metadata_ltvs_len); in btp_cap_broadcast_source_setup_subgroup()
635 stream_param->data_len = stream->codec_cfg.data_len; in btp_cap_broadcast_source_setup()
636 stream_param->data = stream->codec_cfg.data; in btp_cap_broadcast_source_setup()