Lines Matching refs:next_bap_stream
1080 struct bt_bap_stream *next_bap_stream; in bt_cap_initiator_codec_configured() local
1092 next_bap_stream = &next_cap_stream->bap_stream; in bt_cap_initiator_codec_configured()
1096 err = bt_bap_stream_config(conn, next_bap_stream, ep, codec_cfg); in bt_cap_initiator_codec_configured()
1261 struct bt_bap_stream *next_bap_stream; in bt_cap_initiator_qos_configured() local
1268 next_bap_stream = &next_cap_stream->bap_stream; in bt_cap_initiator_qos_configured()
1272 err = bt_bap_stream_release(next_bap_stream); in bt_cap_initiator_qos_configured()
1276 bt_cap_common_abort_proc(next_bap_stream->conn, err); in bt_cap_initiator_qos_configured()
1316 struct bt_bap_stream *next_bap_stream; in bt_cap_initiator_enabled() local
1321 next_bap_stream = &next_cap_stream->bap_stream; in bt_cap_initiator_enabled()
1326 err = bt_bap_stream_enable(next_bap_stream, next_bap_stream->codec_cfg->meta, in bt_cap_initiator_enabled()
1327 next_bap_stream->codec_cfg->meta_len); in bt_cap_initiator_enabled()
1331 bt_cap_common_abort_proc(next_bap_stream->conn, err); in bt_cap_initiator_enabled()
1414 struct bt_bap_stream *next_bap_stream; in bt_cap_initiator_connected() local
1419 next_bap_stream = &next_cap_stream->bap_stream; in bt_cap_initiator_connected()
1424 err = bt_bap_stream_connect(next_bap_stream); in bt_cap_initiator_connected()
1433 bt_cap_common_abort_proc(next_bap_stream->conn, err); in bt_cap_initiator_connected()
1501 struct bt_bap_stream *next_bap_stream; in bt_cap_initiator_started() local
1506 next_bap_stream = &next_cap_stream->bap_stream; in bt_cap_initiator_started()
1508 if (stream_is_dir(next_bap_stream, BT_AUDIO_DIR_SOURCE)) { in bt_cap_initiator_started()
1513 err = bt_bap_stream_start(next_bap_stream); in bt_cap_initiator_started()
1522 bt_cap_common_abort_proc(next_bap_stream->conn, err); in bt_cap_initiator_started()
2043 struct bt_bap_stream *next_bap_stream; in bt_cap_initiator_disabled() local
2049 next_bap_stream = &next_cap_stream->bap_stream; in bt_cap_initiator_disabled()
2053 err = bt_bap_stream_disable(next_bap_stream); in bt_cap_initiator_disabled()
2057 bt_cap_common_abort_proc(next_bap_stream->conn, err); in bt_cap_initiator_disabled()
2063 struct bt_bap_stream *next_bap_stream; in bt_cap_initiator_disabled() local
2079 next_bap_stream = &next_cap_stream->bap_stream; in bt_cap_initiator_disabled()
2083 err = bt_bap_stream_stop(next_bap_stream); in bt_cap_initiator_disabled()
2087 bt_cap_common_abort_proc(next_bap_stream->conn, err); in bt_cap_initiator_disabled()
2132 struct bt_bap_stream *next_bap_stream; in bt_cap_initiator_stopped() local
2138 next_bap_stream = &next_cap_stream->bap_stream; in bt_cap_initiator_stopped()
2143 err = bt_bap_stream_stop(next_bap_stream); in bt_cap_initiator_stopped()
2147 bt_cap_common_abort_proc(next_bap_stream->conn, err); in bt_cap_initiator_stopped()
2211 struct bt_bap_stream *next_bap_stream; in bt_cap_initiator_released() local
2217 next_bap_stream = &next_cap_stream->bap_stream; in bt_cap_initiator_released()
2221 err = bt_bap_stream_release(next_bap_stream); in bt_cap_initiator_released()
2225 bt_cap_common_abort_proc(next_bap_stream->conn, err); in bt_cap_initiator_released()