Lines Matching refs:local_ep
227 stream->local_ep = ep; in a2dp_process_config_ind()
620 struct bt_a2dp_ep *local_ep, struct bt_a2dp_ep *remote_ep, in bt_a2dp_stream_config() argument
623 if ((a2dp == NULL) || (stream == NULL) || (local_ep == NULL) || (remote_ep == NULL) || in bt_a2dp_stream_config()
628 if ((local_ep->sep.sep_info.tsep == remote_ep->sep.sep_info.tsep) || in bt_a2dp_stream_config()
629 (local_ep->codec_type != remote_ep->codec_type)) { in bt_a2dp_stream_config()
633 stream->local_ep = local_ep; in bt_a2dp_stream_config()
637 local_ep->stream = stream; in bt_a2dp_stream_config()
640 remote_ep->sep.sep_info.id, local_ep->sep.sep_info.id, in bt_a2dp_stream_config()
641 local_ep->codec_type, &local_ep->sep); in bt_a2dp_stream_config()
731 if ((stream == NULL) || (stream->local_ep == NULL) || (stream->a2dp == NULL)) { in bt_a2dp_stream_ctrl_pre()
740 a2dp->ctrl_param.sep = &stream->local_ep->sep; in bt_a2dp_stream_ctrl_pre()
815 stream->local_ep->sep.sep_info.id, in bt_a2dp_stream_reconfig()
816 stream->local_ep->codec_type, &stream->local_ep->sep); in bt_a2dp_stream_reconfig()
822 if ((stream == NULL) || (stream->local_ep == NULL)) { in bt_a2dp_get_mtu()
826 return bt_avdtp_get_media_mtu(&stream->local_ep->sep); in bt_a2dp_get_mtu()
835 if (stream == NULL || stream->local_ep == NULL) { in bt_a2dp_stream_send()
841 if (stream->local_ep->codec_type == BT_A2DP_SBC) { in bt_a2dp_stream_send()
852 return bt_avdtp_send_media_data(&stream->local_ep->sep, buf); in bt_a2dp_stream_send()