Lines Matching defs:subs

719 	struct snd_seq_subscribers *subs;
735 list_for_each_entry(subs, &grp->list_head, src_list) {
737 if (atomic_read(&subs->ref_count) != 2)
739 event->dest = subs->info.dest;
740 if (subs->info.flags & SNDRV_SEQ_PORT_SUBS_TIMESTAMP)
742 update_timestamp_of_queue(event, subs->info.queue,
743 subs->info.flags & SNDRV_SEQ_PORT_SUBS_TIME_REAL);
1432 struct snd_seq_port_subscribe *subs)
1434 if (client->number != subs->sender.client &&
1435 client->number != subs->dest.client) {
1447 if (client->number != subs->sender.client) {
1452 if (client->number != subs->dest.client) {
1484 struct snd_seq_port_subscribe *subs = arg;
1489 receiver = snd_seq_client_use_ptr(subs->dest.client);
1492 sender = snd_seq_client_use_ptr(subs->sender.client);
1495 sport = snd_seq_port_use_ptr(sender, subs->sender.port);
1498 dport = snd_seq_port_use_ptr(receiver, subs->dest.port);
1502 result = check_subscription_permission(client, sport, dport, subs);
1507 result = snd_seq_port_connect(client, sender, sport, receiver, dport, subs);
1510 subs, SNDRV_SEQ_EVENT_PORT_SUBSCRIBED);
1530 struct snd_seq_port_subscribe *subs = arg;
1535 receiver = snd_seq_client_use_ptr(subs->dest.client);
1538 sender = snd_seq_client_use_ptr(subs->sender.client);
1541 sport = snd_seq_port_use_ptr(sender, subs->sender.port);
1544 dport = snd_seq_port_use_ptr(receiver, subs->dest.port);
1548 result = check_subscription_permission(client, sport, dport, subs);
1552 result = snd_seq_port_disconnect(client, sender, sport, receiver, dport, subs);
1555 subs, SNDRV_SEQ_EVENT_PORT_UNSUBSCRIBED);
1951 struct snd_seq_port_subscribe *subs = arg;
1957 sender = snd_seq_client_use_ptr(subs->sender.client);
1960 sport = snd_seq_port_use_ptr(sender, subs->sender.port);
1963 result = snd_seq_port_get_subscription(&sport->c_src, &subs->dest,
1964 subs);
1980 struct snd_seq_query_subs *subs = arg;
1988 cptr = snd_seq_client_use_ptr(subs->root.client);
1991 port = snd_seq_port_use_ptr(cptr, subs->root.port);
1995 switch (subs->type) {
2008 subs->num_subs = group->count;
2012 if (i++ == subs->index) {
2015 if (subs->type == SNDRV_SEQ_QUERY_SUBS_READ) {
2017 subs->addr = s->info.dest;
2020 subs->addr = s->info.sender;
2022 subs->flags = s->info.flags;
2023 subs->queue = s->info.queue;