Home
last modified time | relevance | path

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

/linux-2.6.39/sound/core/seq/
Dseq_ports.c129 struct snd_seq_client_port *new_port, *p; in snd_seq_create_port() local
142 new_port = kzalloc(sizeof(*new_port), GFP_KERNEL); in snd_seq_create_port()
143 if (! new_port) { in snd_seq_create_port()
148 new_port->addr.client = client->number; in snd_seq_create_port()
149 new_port->addr.port = -1; in snd_seq_create_port()
150 new_port->owner = THIS_MODULE; in snd_seq_create_port()
151 sprintf(new_port->name, "port-%d", num); in snd_seq_create_port()
152 snd_use_lock_init(&new_port->use_lock); in snd_seq_create_port()
153 port_subs_info_init(&new_port->c_src); in snd_seq_create_port()
154 port_subs_info_init(&new_port->c_dest); in snd_seq_create_port()
[all …]
/linux-2.6.39/drivers/tty/serial/
Dserial_core.c681 unsigned long new_port; in uart_set_info() local
690 new_port = new_serial.port; in uart_set_info()
692 new_port += (unsigned long) new_serial.port_high << HIGH_BITS_OFFSET; in uart_set_info()
717 && (new_port != uport->iobase || in uart_set_info()
790 uport->iobase = new_port; in uart_set_info()