Home
last modified time | relevance | path

Searched refs:bis (Results 1 – 25 of 30) sorted by relevance

12

/Zephyr-Core-3.6.0/tests/bluetooth/audio/mocks/src/
Diso.c140 struct bt_iso_chan *bis = param->bis_channels[i]; in bt_iso_big_create() local
143 zassert_not_null(bis); in bt_iso_big_create()
147 big->bis[i] = bis; in bt_iso_big_create()
150 iso->chan = bis; in bt_iso_big_create()
165 struct bt_iso_chan *bis = big->bis[i]; in bt_iso_big_terminate() local
167 zassert_not_null(bis, "big %p", big); in bt_iso_big_terminate()
169 mock_bt_iso_disconnected(bis, BT_HCI_ERR_LOCALHOST_TERM_CONN); in bt_iso_big_terminate()
/Zephyr-Core-3.6.0/subsys/bluetooth/audio/
Dbap_base.c482 struct bt_bap_base_subgroup_bis bis; in bt_bap_base_subgroup_foreach_bis() local
484 bis.index = net_buf_simple_pull_u8(&net_buf); /* index */ in bt_bap_base_subgroup_foreach_bis()
487 bis.data_len = base_pull_ltv(&net_buf, &bis.data); in bt_bap_base_subgroup_foreach_bis()
489 if (!func(&bis, user_data)) { in bt_bap_base_subgroup_foreach_bis()
499 int bt_bap_base_subgroup_bis_codec_to_codec_cfg(const struct bt_bap_base_subgroup_bis *bis, in bt_bap_base_subgroup_bis_codec_to_codec_cfg() argument
502 CHECKIF(bis == NULL) { in bt_bap_base_subgroup_bis_codec_to_codec_cfg()
514 if (bis->data_len > ARRAY_SIZE(codec_cfg->data)) { in bt_bap_base_subgroup_bis_codec_to_codec_cfg()
515 LOG_DBG("Cannot fit %u octets of codec data (max %zu)", bis->data_len, in bt_bap_base_subgroup_bis_codec_to_codec_cfg()
521 codec_cfg->data_len = bis->data_len; in bt_bap_base_subgroup_bis_codec_to_codec_cfg()
522 memcpy(codec_cfg->data, bis->data, bis->data_len); in bt_bap_base_subgroup_bis_codec_to_codec_cfg()
[all …]
Dbap_endpoint.h146 struct bt_iso_chan *bis[CONFIG_BT_BAP_BROADCAST_SNK_STREAM_COUNT]; member
Dbap_broadcast_sink.c189 if (broadcast_sinks[i].bis[j] == chan) { in broadcast_sink_lookup_iso_chan()
525 static bool base_subgroup_bis_index_cb(const struct bt_bap_base_subgroup_bis *bis, void *user_data) in base_subgroup_bis_index_cb() argument
529 *bis_indexes |= BIT(bis->index); in base_subgroup_bis_index_cb()
1113 sink->bis[i] = bt_bap_stream_iso_chan_get(stream); in bt_bap_broadcast_sink_sync()
1118 param.bis_channels = sink->bis; in bt_bap_broadcast_sink_sync()
Dbap_broadcast_source.c960 struct bt_iso_chan *bis[BROADCAST_STREAM_CNT]; in bt_bap_broadcast_source_start() local
987 bis[bis_count++] = bt_bap_stream_iso_chan_get(stream); in bt_bap_broadcast_source_start()
993 param.bis_channels = bis; in bt_bap_broadcast_source_start()
/Zephyr-Core-3.6.0/subsys/bluetooth/host/
Diso.c2511 struct bt_iso_chan *bis, *tmp; in cleanup_big() local
2513 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&big->bis_channels, bis, tmp, node) { in cleanup_big()
2514 if (bis->iso != NULL) { in cleanup_big()
2515 bt_conn_unref(bis->iso); in cleanup_big()
2516 bis->iso = NULL; in cleanup_big()
2519 sys_slist_remove(&big->bis_channels, NULL, &bis->node); in cleanup_big()
2527 struct bt_iso_chan *bis; in big_disconnect() local
2529 SYS_SLIST_FOR_EACH_CONTAINER(&big->bis_channels, bis, node) { in big_disconnect()
2530 bis->iso->err = reason; in big_disconnect()
2532 bt_iso_disconnected(bis->iso); in big_disconnect()
[all …]
/Zephyr-Core-3.6.0/subsys/bluetooth/audio/shell/
Daudio.h246 static inline bool print_base_subgroup_bis_cb(const struct bt_bap_base_subgroup_bis *bis, in print_base_subgroup_bis_cb() argument
251 shell_print(ctx_shell, "\t\tBIS index: 0x%02X", bis->index); in print_base_subgroup_bis_cb()
254 print_ltv_array(ctx_shell, "\t\tdata", bis->data, bis->data_len); in print_base_subgroup_bis_cb()
256 shell_hexdump(ctx_shell, bis->data, bis->data_len); in print_base_subgroup_bis_cb()
/Zephyr-Core-3.6.0/subsys/bluetooth/controller/util/
Dutil.h19 void util_bis_aa_le32(uint8_t bis, uint8_t *saa, uint8_t *dst);
Dutil.c281 void util_bis_aa_le32(uint8_t bis, uint8_t *saa, uint8_t *dst) in util_bis_aa_le32() argument
292 d = ((35 * bis) + 42) & 0x7f; in util_bis_aa_le32()
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/ll/
Dcompile.sh30 app=tests/bsim/bluetooth/ll/bis compile
31 app=tests/bsim/bluetooth/ll/bis \
33 app=tests/bsim/bluetooth/ll/bis conf_file=prj_vs_dp.conf compile
/Zephyr-Core-3.6.0/tests/bluetooth/audio/mocks/include/
Diso.h15 struct bt_iso_chan *bis[CONFIG_BT_BAP_BROADCAST_SRC_STREAM_COUNT]; member
/Zephyr-Core-3.6.0/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_adv_iso.c472 uint8_t bis; in isr_tx_common() local
485 bis = lll->bis_curr; in isr_tx_common()
492 bis = lll->bis_curr; in isr_tx_common()
498 bis = lll->bis_curr; in isr_tx_common()
507 bis = lll->bis_curr; in isr_tx_common()
529 bis = 0U; in isr_tx_common()
553 bis = 0U; in isr_tx_common()
609 util_bis_aa_le32(bis, lll->seed_access_addr, access_addr); in isr_tx_common()
617 crc_init[0] = bis; in isr_tx_common()
707 if (!bis) { in isr_tx_common()
Dlll_sync_iso.c502 uint8_t bis; in isr_rx() local
680 bis = lll->bis_curr; in isr_rx()
712 bis = lll->bis_curr; in isr_rx()
750 bis = lll->bis_curr; in isr_rx()
795 bis = lll->bis_curr; in isr_rx()
832 bis = 0U; in isr_rx()
863 util_bis_aa_le32(bis, lll->seed_access_addr, access_addr); in isr_rx()
871 crc_init[0] = bis; in isr_rx()
878 if (!bis) { in isr_rx()
922 if (bis) { in isr_rx()
[all …]
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/
Dtests.nrf5340bsim_nrf5340_cpuapp.txt4 tests/bsim/bluetooth/ll/bis/tests_scripts/broadcast_iso.sh
Dcompile.nrf5340bsim_nrf5340_cpuapp.sh23 app=tests/bsim/bluetooth/ll/bis sysbuild=1 compile
/Zephyr-Core-3.6.0/drivers/crypto/
DKconfig.ataes132a23 Standard bis speed of up to 100KHz.
/Zephyr-Core-3.6.0/samples/bluetooth/iso_broadcast/src/
Dmain.c71 static struct bt_iso_chan *bis[] = { variable
78 .bis_channels = bis,
/Zephyr-Core-3.6.0/tests/bluetooth/audio/bap_base/src/
Dmain.c616 test_base_subgroup_foreach_bis_subgroup_bis_cb(const struct bt_bap_base_subgroup_bis *bis, in test_base_subgroup_foreach_bis_subgroup_bis_cb() argument
707 test_base_subgroup_bis_codec_to_codec_cfg_bis_cb(const struct bt_bap_base_subgroup_bis *bis, in test_base_subgroup_bis_codec_to_codec_cfg_bis_cb() argument
714 ret = bt_bap_base_subgroup_bis_codec_to_codec_cfg(bis, &codec_cfg); in test_base_subgroup_bis_codec_to_codec_cfg_bis_cb()
748 const struct bt_bap_base_subgroup_bis *bis, void *user_data) in test_base_subgroup_bis_codec_to_codec_cfg_inval_param_null_bis_bis_cb() argument
785 const struct bt_bap_base_subgroup_bis *bis, void *user_data) in test_base_subgroup_bis_codec_to_codec_cfg_inval_param_null_codec_cfg_bis_cb() argument
789 ret = bt_bap_base_subgroup_bis_codec_to_codec_cfg(bis, NULL); in test_base_subgroup_bis_codec_to_codec_cfg_inval_param_null_codec_cfg_bis_cb()
/Zephyr-Core-3.6.0/samples/bluetooth/iso_broadcast_benchmark/src/
Dreceiver.c347 struct bt_iso_chan *bis[CONFIG_BT_ISO_MAX_CHAN]; in create_big_sync() local
349 .bis_channels = bis, in create_big_sync()
359 bis[i] = &bis_iso_chan[i]; in create_big_sync()
Dbroadcaster.c46 static struct bt_iso_chan *bis[CONFIG_BT_ISO_MAX_CHAN]; variable
51 .bis_channels = bis,
653 bis[i] = &bis_iso_chans[i]; in create_big()
/Zephyr-Core-3.6.0/drivers/dma/
DKconfig.stm3244 With the versions V2 bis of DMA, the peripheral request (slot) is not
/Zephyr-Core-3.6.0/samples/bluetooth/iso_receive/src/
Dmain.c271 static struct bt_iso_chan *bis[] = { variable
277 .bis_channels = bis,
/Zephyr-Core-3.6.0/include/zephyr/bluetooth/audio/
Dbap.h1520 bool (*func)(const struct bt_bap_base_subgroup_bis *bis,
1537 int bt_bap_base_subgroup_bis_codec_to_codec_cfg(const struct bt_bap_base_subgroup_bis *bis,
/Zephyr-Core-3.6.0/samples/bluetooth/broadcast_audio_sink/src/
Dmain.c479 static bool find_valid_bis_cb(const struct bt_bap_base_subgroup_bis *bis, in find_valid_bis_cb() argument
487 err = bt_bap_base_subgroup_bis_codec_to_codec_cfg(bis, &codec_cfg); in find_valid_bis_cb()
502 *bis_index = bis->index; in find_valid_bis_cb()
/Zephyr-Core-3.6.0/tests/bluetooth/tester/src/
Dbtp_bap_broadcast.c603 static bool base_subgroup_bis_cb(const struct bt_bap_base_subgroup_bis *bis, void *user_data) in base_subgroup_bis_cb() argument
609 parse_data->bis_bitfield |= BIT(bis->index); in base_subgroup_bis_cb()
615 stream->bis_id = bis->index; in base_subgroup_bis_cb()
620 parse_data->subgroup_cnt, bis->index, codec_cfg); in base_subgroup_bis_cb()

12