/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/audio/ |
D | btp_bap.c | 145 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, in set_location() 159 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, in set_available_contexts() 178 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, in set_supported_contexts() 222 err = bt_pacs_cap_unregister(BT_AUDIO_DIR_SOURCE, in pacs_update_characteristic() 231 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, in pacs_update_characteristic() 237 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, in pacs_update_characteristic() 241 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, in pacs_update_characteristic() 275 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, in pacs_set_available_contexts() 292 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, in pacs_set_supported_contexts() 473 bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &cap_source); in tester_init_pacs() [all …]
|
D | btp_bap_unicast.c | 362 if (dir == BT_AUDIO_DIR_SOURCE) { in lc3_config() 651 if (conn_info.role == BT_HCI_ROLE_CENTRAL && ep_info.dir == BT_AUDIO_DIR_SOURCE) { in stream_connected() 887 err = bt_bap_unicast_client_discover(conn, BT_AUDIO_DIR_SOURCE); in discover_cb() 1022 if (info.dir == BT_AUDIO_DIR_SOURCE) { in client_unicast_group_param_set()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/audio/src/ |
D | pacs_notify_server_test.c | 134 bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, caps); in trigger_notifications() 143 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, src_loc); in trigger_notifications() 173 bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, BT_AUDIO_CONTEXT_TYPE_ANY); in test_main() 175 bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, BT_AUDIO_CONTEXT_TYPE_ANY); in test_main() 179 bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &caps_1); in test_main() 187 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, BT_AUDIO_LOCATION_FRONT_RIGHT); in test_main()
|
D | gmap_ugt_test.c | 247 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, LOCATION); in set_location() 271 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, CONTEXT); in set_supported_contexts() 294 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, CONTEXT); in set_available_contexts() 400 err = bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &unicast_cap); in test_main()
|
D | bap_unicast_server_test.c | 383 } else if (info.dir == BT_AUDIO_DIR_SOURCE && source_stream == NULL) { in transceive_test_streams() 427 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, (BT_AUDIO_LOCATION_FRONT_LEFT | in set_location() 458 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, in set_available_contexts() 465 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, in set_available_contexts() 498 err = bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &cap); in init()
|
D | cap_acceptor_test.c | 604 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, in set_location() 631 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, SOURCE_CONTEXT); in set_supported_contexts() 684 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, SOURCE_CONTEXT); in set_available_contexts() 735 err = bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &unicast_cap); in init()
|
D | gmap_ugg_test.c | 162 } else if (dir == BT_AUDIO_DIR_SOURCE) { in gmap_get_named_preset() 385 } else if (dir == BT_AUDIO_DIR_SOURCE) { in bap_endpoint_cb() 400 } else if (dir == BT_AUDIO_DIR_SOURCE) { in bap_discover_cb() 595 err = bt_bap_unicast_client_discover(conn, BT_AUDIO_DIR_SOURCE); in discover_source() 1522 gmap_get_named_preset(true, BT_AUDIO_DIR_SOURCE, preset_arg); in test_args()
|
D | cap_initiator_unicast_test.c | 330 } else if (dir == BT_AUDIO_DIR_SOURCE) { in discover_cb() 344 } else if (dir == BT_AUDIO_DIR_SOURCE) { in endpoint_cb() 496 err = bt_bap_unicast_client_discover(conn, BT_AUDIO_DIR_SOURCE); in discover_source()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/ |
D | bap_iso.c | 159 if (dir == BT_AUDIO_DIR_SOURCE) { in bap_iso_get_iso_dir() 222 __ASSERT(ep->dir == BT_AUDIO_DIR_SINK || ep->dir == BT_AUDIO_DIR_SOURCE, in bt_bap_iso_bind_ep() 242 __ASSERT(ep->dir == BT_AUDIO_DIR_SINK || ep->dir == BT_AUDIO_DIR_SOURCE, in bt_bap_iso_unbind_ep() 260 __ASSERT(dir == BT_AUDIO_DIR_SINK || dir == BT_AUDIO_DIR_SOURCE, in bt_bap_iso_get_ep() 293 if (dir == BT_AUDIO_DIR_SOURCE) { in bt_bap_iso_bind_stream() 318 if (dir == BT_AUDIO_DIR_SOURCE) { in bt_bap_iso_unbind_stream() 334 __ASSERT(dir == BT_AUDIO_DIR_SINK || dir == BT_AUDIO_DIR_SOURCE, in bt_bap_iso_get_stream() 340 if (dir == BT_AUDIO_DIR_SOURCE) { in bt_bap_iso_get_stream()
|
D | pacs.c | 234 case BT_AUDIO_DIR_SOURCE: in pacs_get_available_contexts_for_conn() 254 pacs_get_available_contexts_for_conn(conn, BT_AUDIO_DIR_SOURCE)), in available_contexts_read() 279 case BT_AUDIO_DIR_SOURCE: in supported_context_get() 295 .src = sys_cpu_to_le16(supported_context_get(BT_AUDIO_DIR_SOURCE)), in supported_context_read() 577 case BT_AUDIO_DIR_SOURCE: in pacs_get() 693 case BT_AUDIO_DIR_SOURCE: in pac_notify_loc() 726 case BT_AUDIO_DIR_SOURCE: in pac_notify() 767 pacs_get_available_contexts_for_conn(conn, BT_AUDIO_DIR_SOURCE)), in available_contexts_notify() 785 .src = sys_cpu_to_le16(supported_context_get(BT_AUDIO_DIR_SOURCE)), in supported_contexts_notify() 889 err = pac_notify(conn, BT_AUDIO_DIR_SOURCE); in notify_cb() [all …]
|
D | audio_internal.h | 74 case BT_AUDIO_DIR_SOURCE: in bt_audio_dir_str()
|
D | bap_unicast_client.c | 68 #define PAC_DIR_UNUSED(dir) ((dir) != BT_AUDIO_DIR_SINK && (dir) != BT_AUDIO_DIR_SOURCE) 153 if (ep->receiver_ready != true || ep->dir != BT_AUDIO_DIR_SOURCE) { in unicast_client_send_start() 533 case BT_AUDIO_DIR_SOURCE: in unicast_client_ep_new() 645 if (ep->dir == BT_AUDIO_DIR_SOURCE) { in unicast_client_ep_qos_update() 776 } else if (ep->dir == BT_AUDIO_DIR_SOURCE && in unicast_client_ep_qos_state() 1064 if (ep->dir == BT_AUDIO_DIR_SOURCE) { in unicast_client_ep_set_status() 1135 if (ep->dir == BT_AUDIO_DIR_SOURCE) { in unicast_client_ep_set_status() 1171 if (ep->dir == BT_AUDIO_DIR_SOURCE) { in unicast_client_ep_set_status() 2322 if (bt_bap_iso_get_ep(true, iso, BT_AUDIO_DIR_SOURCE) == NULL) { in unicast_client_codec_qos_to_iso_qos() 2400 unicast_group_add_stream(group, param->rx_param, iso, BT_AUDIO_DIR_SOURCE); in unicast_group_add_stream_pair() [all …]
|
D | bap_stream.c | 155 info->can_recv = dir == BT_AUDIO_DIR_SOURCE; in bt_bap_ep_get_info() 160 info->can_send = dir == BT_AUDIO_DIR_SOURCE; in bt_bap_ep_get_info()
|
D | ascs.c | 70 (_id > CONFIG_BT_ASCS_ASE_SNK_COUNT ? BT_AUDIO_DIR_SOURCE : BT_AUDIO_DIR_SINK) 631 valid_state_transition = ase->ep.dir == BT_AUDIO_DIR_SOURCE; in ascs_ep_set_state() 666 valid_state_transition = ase->ep.dir == BT_AUDIO_DIR_SOURCE; in ascs_ep_set_state() 680 valid_state_transition = ase->ep.dir == BT_AUDIO_DIR_SOURCE; in ascs_ep_set_state() 959 } else if (ep->dir == BT_AUDIO_DIR_SOURCE) { in ascs_update_sdu_size() 1266 if (ep->dir == BT_AUDIO_DIR_SOURCE) { in ase_disable()
|
/Zephyr-Core-3.7.0/samples/bluetooth/tmap_peripheral/src/ |
D | bap_unicast_sr.c | 141 if (dir == BT_AUDIO_DIR_SOURCE) { in lc3_config() 374 bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &cap); in bap_unicast_sr_init() 377 bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, BT_AUDIO_LOCATION_FRONT_LEFT); in bap_unicast_sr_init() 379 bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, BT_AUDIO_LOCATION_FRONT_RIGHT); in bap_unicast_sr_init() 382 bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, in bap_unicast_sr_init() 384 bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, in bap_unicast_sr_init()
|
/Zephyr-Core-3.7.0/samples/bluetooth/bap_unicast_server/src/ |
D | main.c | 249 return BT_AUDIO_DIR_SOURCE; in stream_dir() 265 if (dir == BT_AUDIO_DIR_SOURCE) { in stream_alloc() 304 if (dir == BT_AUDIO_DIR_SOURCE) { in lc3_config() 641 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, in set_location() 671 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, in set_supported_contexts() 700 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, in set_available_contexts() 728 bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &cap_source); in main()
|
/Zephyr-Core-3.7.0/samples/bluetooth/hap_ha/src/ |
D | main.c | 226 bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, in main() 228 bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, in main()
|
D | bap_unicast_sr.c | 213 if (dir == BT_AUDIO_DIR_SOURCE) { in lc3_config() 421 bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &cap_source); in bap_unicast_sr_init()
|
/Zephyr-Core-3.7.0/samples/bluetooth/tmap_central/src/ |
D | cap_initiator.c | 241 } else if (dir == BT_AUDIO_DIR_SOURCE) { in discover_cb() 255 if (dir == BT_AUDIO_DIR_SOURCE) { in endpoint_cb() 285 err = bt_bap_unicast_client_discover(conn, BT_AUDIO_DIR_SOURCE); in discover_sources()
|
/Zephyr-Core-3.7.0/samples/bluetooth/cap_acceptor/src/ |
D | main.c | 139 } else if (dir == BT_AUDIO_DIR_SOURCE && peer.source_stream.bap_stream.ep == NULL) { in stream_alloc() 284 err = register_pac(BT_AUDIO_DIR_SOURCE, SOURCE_CONTEXT, &source_cap); in init_cap_acceptor()
|
/Zephyr-Core-3.7.0/samples/bluetooth/cap_initiator/src/ |
D | cap_initiator_unicast.c | 262 } else if (dir == BT_AUDIO_DIR_SOURCE) { in discover_cb() 281 if (dir == BT_AUDIO_DIR_SOURCE) { in endpoint_cb() 321 err = bt_bap_unicast_client_discover(peer.conn, BT_AUDIO_DIR_SOURCE); in discover_sources()
|
/Zephyr-Core-3.7.0/samples/bluetooth/bap_unicast_client/src/ |
D | main.c | 481 if (dir == BT_AUDIO_DIR_SOURCE) { in endpoint_cb() 578 err = bt_bap_unicast_client_discover(default_conn, BT_AUDIO_DIR_SOURCE); in discover_sources() 802 if (stream_dir(stream) == BT_AUDIO_DIR_SOURCE) { in start_streams()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/shell/ |
D | bap.c | 902 return BT_AUDIO_DIR_SOURCE; in stream_dir() 973 if (dir == BT_AUDIO_DIR_SOURCE) { in endpoint_cb() 988 dir = BT_AUDIO_DIR_SOURCE; in discover_all() 1123 dir = BT_AUDIO_DIR_SOURCE; in cmd_discover() 1196 dir = BT_AUDIO_DIR_SOURCE; in cmd_config() 2203 dir = BT_AUDIO_DIR_SOURCE; in cmd_preset() 2207 dir = BT_AUDIO_DIR_SOURCE; in cmd_preset() 3246 named_preset = bap_get_named_preset(false, BT_AUDIO_DIR_SOURCE, in cmd_create_broadcast() 3559 dir = BT_AUDIO_DIR_SOURCE; in cmd_set_loc() 3599 dir = BT_AUDIO_DIR_SOURCE; in cmd_context() [all …]
|
D | gmap.c | 249 } else if (dir == BT_AUDIO_DIR_SOURCE) { in gmap_get_named_preset()
|
/Zephyr-Core-3.7.0/tests/bluetooth/audio/ascs/src/ |
D | test_ase_state_transition.c | 628 expect_bt_bap_unicast_server_cb_config_called_once(conn, EMPTY, BT_AUDIO_DIR_SOURCE, EMPTY); in ZTEST_F() 738 expect_bt_bap_unicast_server_cb_reconfig_called_once(stream, BT_AUDIO_DIR_SOURCE, EMPTY); in ZTEST_F() 773 expect_bt_bap_unicast_server_cb_reconfig_called_once(stream, BT_AUDIO_DIR_SOURCE, EMPTY); in ZTEST_F() 978 expect_bt_bap_unicast_server_cb_reconfig_called_once(stream, BT_AUDIO_DIR_SOURCE, EMPTY); in ZTEST_F() 1019 expect_bt_bap_unicast_server_cb_reconfig_called_once(stream, BT_AUDIO_DIR_SOURCE, EMPTY); in ZTEST_F()
|