Lines Matching refs:portinfo
696 struct snd_seq_port_info portinfo; in snd_seq_event_port_attach() local
700 memset(&portinfo, 0, sizeof(portinfo)); in snd_seq_event_port_attach()
701 portinfo.addr.client = client; in snd_seq_event_port_attach()
702 strscpy(portinfo.name, portname ? portname : "Unnamed port", in snd_seq_event_port_attach()
703 sizeof(portinfo.name)); in snd_seq_event_port_attach()
705 portinfo.capability = cap; in snd_seq_event_port_attach()
706 portinfo.type = type; in snd_seq_event_port_attach()
707 portinfo.kernel = pcbp; in snd_seq_event_port_attach()
708 portinfo.midi_channels = midi_channels; in snd_seq_event_port_attach()
709 portinfo.midi_voices = midi_voices; in snd_seq_event_port_attach()
714 &portinfo); in snd_seq_event_port_attach()
717 ret = portinfo.addr.port; in snd_seq_event_port_attach()
729 struct snd_seq_port_info portinfo; in snd_seq_event_port_detach() local
732 memset(&portinfo, 0, sizeof(portinfo)); in snd_seq_event_port_detach()
733 portinfo.addr.client = client; in snd_seq_event_port_detach()
734 portinfo.addr.port = port; in snd_seq_event_port_detach()
737 &portinfo); in snd_seq_event_port_detach()