Lines Matching refs:bis
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()
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()