Home
last modified time | relevance | path

Searched refs:new_port (Results 1 – 1 of 1) sorted by relevance

/sound/core/seq/
Dseq_ports.c132 struct snd_seq_client_port *new_port, *p; in snd_seq_create_port() local
145 new_port = kzalloc(sizeof(*new_port), GFP_KERNEL); in snd_seq_create_port()
146 if (!new_port) in snd_seq_create_port()
149 new_port->addr.client = client->number; in snd_seq_create_port()
150 new_port->addr.port = -1; in snd_seq_create_port()
151 new_port->owner = THIS_MODULE; in snd_seq_create_port()
152 sprintf(new_port->name, "port-%d", num); in snd_seq_create_port()
153 snd_use_lock_init(&new_port->use_lock); in snd_seq_create_port()
154 port_subs_info_init(&new_port->c_src); in snd_seq_create_port()
155 port_subs_info_init(&new_port->c_dest); in snd_seq_create_port()
[all …]