Home
last modified time | relevance | path

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

/sound/core/seq/
Dseq_ports.c116 struct snd_seq_client_port *new_port, *p; in snd_seq_create_port() local
129 new_port = kzalloc(sizeof(*new_port), GFP_KERNEL); in snd_seq_create_port()
130 if (!new_port) in snd_seq_create_port()
133 new_port->addr.client = client->number; in snd_seq_create_port()
134 new_port->addr.port = -1; in snd_seq_create_port()
135 new_port->owner = THIS_MODULE; in snd_seq_create_port()
136 sprintf(new_port->name, "port-%d", num); in snd_seq_create_port()
137 snd_use_lock_init(&new_port->use_lock); in snd_seq_create_port()
138 port_subs_info_init(&new_port->c_src); in snd_seq_create_port()
139 port_subs_info_init(&new_port->c_dest); in snd_seq_create_port()
[all …]