Lines Matching refs:subgroup
316 struct bt_bap_base_subgroup *subgroup; in bt_bap_base_foreach_subgroup() local
337 subgroup = (struct bt_bap_base_subgroup *)net_buf.data; in bt_bap_base_foreach_subgroup()
338 if (!func(subgroup, user_data)) { in bt_bap_base_foreach_subgroup()
369 int bt_bap_base_get_subgroup_codec_id(const struct bt_bap_base_subgroup *subgroup, in bt_bap_base_get_subgroup_codec_id() argument
374 CHECKIF(subgroup == NULL) { in bt_bap_base_get_subgroup_codec_id()
386 net_buf_simple_init_with_data(&net_buf, (void *)subgroup, BASE_SUBGROUP_MAX_SIZE); in bt_bap_base_get_subgroup_codec_id()
393 int bt_bap_base_get_subgroup_codec_data(const struct bt_bap_base_subgroup *subgroup, uint8_t **data) in bt_bap_base_get_subgroup_codec_data() argument
397 CHECKIF(subgroup == NULL) { in bt_bap_base_get_subgroup_codec_data()
409 net_buf_simple_init_with_data(&net_buf, (void *)subgroup, BASE_SUBGROUP_MAX_SIZE); in bt_bap_base_get_subgroup_codec_data()
417 int bt_bap_base_get_subgroup_codec_meta(const struct bt_bap_base_subgroup *subgroup, uint8_t **meta) in bt_bap_base_get_subgroup_codec_meta() argument
421 CHECKIF(subgroup == NULL) { in bt_bap_base_get_subgroup_codec_meta()
433 net_buf_simple_init_with_data(&net_buf, (void *)subgroup, BASE_SUBGROUP_MAX_SIZE); in bt_bap_base_get_subgroup_codec_meta()
444 int bt_bap_base_subgroup_codec_to_codec_cfg(const struct bt_bap_base_subgroup *subgroup, in bt_bap_base_subgroup_codec_to_codec_cfg() argument
452 CHECKIF(subgroup == NULL) { in bt_bap_base_subgroup_codec_to_codec_cfg()
464 net_buf_simple_init_with_data(&net_buf, (void *)subgroup, BASE_SUBGROUP_MAX_SIZE); in bt_bap_base_subgroup_codec_to_codec_cfg()
500 int bt_bap_base_get_subgroup_bis_count(const struct bt_bap_base_subgroup *subgroup) in bt_bap_base_get_subgroup_bis_count() argument
504 CHECKIF(subgroup == NULL) { in bt_bap_base_get_subgroup_bis_count()
510 net_buf_simple_init_with_data(&net_buf, (void *)subgroup, BASE_SUBGROUP_MAX_SIZE); in bt_bap_base_get_subgroup_bis_count()
515 int bt_bap_base_subgroup_foreach_bis(const struct bt_bap_base_subgroup *subgroup, in bt_bap_base_subgroup_foreach_bis() argument
516 bool (*func)(const struct bt_bap_base_subgroup_bis *subgroup, in bt_bap_base_subgroup_foreach_bis() argument
523 CHECKIF(subgroup == NULL) { in bt_bap_base_subgroup_foreach_bis()
535 net_buf_simple_init_with_data(&net_buf, (void *)subgroup, BASE_SUBGROUP_MAX_SIZE); in bt_bap_base_subgroup_foreach_bis()
601 static bool base_subgroup_cb(const struct bt_bap_base_subgroup *subgroup, void *user_data) in base_subgroup_cb() argument
603 const int err = bt_bap_base_subgroup_foreach_bis(subgroup, base_subgroup_bis_cb, user_data); in base_subgroup_cb()
613 int bt_bap_base_subgroup_get_bis_indexes(const struct bt_bap_base_subgroup *subgroup, in bt_bap_base_subgroup_get_bis_indexes() argument
616 CHECKIF(subgroup == NULL) { 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()