Lines Matching full:bis
169 LOG_DBG("Subgroup[%u]: Invalid BIS count: %u", i, bis_count); in bt_bap_base_get_base_from_ad()
207 LOG_DBG("Subgroup[%u]: Invalid BIS index: %u", i, bis_index); in bt_bap_base_get_base_from_ad()
212 /* Pull BIS CC data */ in bt_bap_base_get_base_from_ad()
261 /* Parse BIS data */ in bt_bap_base_get_size()
263 /* BIS index */ in bt_bap_base_get_size()
547 struct bt_bap_base_subgroup_bis bis; in bt_bap_base_subgroup_foreach_bis() local
549 bis.index = net_buf_simple_pull_u8(&net_buf); /* index */ in bt_bap_base_subgroup_foreach_bis()
552 bis.data_len = base_pull_ltv(&net_buf, &bis.data); in bt_bap_base_subgroup_foreach_bis()
554 if (!func(&bis, user_data)) { in bt_bap_base_subgroup_foreach_bis()
564 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
567 CHECKIF(bis == NULL) { in bt_bap_base_subgroup_bis_codec_to_codec_cfg()
568 LOG_DBG("bis is NULL"); in bt_bap_base_subgroup_bis_codec_to_codec_cfg()
579 if (bis->data_len > ARRAY_SIZE(codec_cfg->data)) { in bt_bap_base_subgroup_bis_codec_to_codec_cfg()
580 LOG_DBG("Cannot fit %u octets of codec data (max %zu)", bis->data_len, in bt_bap_base_subgroup_bis_codec_to_codec_cfg()
586 codec_cfg->data_len = bis->data_len; in bt_bap_base_subgroup_bis_codec_to_codec_cfg()
587 memcpy(codec_cfg->data, bis->data, bis->data_len); in bt_bap_base_subgroup_bis_codec_to_codec_cfg()
592 static bool base_subgroup_bis_cb(const struct bt_bap_base_subgroup_bis *bis, void *user_data) in base_subgroup_bis_cb() argument
596 *base_bis_index_bitfield |= BT_ISO_BIS_INDEX_BIT(bis->index); in base_subgroup_bis_cb()
606 LOG_DBG("Failed to parse all BIS: %d", err); in base_subgroup_cb()