Home
last modified time | relevance | path

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

/drivers/tty/ipwireless/
Dtty.c59 static struct ipw_tty *ttys[IPWIRELESS_PCMCIA_MINORS]; variable
85 return ttys[index]; in get_tty()
440 ttys[j] = kzalloc(sizeof(struct ipw_tty), GFP_KERNEL); in add_tty()
441 if (!ttys[j]) in add_tty()
443 ttys[j]->index = j; in add_tty()
444 ttys[j]->hardware = hardware; in add_tty()
445 ttys[j]->channel_idx = channel_idx; in add_tty()
446 ttys[j]->secondary_channel_idx = secondary_channel_idx; in add_tty()
447 ttys[j]->network = network; in add_tty()
448 ttys[j]->tty_type = tty_type; in add_tty()
[all …]
/drivers/tty/
Dehv_bytechan.c469 static int ehv_bc_tty_write(struct tty_struct *ttys, const unsigned char *s, in ehv_bc_tty_write() argument
472 struct ehv_bc_data *bc = ttys->driver_data; in ehv_bc_tty_write()
509 static int ehv_bc_tty_open(struct tty_struct *ttys, struct file *filp) in ehv_bc_tty_open() argument
511 struct ehv_bc_data *bc = &bcs[ttys->index]; in ehv_bc_tty_open()
516 return tty_port_open(&bc->port, ttys, filp); in ehv_bc_tty_open()
524 static void ehv_bc_tty_close(struct tty_struct *ttys, struct file *filp) in ehv_bc_tty_close() argument
526 struct ehv_bc_data *bc = &bcs[ttys->index]; in ehv_bc_tty_close()
529 tty_port_close(&bc->port, ttys, filp); in ehv_bc_tty_close()
539 static unsigned int ehv_bc_tty_write_room(struct tty_struct *ttys) in ehv_bc_tty_write_room() argument
541 struct ehv_bc_data *bc = ttys->driver_data; in ehv_bc_tty_write_room()
[all …]
Dtty_io.c1255 tty = driver->ttys[idx]; in tty_driver_lookup_tty()
1297 driver->ttys[tty->index] = tty; in tty_standard_install()
1336 driver->ttys[tty->index] = NULL; in tty_driver_remove_tty()
1643 if (tty != tty->driver->ttys[idx]) { in tty_release_checks()
1645 idx, tty->driver->ttys[idx]); in tty_release_checks()
1651 if (o_tty != tty->driver->other->ttys[idx]) { in tty_release_checks()
1653 idx, tty->driver->other->ttys[idx]); in tty_release_checks()
3376 driver->ttys = kcalloc(lines, sizeof(*driver->ttys), in __tty_alloc_driver()
3380 if (!driver->ttys || !driver->termios) { in __tty_alloc_driver()
3405 kfree(driver->ttys); in __tty_alloc_driver()
[all …]
Dpty.c392 driver->other->ttys[idx] = o_tty; in pty_common_install()
393 driver->ttys[idx] = tty; in pty_common_install()
448 driver->ttys[tty->index] = NULL; in pty_remove()
450 pair->driver->ttys[pair->index] = NULL; in pty_remove()
/drivers/staging/fwserial/
DKconfig30 is set with the module parameter "ttys".
Dfwserial.c36 module_param_named(ttys, num_ttys, int, 0644);
2888 MODULE_PARM_DESC(ttys, "Number of ttys to create for each local firewire node");
/drivers/tty/hvc/
Dhvc_console.c863 struct tty_struct *tty = driver->ttys[0]; in hvc_poll_get_char()
878 struct tty_struct *tty = driver->ttys[0]; in hvc_poll_put_char()
/drivers/leds/trigger/
DKconfig151 This allows LEDs to be controlled by activity on ttys which includes