Lines Matching refs:bap_iso
175 struct bt_bap_iso *bap_iso = ep->iso; in bt_bap_iso_configure_data_path() local
176 struct bt_iso_chan_qos *qos = bap_iso->chan.qos; in bt_bap_iso_configure_data_path()
179 struct bt_bap_iso_dir *iso_dir = bap_iso_get_iso_dir(is_unicast_client, bap_iso, ep->dir); in bt_bap_iso_configure_data_path()
183 if (iso_dir == &bap_iso->rx) { in bt_bap_iso_configure_data_path()
280 void bt_bap_iso_bind_stream(struct bt_bap_iso *bap_iso, struct bt_bap_stream *stream, in bt_bap_iso_bind_stream() argument
286 __ASSERT_NO_MSG(bap_iso != NULL); in bt_bap_iso_bind_stream()
287 __ASSERT(stream->bap_iso == NULL, "stream %p bound with bap_iso %p already", stream, in bt_bap_iso_bind_stream()
288 stream->bap_iso); in bt_bap_iso_bind_stream()
290 LOG_DBG("bap_iso %p stream %p dir %s", bap_iso, stream, bt_audio_dir_str(dir)); in bt_bap_iso_bind_stream()
294 bap_iso_ep = &bap_iso->rx; in bt_bap_iso_bind_stream()
296 bap_iso_ep = &bap_iso->tx; in bt_bap_iso_bind_stream()
299 __ASSERT(bap_iso_ep->stream == NULL, "bap_iso %p bound with stream %p", bap_iso, in bt_bap_iso_bind_stream()
303 stream->bap_iso = bt_bap_iso_ref(bap_iso); in bt_bap_iso_bind_stream()
306 void bt_bap_iso_unbind_stream(struct bt_bap_iso *bap_iso, struct bt_bap_stream *stream, in bt_bap_iso_unbind_stream() argument
312 __ASSERT_NO_MSG(bap_iso != NULL); in bt_bap_iso_unbind_stream()
313 __ASSERT(stream->bap_iso != NULL, "stream %p not bound with an bap_iso", stream); in bt_bap_iso_unbind_stream()
315 LOG_DBG("bap_iso %p stream %p dir %s", bap_iso, stream, bt_audio_dir_str(dir)); in bt_bap_iso_unbind_stream()
319 bap_iso_ep = &bap_iso->rx; in bt_bap_iso_unbind_stream()
321 bap_iso_ep = &bap_iso->tx; in bt_bap_iso_unbind_stream()
325 bap_iso, bap_iso_ep->stream, stream, stream->bap_iso); in bt_bap_iso_unbind_stream()
328 bt_bap_iso_unref(bap_iso); in bt_bap_iso_unbind_stream()
329 stream->bap_iso = NULL; in bt_bap_iso_unbind_stream()