| /Zephyr-latest/tests/bluetooth/tester/src/audio/ |
| D | btp_bap.c | 146 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, in set_location() 160 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, in set_available_contexts() 179 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, in set_supported_contexts() 223 err = bt_pacs_cap_unregister(BT_AUDIO_DIR_SOURCE, in pacs_update_characteristic() 232 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, in pacs_update_characteristic() 238 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, in pacs_update_characteristic() 242 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, in pacs_update_characteristic() 276 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, in pacs_set_available_contexts() 293 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, in pacs_set_supported_contexts() 516 bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &cap_source); in tester_init_pacs() [all …]
|
| D | btp_bap_unicast.c | 363 if (dir == BT_AUDIO_DIR_SOURCE) { in lc3_config() 653 if (conn_info.role == BT_HCI_ROLE_CENTRAL && ep_info.dir == BT_AUDIO_DIR_SOURCE) { in stream_connected() 895 err = bt_bap_unicast_client_discover(conn, BT_AUDIO_DIR_SOURCE); in discover_cb() 1035 if (info.dir == BT_AUDIO_DIR_SOURCE) { in client_unicast_group_param_set()
|
| /Zephyr-latest/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() 183 bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, BT_AUDIO_CONTEXT_TYPE_ANY); in test_main() 185 bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, BT_AUDIO_CONTEXT_TYPE_ANY); in test_main() 189 bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &caps_1); in test_main() 197 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, BT_AUDIO_LOCATION_FRONT_RIGHT); in test_main()
|
| D | bap_unicast_server_test.c | 323 } else if (info.dir == BT_AUDIO_DIR_SOURCE && source_stream == NULL) { in transceive_test_streams() 357 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, (BT_AUDIO_LOCATION_FRONT_LEFT | in set_location() 388 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, in set_available_contexts() 395 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, in set_available_contexts() 457 err = bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &cap); in init()
|
| D | gmap_ugt_test.c | 290 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, LOCATION); in set_location() 314 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, CONTEXT); in set_supported_contexts() 337 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, CONTEXT); in set_available_contexts() 476 err = bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &unicast_cap); in test_main()
|
| D | cap_acceptor_test.c | 609 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, in set_location() 636 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, SOURCE_CONTEXT); in set_supported_contexts() 667 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, SOURCE_CONTEXT); in set_available_contexts() 742 err = bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &unicast_cap); in init()
|
| D | gmap_ugg_test.c | 142 } else if (dir == BT_AUDIO_DIR_SOURCE) { in gmap_get_named_preset() 350 } else if (dir == BT_AUDIO_DIR_SOURCE) { in bap_endpoint_cb() 365 } else if (dir == BT_AUDIO_DIR_SOURCE) { in bap_discover_cb() 572 err = bt_bap_unicast_client_discover(conn, BT_AUDIO_DIR_SOURCE); in discover_source() 1484 gmap_get_named_preset(true, BT_AUDIO_DIR_SOURCE, preset_arg); in test_args()
|
| D | cap_initiator_unicast_test.c | 366 } else if (dir == BT_AUDIO_DIR_SOURCE) { in discover_cb() 380 } else if (dir == BT_AUDIO_DIR_SOURCE) { in endpoint_cb() 568 err = bt_bap_unicast_client_discover(conn, BT_AUDIO_DIR_SOURCE); in discover_source()
|
| /Zephyr-latest/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 | 252 case BT_AUDIO_DIR_SOURCE: in pacs_get_available_contexts_for_conn() 273 pacs_get_available_contexts_for_conn(conn, BT_AUDIO_DIR_SOURCE)), in available_contexts_read() 301 case BT_AUDIO_DIR_SOURCE: in supported_context_get() 320 .src = sys_cpu_to_le16(supported_context_get(BT_AUDIO_DIR_SOURCE)), in supported_context_read() 609 case BT_AUDIO_DIR_SOURCE: in pacs_get_pac() 920 case BT_AUDIO_DIR_SOURCE: in pac_notify_loc() 953 case BT_AUDIO_DIR_SOURCE: in pac_notify() 994 pacs_get_available_contexts_for_conn(conn, BT_AUDIO_DIR_SOURCE)), in available_contexts_notify() 1012 .src = sys_cpu_to_le16(supported_context_get(BT_AUDIO_DIR_SOURCE)), in supported_contexts_notify() 1121 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) 161 if (ep->receiver_ready != true || ep->dir != BT_AUDIO_DIR_SOURCE) { in unicast_client_send_start() 545 case BT_AUDIO_DIR_SOURCE: in unicast_client_ep_new() 834 if (ep->dir == BT_AUDIO_DIR_SOURCE) { in unicast_client_ep_qos_update() 975 } else if (ep->dir == BT_AUDIO_DIR_SOURCE && in unicast_client_ep_qos_state() 1263 if (ep->dir == BT_AUDIO_DIR_SOURCE) { in unicast_client_ep_set_status() 1334 if (ep->dir == BT_AUDIO_DIR_SOURCE) { in unicast_client_ep_set_status() 1370 if (ep->dir == BT_AUDIO_DIR_SOURCE) { in unicast_client_ep_set_status() 2464 if (bt_bap_iso_get_ep(true, iso, BT_AUDIO_DIR_SOURCE) == NULL) { in unicast_client_qos_cfg_to_iso_qos() 2506 if (dir == BT_AUDIO_DIR_SOURCE) { in unicast_group_set_iso_stream_param() [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 | 71 (_id > CONFIG_BT_ASCS_MAX_ASE_SNK_COUNT ? BT_AUDIO_DIR_SOURCE : BT_AUDIO_DIR_SINK) 625 valid_state_transition = ase->ep.dir == BT_AUDIO_DIR_SOURCE; in ascs_ep_set_state() 660 valid_state_transition = ase->ep.dir == BT_AUDIO_DIR_SOURCE; in ascs_ep_set_state() 674 valid_state_transition = ase->ep.dir == BT_AUDIO_DIR_SOURCE; in ascs_ep_set_state() 953 } else if (ep->dir == BT_AUDIO_DIR_SOURCE) { in ascs_update_sdu_size() 1260 if (ep->dir == BT_AUDIO_DIR_SOURCE) { in ase_disable()
|
| /Zephyr-latest/samples/bluetooth/tmap_peripheral/src/ |
| D | bap_unicast_sr.c | 154 if (dir == BT_AUDIO_DIR_SOURCE) { in lc3_config() 408 bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &cap); in bap_unicast_sr_init() 411 bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, BT_AUDIO_LOCATION_FRONT_LEFT); in bap_unicast_sr_init() 413 bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, BT_AUDIO_LOCATION_FRONT_RIGHT); in bap_unicast_sr_init() 416 bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, in bap_unicast_sr_init() 418 bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, in bap_unicast_sr_init()
|
| /Zephyr-latest/samples/bluetooth/hap_ha/src/ |
| D | main.c | 232 bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, in main() 234 bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, in main()
|
| D | bap_unicast_sr.c | 230 if (dir == BT_AUDIO_DIR_SOURCE) { in lc3_config() 458 bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &cap_source); in bap_unicast_sr_init()
|
| /Zephyr-latest/samples/bluetooth/bap_unicast_server/src/ |
| D | main.c | 268 return BT_AUDIO_DIR_SOURCE; in stream_dir() 284 if (dir == BT_AUDIO_DIR_SOURCE) { in stream_alloc() 323 if (dir == BT_AUDIO_DIR_SOURCE) { in lc3_config() 653 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, in set_location() 683 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, in set_supported_contexts() 712 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, in set_available_contexts() 754 bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &cap_source); in main()
|
| /Zephyr-latest/samples/bluetooth/tmap_central/src/ |
| D | cap_initiator.c | 251 } else if (dir == BT_AUDIO_DIR_SOURCE) { in discover_cb() 265 if (dir == BT_AUDIO_DIR_SOURCE) { in endpoint_cb() 295 err = bt_bap_unicast_client_discover(conn, BT_AUDIO_DIR_SOURCE); in discover_sources()
|
| /Zephyr-latest/samples/bluetooth/cap_acceptor/src/ |
| D | main.c | 146 } else if (dir == BT_AUDIO_DIR_SOURCE && peer.source_stream.bap_stream.ep == NULL) { in stream_alloc() 303 err = register_pac(BT_AUDIO_DIR_SOURCE, SOURCE_CONTEXT, &source_cap); in init_cap_acceptor()
|
| /Zephyr-latest/samples/bluetooth/cap_initiator/src/ |
| D | cap_initiator_unicast.c | 263 } else if (dir == BT_AUDIO_DIR_SOURCE) { in discover_cb() 282 if (dir == BT_AUDIO_DIR_SOURCE) { in endpoint_cb() 322 err = bt_bap_unicast_client_discover(peer.conn, BT_AUDIO_DIR_SOURCE); in discover_sources()
|
| /Zephyr-latest/samples/bluetooth/bap_unicast_client/src/ |
| D | main.c | 494 if (dir == BT_AUDIO_DIR_SOURCE) { in endpoint_cb() 591 err = bt_bap_unicast_client_discover(default_conn, BT_AUDIO_DIR_SOURCE); in discover_sources() 815 if (stream_dir(stream) == BT_AUDIO_DIR_SOURCE) { in start_streams()
|
| /Zephyr-latest/subsys/bluetooth/audio/shell/ |
| D | bap.c | 901 return BT_AUDIO_DIR_SOURCE; in stream_dir() 971 if (dir == BT_AUDIO_DIR_SOURCE) { in endpoint_cb() 986 dir = BT_AUDIO_DIR_SOURCE; in discover_all() 1121 dir = BT_AUDIO_DIR_SOURCE; in cmd_discover() 1194 dir = BT_AUDIO_DIR_SOURCE; in cmd_config() 2235 dir = BT_AUDIO_DIR_SOURCE; in cmd_preset() 2239 dir = BT_AUDIO_DIR_SOURCE; in cmd_preset() 3311 named_preset = bap_get_named_preset(false, BT_AUDIO_DIR_SOURCE, in cmd_create_broadcast() 3664 dir = BT_AUDIO_DIR_SOURCE; in cmd_set_loc() 3704 dir = BT_AUDIO_DIR_SOURCE; in cmd_context() [all …]
|
| /Zephyr-latest/tests/bluetooth/audio/ascs/src/ |
| D | test_ase_state_transition.c | 687 expect_bt_bap_unicast_server_cb_config_called_once(conn, EMPTY, BT_AUDIO_DIR_SOURCE, EMPTY); in ZTEST_F() 797 expect_bt_bap_unicast_server_cb_reconfig_called_once(stream, BT_AUDIO_DIR_SOURCE, EMPTY); in ZTEST_F() 832 expect_bt_bap_unicast_server_cb_reconfig_called_once(stream, BT_AUDIO_DIR_SOURCE, EMPTY); in ZTEST_F() 1037 expect_bt_bap_unicast_server_cb_reconfig_called_once(stream, BT_AUDIO_DIR_SOURCE, EMPTY); in ZTEST_F() 1078 expect_bt_bap_unicast_server_cb_reconfig_called_once(stream, BT_AUDIO_DIR_SOURCE, EMPTY); in ZTEST_F()
|
| /Zephyr-latest/tests/bluetooth/audio/cap_initiator/uut/ |
| D | bap_unicast_client.c | 255 } else if (stream->ep->dir == BT_AUDIO_DIR_SOURCE) { in bt_bap_unicast_client_disable()
|