Lines Matching refs:bis
482 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()
527 static bool base_subgroup_bis_cb(const struct bt_bap_base_subgroup_bis *bis, void *user_data) in base_subgroup_bis_cb() argument
531 *base_bis_index_bitfield |= BIT(bis->index); in base_subgroup_bis_cb()