• Home
  • Raw
  • Download

Lines Matching refs:info

166 			  struct snd_seq_port_subscribe *info, int send_ack);
170 struct snd_seq_port_subscribe *info, int send_ack);
221 aport = get_client_port(&subs->info.dest, &c); in clear_subscriber_list()
223 aport = get_client_port(&subs->info.sender, &c); in clear_subscriber_list()
323 struct snd_seq_port_info * info) in snd_seq_set_port_info() argument
325 if (snd_BUG_ON(!port || !info)) in snd_seq_set_port_info()
329 if (info->name[0]) in snd_seq_set_port_info()
330 strscpy(port->name, info->name, sizeof(port->name)); in snd_seq_set_port_info()
333 port->capability = info->capability; in snd_seq_set_port_info()
336 port->type = info->type; in snd_seq_set_port_info()
339 port->midi_channels = info->midi_channels; in snd_seq_set_port_info()
340 port->midi_voices = info->midi_voices; in snd_seq_set_port_info()
341 port->synth_voices = info->synth_voices; in snd_seq_set_port_info()
344 port->timestamping = (info->flags & SNDRV_SEQ_PORT_FLG_TIMESTAMP) ? 1 : 0; in snd_seq_set_port_info()
345 port->time_real = (info->flags & SNDRV_SEQ_PORT_FLG_TIME_REAL) ? 1 : 0; in snd_seq_set_port_info()
346 port->time_queue = info->time_queue; in snd_seq_set_port_info()
353 struct snd_seq_port_info * info) in snd_seq_get_port_info() argument
355 if (snd_BUG_ON(!port || !info)) in snd_seq_get_port_info()
359 strscpy(info->name, port->name, sizeof(info->name)); in snd_seq_get_port_info()
362 info->capability = port->capability; in snd_seq_get_port_info()
365 info->type = port->type; in snd_seq_get_port_info()
368 info->midi_channels = port->midi_channels; in snd_seq_get_port_info()
369 info->midi_voices = port->midi_voices; in snd_seq_get_port_info()
370 info->synth_voices = port->synth_voices; in snd_seq_get_port_info()
373 info->read_use = port->c_src.count; in snd_seq_get_port_info()
374 info->write_use = port->c_dest.count; in snd_seq_get_port_info()
377 info->flags = 0; in snd_seq_get_port_info()
379 info->flags |= SNDRV_SEQ_PORT_FLG_TIMESTAMP; in snd_seq_get_port_info()
381 info->flags |= SNDRV_SEQ_PORT_FLG_TIME_REAL; in snd_seq_get_port_info()
382 info->time_queue = port->time_queue; in snd_seq_get_port_info()
403 struct snd_seq_port_subscribe *info, in subscribe_port() argument
412 err = grp->open(port->private_data, info); in subscribe_port()
420 info, SNDRV_SEQ_EVENT_PORT_SUBSCRIBED); in subscribe_port()
428 struct snd_seq_port_subscribe *info, in unsubscribe_port() argument
437 err = grp->close(port->private_data, info); in unsubscribe_port()
440 info, SNDRV_SEQ_EVENT_PORT_UNSUBSCRIBED); in unsubscribe_port()
490 if (match_subs_info(&subs->info, &s->info)) in check_and_subscribe_port()
495 err = subscribe_port(client, port, grp, &subs->info, ack); in check_and_subscribe_port()
537 unsubscribe_port(client, port, grp, &subs->info, ack); in __delete_and_unsubscribe_port()
559 struct snd_seq_port_subscribe *info) in snd_seq_port_connect() argument
569 subs->info = *info; in snd_seq_port_connect()
574 exclusive = !!(info->flags & SNDRV_SEQ_PORT_SUBS_EXCLUSIVE); in snd_seq_port_connect()
603 struct snd_seq_port_subscribe *info) in snd_seq_port_disconnect() argument
615 if (match_subs_info(info, &subs->info)) { in snd_seq_port_disconnect()
644 if (addr_match(dest_addr, &s->info.dest)) { in snd_seq_port_get_subscription()
645 *subs = s->info; in snd_seq_port_get_subscription()