Lines Matching defs:seps
190 struct seid_info seps[0];
329 GSList *seps;
402 GSList *seps; /* Elements of type struct avdtp_remote_sep * */
740 static struct avdtp_remote_sep *find_remote_sep(GSList *seps, uint8_t seid)
744 for (l = seps; l != NULL; l = g_slist_next(l)) {
784 rsep = find_remote_sep(stream->session->seps, stream->rseid);
1117 session->discov_cb(session, session->seps,
1232 g_slist_foreach(session->seps, (GFunc) g_free, NULL);
1233 g_slist_free(session->seps);
1254 for (l = server->seps; l != NULL; l = g_slist_next(l)) {
1272 for (l = session->seps; l != NULL; l = g_slist_next(l)) {
1354 struct seid_info *seps;
1357 sep_count = g_slist_length(session->server->seps);
1367 seps = g_new0(struct seid_info, sep_count);
1369 for (l = session->server->seps, i = 0; l != NULL; l = l->next, i++) {
1372 memcpy(&seps[i], &sep->info, sizeof(struct seid_info));
1376 AVDTP_DISCOVER, seps, rsp_size);
1377 g_free(seps);
2743 resp->seps[i].seid, resp->seps[i].type,
2744 resp->seps[i].media_type, resp->seps[i].inuse);
2746 stream = find_stream_by_rseid(session, resp->seps[i].seid);
2748 sep = find_remote_sep(session->seps, resp->seps[i].seid);
2750 if (resp->seps[i].inuse && !stream)
2753 session->seps = g_slist_append(session->seps, sep);
2757 sep->seid = resp->seps[i].seid;
2758 sep->type = resp->seps[i].type;
2759 sep->media_type = resp->seps[i].media_type;
2796 sep = find_remote_sep(session->seps, seid);
3268 for (l = session->seps; l; l = l->next) {
3336 if (session->seps) {
3699 if (g_slist_length(server->seps) > MAX_SEID)
3705 sep->info.seid = g_slist_length(server->seps) + 1;
3717 server->seps = g_slist_append(server->seps, sep);
3730 server->seps = g_slist_remove(server->seps, sep);