Lines Matching refs:ttys
61 static struct ipw_tty *ttys[IPWIRELESS_PCMCIA_MINORS]; variable
104 return ttys[index]; in get_tty()
485 ttys[j] = kzalloc(sizeof(struct ipw_tty), GFP_KERNEL); in add_tty()
486 if (!ttys[j]) in add_tty()
488 ttys[j]->index = j; in add_tty()
489 ttys[j]->hardware = hardware; in add_tty()
490 ttys[j]->channel_idx = channel_idx; in add_tty()
491 ttys[j]->secondary_channel_idx = secondary_channel_idx; in add_tty()
492 ttys[j]->network = network; in add_tty()
493 ttys[j]->tty_type = tty_type; in add_tty()
494 mutex_init(&ttys[j]->ipw_tty_mutex); in add_tty()
497 ipwireless_associate_network_tty(network, channel_idx, ttys[j]); in add_tty()
502 ttys[j]); in add_tty()
503 if (get_tty(j) == ttys[j]) in add_tty()
504 report_registering(ttys[j]); in add_tty()
518 if (ttys[j] != NULL) { in ipwireless_tty_create()
543 return ttys[i]; in ipwireless_tty_create()
555 struct ipw_network *network = ttys[tty->index]->network; in ipwireless_tty_free()
559 struct ipw_tty *ttyj = ttys[j]; in ipwireless_tty_free()
580 ttys[j] = NULL; in ipwireless_tty_free()