Lines Matching defs:ttys
60 static struct ipw_tty *ttys[IPWIRELESS_PCMCIA_MINORS];
86 return ttys[index];
442 ttys[j] = kzalloc(sizeof(struct ipw_tty), GFP_KERNEL);
443 if (!ttys[j])
445 ttys[j]->index = j;
446 ttys[j]->hardware = hardware;
447 ttys[j]->channel_idx = channel_idx;
448 ttys[j]->secondary_channel_idx = secondary_channel_idx;
449 ttys[j]->network = network;
450 ttys[j]->tty_type = tty_type;
451 mutex_init(&ttys[j]->ipw_tty_mutex);
452 tty_port_init(&ttys[j]->port);
454 tty_port_register_device(&ttys[j]->port, ipw_tty_driver, j, NULL);
455 ipwireless_associate_network_tty(network, channel_idx, ttys[j]);
460 ttys[j]);
480 if (ttys[j] != NULL) {
505 return ttys[i];
517 struct ipw_network *network = ttys[tty->index]->network;
521 struct ipw_tty *ttyj = ttys[j];
545 ttys[j] = NULL;