Lines Matching refs:bis

201 			if (broadcast_sinks[i].bis[j].chan == chan) {  in broadcast_sink_lookup_iso_chan()
570 struct bt_bap_broadcast_sink_bis bis[CONFIG_BT_BAP_BROADCAST_SNK_STREAM_COUNT]; member
594 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
600 if (data->bis_count == ARRAY_SIZE(data->bis)) { in base_subgroup_bis_index_cb()
606 sink_bis = &data->bis[data->bis_count]; in base_subgroup_bis_index_cb()
609 sink_bis->index = bis->index; in base_subgroup_bis_index_cb()
610 sink_subgroup->bis_indexes |= BT_ISO_BIS_INDEX_BIT(bis->index); in base_subgroup_bis_index_cb()
616 if (bis->data_len > 0) { in base_subgroup_bis_index_cb()
627 err = bt_audio_data_parse(bis->data, bis->data_len, in base_subgroup_bis_index_cb()
640 if (sink_bis->codec_cfg.data_len + bis->data_len > in base_subgroup_bis_index_cb()
644 sink_bis->codec_cfg.data_len + bis->data_len, in base_subgroup_bis_index_cb()
650 memcpy(&sink_bis->codec_cfg.data[sink_bis->codec_cfg.data_len], bis->data, in base_subgroup_bis_index_cb()
651 bis->data_len); in base_subgroup_bis_index_cb()
652 sink_bis->codec_cfg.data_len += bis->data_len; in base_subgroup_bis_index_cb()
736 memcpy(sink->bis, data.bis, sizeof(sink->bis)); in store_base_info()
1152 for (size_t i = 0U; i < ARRAY_SIZE(sink->bis); i++) { in codec_cfg_from_base_by_index()
1153 struct bt_bap_broadcast_sink_bis *bis = &sink->bis[i]; in codec_cfg_from_base_by_index() local
1155 if (bis->index == index) { in codec_cfg_from_base_by_index()
1156 return &bis->codec_cfg; in codec_cfg_from_base_by_index()
1157 } else if (bis->index == 0) { in codec_cfg_from_base_by_index()
1319 sink->bis[i].chan = bt_bap_stream_iso_chan_get(stream); in bt_bap_broadcast_sink_sync()
1323 bis_channels[i] = sink->bis[i].chan; in bt_bap_broadcast_sink_sync()