/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() 488 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() 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 | bap_unicast_server_test.c | 336 } else if (info.dir == BT_AUDIO_DIR_SOURCE && source_stream == NULL) { in transceive_test_streams() 370 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, (BT_AUDIO_LOCATION_FRONT_LEFT | in set_location() 401 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, in set_available_contexts() 408 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, in set_available_contexts() 449 err = bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &cap); in init()
|
D | gmap_ugt_test.c | 252 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, LOCATION); in set_location() 276 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, CONTEXT); in set_supported_contexts() 299 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, CONTEXT); in set_available_contexts() 405 err = bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &unicast_cap); in test_main()
|
D | cap_acceptor_test.c | 596 err = bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, in set_location() 623 err = bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, SOURCE_CONTEXT); in set_supported_contexts() 677 err = bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, SOURCE_CONTEXT); in set_available_contexts() 731 err = bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &unicast_cap); in init()
|
D | gmap_ugg_test.c | 152 } else if (dir == BT_AUDIO_DIR_SOURCE) { in gmap_get_named_preset() 351 } else if (dir == BT_AUDIO_DIR_SOURCE) { in bap_endpoint_cb() 366 } else if (dir == BT_AUDIO_DIR_SOURCE) { in bap_discover_cb() 564 err = bt_bap_unicast_client_discover(conn, BT_AUDIO_DIR_SOURCE); in discover_source() 1476 gmap_get_named_preset(true, BT_AUDIO_DIR_SOURCE, preset_arg); in test_args()
|
D | cap_initiator_unicast_test.c | 333 } else if (dir == BT_AUDIO_DIR_SOURCE) { in discover_cb() 347 } else if (dir == BT_AUDIO_DIR_SOURCE) { in endpoint_cb() 528 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 | 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) 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() 2466 if (bt_bap_iso_get_ep(true, iso, BT_AUDIO_DIR_SOURCE) == NULL) { in unicast_client_qos_cfg_to_iso_qos() 2508 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()
|
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/ |
D | bap_unicast_sr.c | 154 if (dir == BT_AUDIO_DIR_SOURCE) { in lc3_config() 393 bt_pacs_cap_register(BT_AUDIO_DIR_SOURCE, &cap); in bap_unicast_sr_init() 396 bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, BT_AUDIO_LOCATION_FRONT_LEFT); in bap_unicast_sr_init() 398 bt_pacs_set_location(BT_AUDIO_DIR_SOURCE, BT_AUDIO_LOCATION_FRONT_RIGHT); in bap_unicast_sr_init() 401 bt_pacs_set_supported_contexts(BT_AUDIO_DIR_SOURCE, in bap_unicast_sr_init() 403 bt_pacs_set_available_contexts(BT_AUDIO_DIR_SOURCE, in bap_unicast_sr_init()
|
/Zephyr-latest/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 | 219 if (dir == BT_AUDIO_DIR_SOURCE) { in lc3_config() 433 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() 741 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 | 145 } else if (dir == BT_AUDIO_DIR_SOURCE && peer.source_stream.bap_stream.ep == NULL) { in stream_alloc() 290 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 | 495 if (dir == BT_AUDIO_DIR_SOURCE) { in endpoint_cb() 592 err = bt_bap_unicast_client_discover(default_conn, BT_AUDIO_DIR_SOURCE); in discover_sources() 816 if (stream_dir(stream) == BT_AUDIO_DIR_SOURCE) { in start_streams()
|
/Zephyr-latest/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() 2237 dir = BT_AUDIO_DIR_SOURCE; in cmd_preset() 2241 dir = BT_AUDIO_DIR_SOURCE; in cmd_preset() 3321 named_preset = bap_get_named_preset(false, BT_AUDIO_DIR_SOURCE, in cmd_create_broadcast() 3674 dir = BT_AUDIO_DIR_SOURCE; in cmd_set_loc() 3714 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-latest/tests/bluetooth/audio/ascs/src/ |
D | test_ase_state_transition.c | 679 expect_bt_bap_unicast_server_cb_config_called_once(conn, EMPTY, BT_AUDIO_DIR_SOURCE, EMPTY); in ZTEST_F() 789 expect_bt_bap_unicast_server_cb_reconfig_called_once(stream, BT_AUDIO_DIR_SOURCE, EMPTY); in ZTEST_F() 824 expect_bt_bap_unicast_server_cb_reconfig_called_once(stream, BT_AUDIO_DIR_SOURCE, EMPTY); in ZTEST_F() 1029 expect_bt_bap_unicast_server_cb_reconfig_called_once(stream, BT_AUDIO_DIR_SOURCE, EMPTY); in ZTEST_F() 1070 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()
|