Lines Matching refs:info
182 struct snd_seq_port_subscribe *info, int send_ack);
186 struct snd_seq_port_subscribe *info, int send_ack);
237 aport = get_client_port(&subs->info.dest, &c); in clear_subscriber_list()
239 aport = get_client_port(&subs->info.sender, &c); in clear_subscriber_list()
341 struct snd_seq_port_info * info) in snd_seq_set_port_info() argument
343 if (snd_BUG_ON(!port || !info)) in snd_seq_set_port_info()
347 if (info->name[0]) in snd_seq_set_port_info()
348 strlcpy(port->name, info->name, sizeof(port->name)); in snd_seq_set_port_info()
351 port->capability = info->capability; in snd_seq_set_port_info()
354 port->type = info->type; in snd_seq_set_port_info()
357 port->midi_channels = info->midi_channels; in snd_seq_set_port_info()
358 port->midi_voices = info->midi_voices; in snd_seq_set_port_info()
359 port->synth_voices = info->synth_voices; in snd_seq_set_port_info()
362 port->timestamping = (info->flags & SNDRV_SEQ_PORT_FLG_TIMESTAMP) ? 1 : 0; in snd_seq_set_port_info()
363 port->time_real = (info->flags & SNDRV_SEQ_PORT_FLG_TIME_REAL) ? 1 : 0; in snd_seq_set_port_info()
364 port->time_queue = info->time_queue; in snd_seq_set_port_info()
371 struct snd_seq_port_info * info) in snd_seq_get_port_info() argument
373 if (snd_BUG_ON(!port || !info)) in snd_seq_get_port_info()
377 strlcpy(info->name, port->name, sizeof(info->name)); in snd_seq_get_port_info()
380 info->capability = port->capability; in snd_seq_get_port_info()
383 info->type = port->type; in snd_seq_get_port_info()
386 info->midi_channels = port->midi_channels; in snd_seq_get_port_info()
387 info->midi_voices = port->midi_voices; in snd_seq_get_port_info()
388 info->synth_voices = port->synth_voices; in snd_seq_get_port_info()
391 info->read_use = port->c_src.count; in snd_seq_get_port_info()
392 info->write_use = port->c_dest.count; in snd_seq_get_port_info()
395 info->flags = 0; in snd_seq_get_port_info()
397 info->flags |= SNDRV_SEQ_PORT_FLG_TIMESTAMP; in snd_seq_get_port_info()
399 info->flags |= SNDRV_SEQ_PORT_FLG_TIME_REAL; in snd_seq_get_port_info()
400 info->time_queue = port->time_queue; in snd_seq_get_port_info()
424 struct snd_seq_port_subscribe *info, in subscribe_port() argument
433 err = grp->open(port->private_data, info); in subscribe_port()
441 info, SNDRV_SEQ_EVENT_PORT_SUBSCRIBED); in subscribe_port()
449 struct snd_seq_port_subscribe *info, in unsubscribe_port() argument
458 err = grp->close(port->private_data, info); in unsubscribe_port()
461 info, SNDRV_SEQ_EVENT_PORT_UNSUBSCRIBED); in unsubscribe_port()
511 if (match_subs_info(&subs->info, &s->info)) in check_and_subscribe_port()
516 err = subscribe_port(client, port, grp, &subs->info, ack); in check_and_subscribe_port()
559 unsubscribe_port(client, port, grp, &subs->info, ack); in delete_and_unsubscribe_port()
568 struct snd_seq_port_subscribe *info) in snd_seq_port_connect() argument
578 subs->info = *info; in snd_seq_port_connect()
583 exclusive = !!(info->flags & SNDRV_SEQ_PORT_SUBS_EXCLUSIVE); in snd_seq_port_connect()
612 struct snd_seq_port_subscribe *info) in snd_seq_port_disconnect() argument
621 if (match_subs_info(info, &subs->info)) { in snd_seq_port_disconnect()
648 if (addr_match(dest_addr, &s->info.dest)) { in snd_seq_port_get_subscription()