Lines Matching refs:subgroup_count
109 uint8_t subgroup_count; in bt_bap_base_get_base_from_ad() local
150 subgroup_count = net_buf_simple_pull_u8(&net_buf); in bt_bap_base_get_base_from_ad()
151 if (subgroup_count == 0 || subgroup_count > BASE_SUBGROUP_MAX_COUNT) { in bt_bap_base_get_base_from_ad()
152 LOG_DBG("Invalid subgroup count: %u", subgroup_count); in bt_bap_base_get_base_from_ad()
157 for (uint8_t i = 0U; i < subgroup_count; i++) { in bt_bap_base_get_base_from_ad()
226 uint8_t subgroup_count; in bt_bap_base_get_size() local
238 subgroup_count = net_buf_simple_pull_u8(&net_buf); in bt_bap_base_get_size()
242 for (uint8_t i = 0U; i < subgroup_count; i++) { in bt_bap_base_get_size()
295 uint8_t subgroup_count; in bt_bap_base_get_subgroup_count() local
305 subgroup_count = net_buf_simple_pull_u8(&net_buf); in bt_bap_base_get_subgroup_count()
307 return (int)subgroup_count; /* subgroup_count is 8-bit so it fits in an int */ in bt_bap_base_get_subgroup_count()
317 uint8_t subgroup_count; in bt_bap_base_foreach_subgroup() local
333 subgroup_count = net_buf_simple_pull_u8(&net_buf); in bt_bap_base_foreach_subgroup()
335 for (uint8_t i = 0U; i < subgroup_count; i++) { in bt_bap_base_foreach_subgroup()
344 if (subgroup_count > 1) { /* Only parse data if it isn't the last one */ in bt_bap_base_foreach_subgroup()