• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/seq/

Lines Matching defs:subs

657 	struct snd_seq_subscribers *subs;
675 list_for_each_entry(subs, &grp->list_head, src_list) {
676 event->dest = subs->info.dest;
677 if (subs->info.flags & SNDRV_SEQ_PORT_SUBS_TIMESTAMP)
679 update_timestamp_of_queue(event, subs->info.queue,
680 subs->info.flags & SNDRV_SEQ_PORT_SUBS_TIME_REAL);
1372 struct snd_seq_port_subscribe *subs)
1374 if (client->number != subs->sender.client &&
1375 client->number != subs->dest.client) {
1387 if (client->number != subs->sender.client) {
1392 if (client->number != subs->dest.client) {
1427 struct snd_seq_port_subscribe subs;
1429 if (copy_from_user(&subs, arg, sizeof(subs)))
1432 if ((receiver = snd_seq_client_use_ptr(subs.dest.client)) == NULL)
1434 if ((sender = snd_seq_client_use_ptr(subs.sender.client)) == NULL)
1436 if ((sport = snd_seq_port_use_ptr(sender, subs.sender.port)) == NULL)
1438 if ((dport = snd_seq_port_use_ptr(receiver, subs.dest.port)) == NULL)
1441 result = check_subscription_permission(client, sport, dport, &subs);
1446 result = snd_seq_port_connect(client, sender, sport, receiver, dport, &subs);
1449 &subs, SNDRV_SEQ_EVENT_PORT_SUBSCRIBED);
1472 struct snd_seq_port_subscribe subs;
1474 if (copy_from_user(&subs, arg, sizeof(subs)))
1477 if ((receiver = snd_seq_client_use_ptr(subs.dest.client)) == NULL)
1479 if ((sender = snd_seq_client_use_ptr(subs.sender.client)) == NULL)
1481 if ((sport = snd_seq_port_use_ptr(sender, subs.sender.port)) == NULL)
1483 if ((dport = snd_seq_port_use_ptr(receiver, subs.dest.port)) == NULL)
1486 result = check_subscription_permission(client, sport, dport, &subs);
1490 result = snd_seq_port_disconnect(client, sender, sport, receiver, dport, &subs);
1493 &subs, SNDRV_SEQ_EVENT_PORT_UNSUBSCRIBED);
1963 struct snd_seq_port_subscribe subs;
1966 if (copy_from_user(&subs, arg, sizeof(subs)))
1970 if ((sender = snd_seq_client_use_ptr(subs.sender.client)) == NULL)
1972 if ((sport = snd_seq_port_use_ptr(sender, subs.sender.port)) == NULL)
1974 p = snd_seq_port_get_subscription(&sport->c_src, &subs.dest);
1977 subs = p->info;
1987 if (copy_to_user(arg, &subs, sizeof(subs)))
2003 struct snd_seq_query_subs subs;
2008 if (copy_from_user(&subs, arg, sizeof(subs)))
2011 if ((cptr = snd_seq_client_use_ptr(subs.root.client)) == NULL)
2013 if ((port = snd_seq_port_use_ptr(cptr, subs.root.port)) == NULL)
2016 switch (subs.type) {
2029 subs.num_subs = group->count;
2033 if (i++ == subs.index) {
2036 if (subs.type == SNDRV_SEQ_QUERY_SUBS_READ) {
2038 subs.addr = s->info.dest;
2041 subs.addr = s->info.sender;
2043 subs.flags = s->info.flags;
2044 subs.queue = s->info.queue;
2057 if (copy_to_user(arg, &subs, sizeof(subs)))