/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | bap_stream_tx.c | 48 struct bt_bap_ep_info ep_info; in stream_is_streaming() local 60 err = bt_bap_ep_get_info(bap_stream->ep, &ep_info); in stream_is_streaming() 65 if (ep_info.iso_chan == NULL || ep_info.iso_chan->state != BT_ISO_STATE_CONNECTED) { in stream_is_streaming() 69 return ep_info.state == BT_BAP_EP_STATE_STREAMING; in stream_is_streaming()
|
D | gmap_ugt_test.c | 58 struct bt_bap_ep_info ep_info; in unicast_stream_enabled_cb() local 63 err = bt_bap_ep_get_info(stream->ep, &ep_info); in unicast_stream_enabled_cb() 69 if (ep_info.dir == BT_AUDIO_DIR_SINK) { in unicast_stream_enabled_cb()
|
D | bap_unicast_server_test.c | 240 struct bt_bap_ep_info ep_info; in stream_enabled_cb() local 245 err = bt_bap_ep_get_info(stream->ep, &ep_info); in stream_enabled_cb() 251 if (ep_info.dir == BT_AUDIO_DIR_SINK) { in stream_enabled_cb()
|
D | cap_acceptor_test.c | 315 struct bt_bap_ep_info ep_info; in unicast_stream_enabled_cb() local 321 err = bt_bap_ep_get_info(stream->ep, &ep_info); in unicast_stream_enabled_cb() 327 if (auto_start_sink_streams && ep_info.dir == BT_AUDIO_DIR_SINK) { in unicast_stream_enabled_cb()
|
/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_bap_audio_stream.c | 56 struct bt_bap_ep_info ep_info; in stream_is_streaming() local 68 err = bt_bap_ep_get_info(bap_stream->ep, &ep_info); in stream_is_streaming() 71 if (ep_info.iso_chan == NULL || ep_info.iso_chan->state != BT_ISO_STATE_CONNECTED) { in stream_is_streaming() 75 return ep_info.state == BT_BAP_EP_STATE_STREAMING; in stream_is_streaming()
|
D | btp_bap_unicast.c | 646 struct bt_bap_ep_info ep_info; in stream_connected() local 651 (void)bt_bap_ep_get_info(stream->ep, &ep_info); in stream_connected() 653 if (conn_info.role == BT_HCI_ROLE_CENTRAL && ep_info.dir == BT_AUDIO_DIR_SOURCE) { in stream_connected()
|
/Zephyr-latest/samples/bluetooth/cap_initiator/src/ |
D | cap_initiator_tx.c | 50 struct bt_bap_ep_info ep_info; in tx_thread_func() local 63 err = bt_bap_ep_get_info(bap_stream->ep, &ep_info); in tx_thread_func() 68 if (ep_info.state == BT_BAP_EP_STATE_STREAMING) { in tx_thread_func()
|
D | cap_initiator_unicast.c | 81 struct bt_bap_ep_info ep_info; in is_tx_stream() local 84 err = bt_bap_ep_get_info(stream->ep, &ep_info); in is_tx_stream() 91 return ep_info.dir == BT_AUDIO_DIR_SINK; in is_tx_stream()
|
/Zephyr-latest/samples/bluetooth/bap_unicast_client/src/ |
D | stream_tx.c | 37 struct bt_bap_ep_info ep_info; in stream_is_streaming() local 49 err = bt_bap_ep_get_info(bap_stream->ep, &ep_info); in stream_is_streaming() 54 return ep_info.state == BT_BAP_EP_STATE_STREAMING; in stream_is_streaming()
|
D | main.c | 796 struct bt_bap_ep_info ep_info; in stream_dir() local 799 err = bt_bap_ep_get_info(stream->ep, &ep_info); in stream_dir() 807 return ep_info.dir; in stream_dir()
|
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/ |
D | cap_acceptor_unicast.c | 273 struct bt_bap_ep_info ep_info; in unicast_stream_enabled_cb() local 278 err = bt_bap_ep_get_info(bap_stream->ep, &ep_info); in unicast_stream_enabled_cb() 285 if (ep_info.dir == BT_AUDIO_DIR_SINK) { in unicast_stream_enabled_cb() 370 struct bt_bap_ep_info ep_info; in tx_thread_func() local 373 err = bt_bap_ep_get_info(bap_stream->ep, &ep_info); in tx_thread_func() 375 if (ep_info.state == BT_BAP_EP_STATE_STREAMING) { in tx_thread_func()
|
/Zephyr-latest/subsys/bluetooth/host/classic/shell/ |
D | a2dp.c | 201 static void shell_a2dp_print_capabilities(struct bt_a2dp_ep_info *ep_info) in shell_a2dp_print_capabilities() argument 207 codec_type = ep_info->codec_type; in shell_a2dp_print_capabilities() 208 codec_ie = ep_info->codec_cap.codec_ie; in shell_a2dp_print_capabilities() 209 codec_ie_len = ep_info->codec_cap.len; in shell_a2dp_print_capabilities() 210 shell_print(ctx_shell, "endpoint id: %d, %s, %s:", ep_info->sep_info.id, in shell_a2dp_print_capabilities() 211 (ep_info->sep_info.tsep == BT_AVDTP_SINK) ? "(sink)" : "(source)", in shell_a2dp_print_capabilities() 212 (ep_info->sep_info.inuse) ? "(in use)" : "(idle)"); in shell_a2dp_print_capabilities()
|
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/ |
D | bap_unicast_sr.c | 315 struct bt_bap_ep_info ep_info; in stream_enabled() local 318 err = bt_bap_ep_get_info(stream->ep, &ep_info); in stream_enabled() 325 if (ep_info.dir == BT_AUDIO_DIR_SINK) { in stream_enabled()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | cap_initiator.c | 376 struct bt_bap_ep_info ep_info; in cmd_cap_initiator_unicast_update() local 382 err = bt_bap_ep_get_info(stream->bap_stream.ep, &ep_info); in cmd_cap_initiator_unicast_update() 391 if (ep_info.dir == BT_AUDIO_DIR_SINK) { in cmd_cap_initiator_unicast_update() 408 struct bt_bap_ep_info ep_info; in cmd_cap_initiator_unicast_update() local 424 err = bt_bap_ep_get_info(stream->bap_stream.ep, &ep_info); in cmd_cap_initiator_unicast_update() 433 if (ep_info.dir == BT_AUDIO_DIR_SINK) { in cmd_cap_initiator_unicast_update() 480 struct bt_bap_ep_info ep_info; in cmd_cap_initiator_unicast_stop() local 486 err = bt_bap_ep_get_info(stream->bap_stream.ep, &ep_info); in cmd_cap_initiator_unicast_stop() 500 struct bt_bap_ep_info ep_info; in cmd_cap_initiator_unicast_stop() local 515 err = bt_bap_ep_get_info(stream->bap_stream.ep, &ep_info); in cmd_cap_initiator_unicast_stop()
|
D | bap.c | 1708 struct bt_bap_ep_info ep_info; in conn_list_eps() local 1711 err = bt_bap_ep_get_info(ep, &ep_info); in conn_list_eps() 1713 shell_print(sh, " #%u: ep %p (state: %d)", i, ep, ep_info.state); in conn_list_eps() 1726 struct bt_bap_ep_info ep_info; in conn_list_eps() local 1729 err = bt_bap_ep_get_info(ep, &ep_info); in conn_list_eps() 1731 shell_print(sh, " #%u: ep %p (state: %d)", i, ep, ep_info.state); in conn_list_eps() 2884 struct bt_bap_ep_info ep_info; in stream_enabled_cb() local 2898 err = bt_bap_ep_get_info(stream->ep, &ep_info); in stream_enabled_cb() 2904 if (ep_info.dir == BT_AUDIO_DIR_SINK) { in stream_enabled_cb() 3198 struct bt_bap_ep_info ep_info; in stream_released_cb() local [all …]
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | cap_initiator.c | 402 struct bt_bap_ep_info ep_info; in stream_get_state() local 409 err = bt_bap_ep_get_info(bap_stream->ep, &ep_info); in stream_get_state() 416 return ep_info.state; in stream_get_state() 430 struct bt_bap_ep_info ep_info; in stream_is_dir() local 437 err = bt_bap_ep_get_info(bap_stream->ep, &ep_info); in stream_is_dir() 444 return ep_info.dir == dir; in stream_is_dir() 449 struct bt_bap_ep_info ep_info; in bap_stream_get_iso_state() local 456 err = bt_bap_ep_get_info(bap_stream->ep, &ep_info); in bap_stream_get_iso_state() 463 if (ep_info.iso_chan == NULL) { in bap_stream_get_iso_state() 467 return ep_info.iso_chan->state; in bap_stream_get_iso_state()
|