Home
last modified time | relevance | path

Searched refs:bis_indexes (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/tests/bluetooth/audio/bap_base/src/
Dmain.c217 uint32_t bis_indexes; in ZTEST_F() local
222 ret = bt_bap_base_get_bis_indexes(base, &bis_indexes); in ZTEST_F()
224 zassert_equal(bis_indexes, 0x00000003 /* Bit 1 and 2 */, in ZTEST_F()
225 "Unexpected BIS index value: 0x%08X", bis_indexes); in ZTEST_F()
230 uint32_t bis_indexes; in ZTEST_F() local
233 ret = bt_bap_base_get_bis_indexes(NULL, &bis_indexes); in ZTEST_F()
642 uint32_t bis_indexes; in test_bt_bap_base_subgroup_get_bis_indexes_cb() local
645 ret = bt_bap_base_subgroup_get_bis_indexes(subgroup, &bis_indexes); in test_bt_bap_base_subgroup_get_bis_indexes_cb()
647 zassert_not_equal(bis_indexes, 0 /* May be Bit 1 or 2 */, in test_bt_bap_base_subgroup_get_bis_indexes_cb()
648 "Unexpected BIS index value: 0x%08X", bis_indexes); in test_bt_bap_base_subgroup_get_bis_indexes_cb()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_base.c614 uint32_t *bis_indexes) in bt_bap_base_subgroup_get_bis_indexes() argument
622 CHECKIF(bis_indexes == NULL) { in bt_bap_base_subgroup_get_bis_indexes()
628 *bis_indexes = 0U; in bt_bap_base_subgroup_get_bis_indexes()
630 return bt_bap_base_subgroup_foreach_bis(subgroup, base_subgroup_bis_cb, bis_indexes); in bt_bap_base_subgroup_get_bis_indexes()
633 int bt_bap_base_get_bis_indexes(const struct bt_bap_base *base, uint32_t *bis_indexes) in bt_bap_base_get_bis_indexes() argument
641 CHECKIF(bis_indexes == NULL) { in bt_bap_base_get_bis_indexes()
647 *bis_indexes = 0U; in bt_bap_base_get_bis_indexes()
649 return bt_bap_base_foreach_subgroup(base, base_subgroup_cb, bis_indexes); in bt_bap_base_get_bis_indexes()
Dbap_endpoint.h160 uint32_t bis_indexes; member
Dbap_broadcast_sink.c121 subgroup_param->bis_sync = sink_subgroup->bis_indexes & sink->indexes_bitfield; in update_recv_state_big_synced()
610 sink_subgroup->bis_indexes |= BT_ISO_BIS_INDEX_BIT(bis->index); in base_subgroup_bis_index_cb()
703 data->valid_indexes_bitfield |= sink_subgroup->bis_indexes; in base_subgroup_cb()
/Zephyr-latest/samples/bluetooth/bap_broadcast_sink/src/
Dmain.c673 uint32_t bis_indexes = 0; in subgroup_get_valid_bis_indexes_cb() local
723 bis_indexes = BT_ISO_BIS_INDEX_BIT(data.bis[i].index); in subgroup_get_valid_bis_indexes_cb()
725 printk("Channel allocation match. BIS index bitfield 0x%x\n", bis_indexes); in subgroup_get_valid_bis_indexes_cb()
726 *(uint32_t *)user_data = bis_indexes; in subgroup_get_valid_bis_indexes_cb()
732 bis_indexes |= BT_ISO_BIS_INDEX_BIT(data.bis[i].index); in subgroup_get_valid_bis_indexes_cb()
737 bis_indexes); in subgroup_get_valid_bis_indexes_cb()
738 *(uint32_t *)user_data = bis_indexes; in subgroup_get_valid_bis_indexes_cb()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dbap.h1874 int bt_bap_base_get_bis_indexes(const struct bt_bap_base *base, uint32_t *bis_indexes);
1961 uint32_t *bis_indexes);