Searched refs:ttys (Results 1 - 6 of 6) sorted by relevance

/linux-master/drivers/tty/ipwireless/
H A Dtty.c59 static struct ipw_tty *ttys[IPWIRELESS_PCMCIA_MINORS]; variable in typeref:struct:ipw_tty
85 return ttys[index];
440 ttys[j] = kzalloc(sizeof(struct ipw_tty), GFP_KERNEL);
441 if (!ttys[j])
443 ttys[j]->index = j;
444 ttys[j]->hardware = hardware;
445 ttys[j]->channel_idx = channel_idx;
446 ttys[j]->secondary_channel_idx = secondary_channel_idx;
447 ttys[j]->network = network;
448 ttys[
[all...]
/linux-master/drivers/tty/
H A Dehv_bytechan.c472 static ssize_t ehv_bc_tty_write(struct tty_struct *ttys, const u8 *s, argument
475 struct ehv_bc_data *bc = ttys->driver_data;
504 * why we initialize bc->ttys in ehv_bc_tty_port_activate() instead.
511 static int ehv_bc_tty_open(struct tty_struct *ttys, struct file *filp) argument
513 struct ehv_bc_data *bc = &bcs[ttys->index];
518 return tty_port_open(&bc->port, ttys, filp);
526 static void ehv_bc_tty_close(struct tty_struct *ttys, struct file *filp) argument
528 struct ehv_bc_data *bc = &bcs[ttys->index];
531 tty_port_close(&bc->port, ttys, filp);
541 static unsigned int ehv_bc_tty_write_room(struct tty_struct *ttys) argument
566 ehv_bc_tty_throttle(struct tty_struct *ttys) argument
580 ehv_bc_tty_unthrottle(struct tty_struct *ttys) argument
590 ehv_bc_tty_hangup(struct tty_struct *ttys) argument
622 ehv_bc_tty_port_activate(struct tty_port *port, struct tty_struct *ttys) argument
[all...]
H A Dtty_io.c569 * * file list lock for manipulating list of ttys
1242 tty = driver->ttys[idx];
1291 driver->ttys[tty->index] = tty;
1329 driver->ttys[tty->index] = NULL;
1523 * takes the file list lock internally when working on the list of ttys
1586 * takes the file list lock internally when working on the list of ttys
1631 if (tty != tty->driver->ttys[idx]) {
1633 idx, tty->driver->ttys[idx]);
1639 if (o_tty != tty->driver->other->ttys[idx]) {
1641 idx, tty->driver->other->ttys[id
[all...]
H A Dpty.c392 driver->other->ttys[idx] = o_tty;
393 driver->ttys[idx] = tty;
448 driver->ttys[tty->index] = NULL;
450 pair->driver->ttys[pair->index] = NULL;
/linux-master/include/linux/
H A Dtty_driver.h29 * Optional method. Default behaviour is to use the @self->ttys array.
36 * Optional method. Default behaviour is to use the @self->ttys array.
43 * Optional method. Default behaviour is to use the @self->ttys array.
415 * @ttys: array of active &struct tty_struct, set by tty_standard_install()
452 struct tty_struct **ttys; member in struct:tty_driver
519 * Don't use the standard arrays (&tty_driver.ttys and
/linux-master/drivers/tty/hvc/
H A Dhvc_console.c863 struct tty_struct *tty = driver->ttys[0];
878 struct tty_struct *tty = driver->ttys[0];

Completed in 155 milliseconds