/Zephyr-Core-3.5.0/tests/bsim/bluetooth/audio/src/ |
D | pacs_notify_server_test.c | 115 bt_pacs_cap_register(BT_AUDIO_DIR_SINK, caps); in trigger_notifications() 119 err = bt_pacs_set_location(BT_AUDIO_DIR_SINK, snk_loc); in trigger_notifications() 132 bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SINK, supported); in trigger_notifications() 136 bt_pacs_set_available_contexts(BT_AUDIO_DIR_SINK, available); in trigger_notifications() 153 bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SINK, BT_AUDIO_CONTEXT_TYPE_ANY); in test_main() 155 bt_pacs_set_available_contexts(BT_AUDIO_DIR_SINK, BT_AUDIO_CONTEXT_TYPE_ANY); in test_main() 159 bt_pacs_cap_register(BT_AUDIO_DIR_SINK, &caps_1); in test_main() 162 err = bt_pacs_set_location(BT_AUDIO_DIR_SINK, BT_AUDIO_LOCATION_FRONT_LEFT); in test_main()
|
D | bap_unicast_server_test.c | 220 if (ep_info.dir == BT_AUDIO_DIR_SINK) { in stream_enabled_cb() 247 err = bt_pacs_set_location(BT_AUDIO_DIR_SINK, BT_AUDIO_LOCATION_FRONT_CENTER); in set_location() 270 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SINK, in set_available_contexts() 278 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SINK, in set_available_contexts() 320 err = bt_pacs_cap_register(BT_AUDIO_DIR_SINK, &cap); in init()
|
D | cap_acceptor_test.c | 313 if (auto_start_sink_streams && ep_info.dir == BT_AUDIO_DIR_SINK) { in unicast_stream_enabled_cb() 477 err = bt_pacs_set_location(BT_AUDIO_DIR_SINK, in set_location() 503 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SINK, SINK_CONTEXT); in set_supported_contexts() 531 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SINK, SINK_CONTEXT); in set_available_contexts() 580 err = bt_pacs_cap_register(BT_AUDIO_DIR_SINK, &unicast_cap); in init() 620 err = bt_pacs_cap_register(BT_AUDIO_DIR_SINK, &broadcast_cap); in init()
|
D | bap_unicast_client_test.c | 275 if (dir == BT_AUDIO_DIR_SINK) { in endpoint_cb() 461 err = bt_bap_unicast_client_discover(default_conn, BT_AUDIO_DIR_SINK); in discover_sinks()
|
D | bap_broadcast_sink_test.c | 225 err = bt_pacs_cap_register(BT_AUDIO_DIR_SINK, &cap); in init()
|
D | cap_initiator_unicast_test.c | 290 if (dir == BT_AUDIO_DIR_SINK) { in discover_cb() 305 if (dir == BT_AUDIO_DIR_SINK) { in endpoint_cb() 434 err = bt_bap_unicast_client_discover(conn, BT_AUDIO_DIR_SINK); in discover_sink()
|
/Zephyr-Core-3.5.0/samples/bluetooth/hap_ha/src/ |
D | main.c | 213 bt_pacs_set_location(BT_AUDIO_DIR_SINK, in main() 217 bt_pacs_set_location(BT_AUDIO_DIR_SINK, in main() 221 bt_pacs_set_available_contexts(BT_AUDIO_DIR_SINK, in main()
|
D | bap_unicast_sr.c | 395 bt_pacs_cap_register(BT_AUDIO_DIR_SINK, &cap_sink); in bap_unicast_sr_init() 404 bt_pacs_set_location(BT_AUDIO_DIR_SINK, in bap_unicast_sr_init() 408 bt_pacs_set_location(BT_AUDIO_DIR_SINK, in bap_unicast_sr_init() 411 bt_pacs_set_location(BT_AUDIO_DIR_SINK, in bap_unicast_sr_init()
|
/Zephyr-Core-3.5.0/samples/bluetooth/tmap_peripheral/src/ |
D | bap_unicast_sr.c | 340 bt_pacs_cap_register(BT_AUDIO_DIR_SINK, &cap); in bap_unicast_sr_init() 343 bt_pacs_set_location(BT_AUDIO_DIR_SINK, BT_AUDIO_LOCATION_FRONT_LEFT); in bap_unicast_sr_init() 345 bt_pacs_set_location(BT_AUDIO_DIR_SINK, BT_AUDIO_LOCATION_FRONT_RIGHT); in bap_unicast_sr_init() 348 bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SINK, in bap_unicast_sr_init() 350 bt_pacs_set_available_contexts(BT_AUDIO_DIR_SINK, in bap_unicast_sr_init()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/ |
D | bap_iso.c | 160 if (dir == BT_AUDIO_DIR_SINK) { in bap_iso_get_iso_dir() 179 __ASSERT(ep->dir == BT_AUDIO_DIR_SINK || ep->dir == BT_AUDIO_DIR_SOURCE, in bt_bap_iso_bind_ep() 199 __ASSERT(ep->dir == BT_AUDIO_DIR_SINK || ep->dir == BT_AUDIO_DIR_SOURCE, in bt_bap_iso_unbind_ep() 217 __ASSERT(dir == BT_AUDIO_DIR_SINK || dir == BT_AUDIO_DIR_SOURCE, in bt_bap_iso_get_ep() 291 __ASSERT(dir == BT_AUDIO_DIR_SINK || dir == BT_AUDIO_DIR_SOURCE, in bt_bap_iso_get_stream()
|
D | pacs.c | 543 case BT_AUDIO_DIR_SINK: in pacs_get() 655 case BT_AUDIO_DIR_SINK: in pac_notify_loc() 692 case BT_AUDIO_DIR_SINK: in pac_notify() 832 err = pac_notify(conn, BT_AUDIO_DIR_SINK); in notify_cb() 841 err = pac_notify_loc(conn, BT_AUDIO_DIR_SINK); in notify_cb() 975 if (dir == BT_AUDIO_DIR_SINK) { in bt_pacs_context_available() 1048 if (IS_ENABLED(CONFIG_BT_PAC_SNK_NOTIFIABLE) && dir == BT_AUDIO_DIR_SINK) { in bt_pacs_cap_register() 1083 case BT_AUDIO_DIR_SINK: in bt_pacs_cap_unregister() 1104 case BT_AUDIO_DIR_SINK: in bt_pacs_set_location() 1120 case BT_AUDIO_DIR_SINK: in bt_pacs_set_available_contexts() [all …]
|
D | audio_internal.h | 67 case BT_AUDIO_DIR_SINK: in bt_audio_dir_str()
|
D | bap_unicast_server.c | 96 if (ep->dir != BT_AUDIO_DIR_SINK) { in bt_bap_unicast_server_start()
|
D | bap_unicast_client.c | 50 #define PAC_DIR_UNUSED(dir) ((dir) != BT_AUDIO_DIR_SINK && (dir) != BT_AUDIO_DIR_SOURCE) 502 case BT_AUDIO_DIR_SINK: in unicast_client_ep_new() 623 } else if (ep->dir == BT_AUDIO_DIR_SINK) { in unicast_client_ep_qos_update() 731 if (ep->dir == BT_AUDIO_DIR_SINK && stream->ops != NULL && stream->ops->disabled != NULL) { in unicast_client_ep_qos_state() 2281 if (dir == BT_AUDIO_DIR_SINK) { in unicast_client_codec_qos_to_iso_qos() 2296 if (bt_bap_iso_get_ep(true, iso, BT_AUDIO_DIR_SINK) == NULL) { in unicast_client_codec_qos_to_iso_qos() 2365 unicast_group_add_stream(group, param->tx_param, iso, BT_AUDIO_DIR_SINK); in unicast_group_add_stream_pair() 2410 unicast_group_del_stream(group, param->tx_param->stream, BT_AUDIO_DIR_SINK); in unicast_group_del_stream_pair() 2451 BT_AUDIO_DIR_SINK); in unicast_group_free() 2826 case BT_AUDIO_DIR_SINK: in bt_bap_unicast_client_qos() [all …]
|
D | ascs.c | 53 (_id > CONFIG_BT_ASCS_ASE_SNK_COUNT ? BT_AUDIO_DIR_SOURCE : BT_AUDIO_DIR_SINK) 192 if (ep->dir == BT_AUDIO_DIR_SINK) { in ascs_disconnect_stream_work_handler() 322 if (ase->ep.dir == BT_AUDIO_DIR_SINK && ase->ep.receiver_ready && ase->ep.iso != NULL && in ase_set_state_enabling() 478 valid_state_transition = ase->ep.dir == BT_AUDIO_DIR_SINK || in ascs_ep_set_state() 796 if (ep->dir == BT_AUDIO_DIR_SINK) { in ascs_update_sdu_size() 835 if (ep->dir == BT_AUDIO_DIR_SINK && ep->receiver_ready) { in ascs_ep_iso_connected() 1773 if (ep->dir == BT_AUDIO_DIR_SINK) { in ase_stream_qos() 2388 if (ASE_DIR(id) == BT_AUDIO_DIR_SINK) { in ascs_start() 2599 if (ASE_DIR(id) == BT_AUDIO_DIR_SINK) { in ascs_stop()
|
D | bap_broadcast_sink.c | 718 ep->dir = BT_AUDIO_DIR_SINK; in broadcast_sink_ep_init() 969 bt_pacs_cap_foreach(BT_AUDIO_DIR_SINK, codec_lookup_id, in bt_bap_broadcast_sink_sync()
|
/Zephyr-Core-3.5.0/samples/bluetooth/unicast_audio_server/src/ |
D | main.c | 251 return BT_AUDIO_DIR_SINK; in stream_dir() 554 if (stream_dir(stream) == BT_AUDIO_DIR_SINK) { in stream_enabled_cb() 626 err = bt_pacs_set_location(BT_AUDIO_DIR_SINK, in set_location() 654 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SINK, in set_supported_contexts() 685 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SINK, in set_available_contexts() 721 bt_pacs_cap_register(BT_AUDIO_DIR_SINK, &cap_sink); in main()
|
/Zephyr-Core-3.5.0/samples/bluetooth/tmap_central/src/ |
D | cap_initiator.c | 239 if (dir == BT_AUDIO_DIR_SINK) { in discover_cb() 258 } else if (dir == BT_AUDIO_DIR_SINK) { in endpoint_cb() 267 err = bt_bap_unicast_client_discover(conn, BT_AUDIO_DIR_SINK); in discover_sinks()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/shell/ |
D | bap.c | 731 return BT_AUDIO_DIR_SINK; in stream_dir() 806 if (dir == BT_AUDIO_DIR_SINK) { in endpoint_cb() 826 if (dir == BT_AUDIO_DIR_SINK) { in discover_all() 955 dir = BT_AUDIO_DIR_SINK; in cmd_discover() 1303 if (stream_dir(stream) == BT_AUDIO_DIR_SINK) { in create_unicast_group() 1908 if (ep_info.dir == BT_AUDIO_DIR_SINK) { in stream_enabled_cb() 2378 dir = BT_AUDIO_DIR_SINK; in cmd_set_loc() 2419 dir = BT_AUDIO_DIR_SINK; in cmd_context() 2480 bt_pacs_cap_register(BT_AUDIO_DIR_SINK, &cap_sink); in cmd_init() 2488 err = bt_pacs_set_location(BT_AUDIO_DIR_SINK, LOCATION); in cmd_init() [all …]
|
D | cap_initiator.c | 381 if (ep_info.dir == BT_AUDIO_DIR_SINK) { in cmd_cap_initiator_unicast_update() 423 if (ep_info.dir == BT_AUDIO_DIR_SINK) { in cmd_cap_initiator_unicast_update()
|
/Zephyr-Core-3.5.0/tests/bluetooth/tester/src/ |
D | btp_bap.c | 576 if (conn_info.role == BT_HCI_ROLE_PERIPHERAL && info.dir == BT_AUDIO_DIR_SINK) { in stream_enabled() 644 if (stream->ep->dir == BT_AUDIO_DIR_SINK) { in stream_released() 978 if (dir == BT_AUDIO_DIR_SINK) { in discover_cb() 1032 err = bt_bap_unicast_client_discover(conn, BT_AUDIO_DIR_SINK); in bap_discover() 2424 err = bt_pacs_set_location(BT_AUDIO_DIR_SINK, in set_location() 2451 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SINK, in set_available_contexts() 2470 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SINK, in set_supported_contexts() 2504 err = bt_pacs_cap_unregister(BT_AUDIO_DIR_SINK, in pacs_update_characteristic() 2512 err = bt_pacs_set_location(BT_AUDIO_DIR_SINK, in pacs_update_characteristic() 2560 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SINK, in pacs_set_available_contexts() [all …]
|
/Zephyr-Core-3.5.0/tests/bluetooth/audio/ascs/src/ |
D | test_ase_state_transition.c | 90 expect_bt_bap_unicast_server_cb_config_called_once(conn, EMPTY, BT_AUDIO_DIR_SINK, EMPTY); in ZTEST_F() 176 expect_bt_bap_unicast_server_cb_reconfig_called_once(stream, BT_AUDIO_DIR_SINK, EMPTY); in ZTEST_F() 210 expect_bt_bap_unicast_server_cb_reconfig_called_once(stream, BT_AUDIO_DIR_SINK, EMPTY); in ZTEST_F() 359 expect_bt_bap_unicast_server_cb_reconfig_called_once(stream, BT_AUDIO_DIR_SINK, EMPTY); in ZTEST_F() 399 expect_bt_bap_unicast_server_cb_reconfig_called_once(stream, BT_AUDIO_DIR_SINK, EMPTY); in ZTEST_F()
|
/Zephyr-Core-3.5.0/samples/bluetooth/tmap_bmr/src/ |
D | bap_broadcast_sink.c | 320 err = bt_pacs_cap_register(BT_AUDIO_DIR_SINK, &cap); in bap_broadcast_sink_init()
|
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/audio/ |
D | audio.h | 386 BT_AUDIO_DIR_SINK = 0x01, enumerator
|
/Zephyr-Core-3.5.0/samples/bluetooth/unicast_audio_client/src/ |
D | main.c | 735 } else if (dir == BT_AUDIO_DIR_SINK) { in endpoint_cb() 811 err = bt_bap_unicast_client_discover(default_conn, BT_AUDIO_DIR_SINK); in discover_sinks()
|