Lines Matching refs:stream_param

547 			const struct bt_bap_broadcast_source_stream_param *stream_param;  in valid_broadcast_source_param()  local
549 stream_param = &subgroup_param->params[j]; in valid_broadcast_source_param()
551 CHECKIF(stream_param->stream == NULL) { in valid_broadcast_source_param()
557 CHECKIF(stream_param->stream->group != NULL && in valid_broadcast_source_param()
558 stream_param->stream->group != source) { in valid_broadcast_source_param()
561 i, j, stream_param->stream->group); in valid_broadcast_source_param()
566 CHECKIF(stream_param->data == NULL && stream_param->data_len != 0) { in valid_broadcast_source_param()
569 i, j, stream_param->data_len); in valid_broadcast_source_param()
573 CHECKIF(stream_param->data_len > CONFIG_BT_AUDIO_CODEC_CFG_MAX_DATA_SIZE) { in valid_broadcast_source_param()
576 i, j, stream_param->data_len, in valid_broadcast_source_param()
581 CHECKIF(stream_param->data != NULL && in valid_broadcast_source_param()
583 !bt_audio_valid_ltv(stream_param->data, stream_param->data_len)) { in valid_broadcast_source_param()
642 const struct bt_bap_broadcast_source_stream_param *stream_param) in update_codec_cfg_data() argument
644 if (stream_param->data_len > 0) { in update_codec_cfg_data()
652 err = bt_audio_data_parse(stream_param->data, stream_param->data_len, in update_codec_cfg_data()
664 if (codec_cfg->data_len + stream_param->data_len > in update_codec_cfg_data()
668 codec_cfg->data_len + stream_param->data_len, in update_codec_cfg_data()
674 memcpy(&codec_cfg->data[codec_cfg->data_len], stream_param->data, in update_codec_cfg_data()
675 stream_param->data_len); in update_codec_cfg_data()
676 codec_cfg->data_len += stream_param->data_len; in update_codec_cfg_data()
750 const struct bt_bap_broadcast_source_stream_param *stream_param; in bt_bap_broadcast_source_create() local
755 stream_param = &subgroup_param->params[j]; in bt_bap_broadcast_source_create()
756 stream = stream_param->stream; in bt_bap_broadcast_source_create()
768 err = update_codec_cfg_data(codec_cfg, stream_param); in bt_bap_broadcast_source_create()
791 (void)memcpy(source->stream_data[stream_count].data, stream_param->data, in bt_bap_broadcast_source_create()
792 stream_param->data_len * sizeof(*stream_param->data)); in bt_bap_broadcast_source_create()
793 source->stream_data[stream_count].data_len = stream_param->data_len; in bt_bap_broadcast_source_create()
918 const struct bt_bap_broadcast_source_stream_param *stream_param; in bt_bap_broadcast_source_reconfig() local
923 stream_param = &subgroup_param->params[j]; in bt_bap_broadcast_source_reconfig()
924 stream = stream_param->stream; in bt_bap_broadcast_source_reconfig()
937 err = update_codec_cfg_data(codec_cfg, stream_param); in bt_bap_broadcast_source_reconfig()
961 (void)memcpy(stream_data->data, stream_param->data, stream_param->data_len); in bt_bap_broadcast_source_reconfig()
962 stream_data->data_len = stream_param->data_len; in bt_bap_broadcast_source_reconfig()