Lines Matching refs:portinfo
666 struct snd_seq_port_info portinfo; in snd_seq_event_port_attach() local
670 memset(&portinfo, 0, sizeof(portinfo)); in snd_seq_event_port_attach()
671 portinfo.addr.client = client; in snd_seq_event_port_attach()
672 strscpy(portinfo.name, portname ? portname : "Unnamed port", in snd_seq_event_port_attach()
673 sizeof(portinfo.name)); in snd_seq_event_port_attach()
675 portinfo.capability = cap; in snd_seq_event_port_attach()
676 portinfo.type = type; in snd_seq_event_port_attach()
677 portinfo.kernel = pcbp; in snd_seq_event_port_attach()
678 portinfo.midi_channels = midi_channels; in snd_seq_event_port_attach()
679 portinfo.midi_voices = midi_voices; in snd_seq_event_port_attach()
684 &portinfo); in snd_seq_event_port_attach()
687 ret = portinfo.addr.port; in snd_seq_event_port_attach()
699 struct snd_seq_port_info portinfo; in snd_seq_event_port_detach() local
702 memset(&portinfo, 0, sizeof(portinfo)); in snd_seq_event_port_detach()
703 portinfo.addr.client = client; in snd_seq_event_port_detach()
704 portinfo.addr.port = port; in snd_seq_event_port_detach()
707 &portinfo); in snd_seq_event_port_detach()