Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/tty/ipwireless/
Dtty.c60 static struct ipw_tty *ttys[IPWIRELESS_PCMCIA_MINORS]; variable
86 return ttys[index]; in get_tty()
442 ttys[j] = kzalloc(sizeof(struct ipw_tty), GFP_KERNEL); in add_tty()
443 if (!ttys[j]) in add_tty()
445 ttys[j]->index = j; in add_tty()
446 ttys[j]->hardware = hardware; in add_tty()
447 ttys[j]->channel_idx = channel_idx; in add_tty()
448 ttys[j]->secondary_channel_idx = secondary_channel_idx; in add_tty()
449 ttys[j]->network = network; in add_tty()
450 ttys[j]->tty_type = tty_type; in add_tty()
[all …]
/Linux-v5.4/drivers/tty/
Dehv_bytechan.c454 static int ehv_bc_tty_write(struct tty_struct *ttys, const unsigned char *s, in ehv_bc_tty_write() argument
457 struct ehv_bc_data *bc = ttys->driver_data; in ehv_bc_tty_write()
494 static int ehv_bc_tty_open(struct tty_struct *ttys, struct file *filp) in ehv_bc_tty_open() argument
496 struct ehv_bc_data *bc = &bcs[ttys->index]; in ehv_bc_tty_open()
501 return tty_port_open(&bc->port, ttys, filp); in ehv_bc_tty_open()
509 static void ehv_bc_tty_close(struct tty_struct *ttys, struct file *filp) in ehv_bc_tty_close() argument
511 struct ehv_bc_data *bc = &bcs[ttys->index]; in ehv_bc_tty_close()
514 tty_port_close(&bc->port, ttys, filp); in ehv_bc_tty_close()
524 static int ehv_bc_tty_write_room(struct tty_struct *ttys) in ehv_bc_tty_write_room() argument
526 struct ehv_bc_data *bc = ttys->driver_data; in ehv_bc_tty_write_room()
[all …]
Dtty_io.c1165 tty = driver->ttys[idx]; in tty_driver_lookup_tty()
1207 driver->ttys[tty->index] = tty; in tty_standard_install()
1246 driver->ttys[tty->index] = NULL; in tty_driver_remove_tty()
1545 if (tty != tty->driver->ttys[idx]) { in tty_release_checks()
1547 idx, tty->driver->ttys[idx]); in tty_release_checks()
1553 if (o_tty != tty->driver->other->ttys[idx]) { in tty_release_checks()
1555 idx, tty->driver->other->ttys[idx]); in tty_release_checks()
3224 driver->ttys = kcalloc(lines, sizeof(*driver->ttys), in __tty_alloc_driver()
3228 if (!driver->ttys || !driver->termios) { in __tty_alloc_driver()
3253 kfree(driver->ttys); in __tty_alloc_driver()
[all …]
Dpty.c412 driver->other->ttys[idx] = o_tty; in pty_common_install()
413 driver->ttys[idx] = tty; in pty_common_install()
467 driver->ttys[tty->index] = NULL; in pty_remove()
469 pair->driver->ttys[pair->index] = NULL; in pty_remove()
/Linux-v5.4/drivers/staging/fwserial/
DKconfig30 is set with the module parameter "ttys".
Dfwserial.c36 module_param_named(ttys, num_ttys, int, 0644);
2889 MODULE_PARM_DESC(ttys, "Number of ttys to create for each local firewire node");
/Linux-v5.4/include/linux/
Dtty_driver.h323 struct tty_struct **ttys; member
/Linux-v5.4/drivers/tty/hvc/
Dhvc_console.c874 struct tty_struct *tty = driver->ttys[0]; in hvc_poll_get_char()
889 struct tty_struct *tty = driver->ttys[0]; in hvc_poll_put_char()
/Linux-v5.4/drivers/tty/vt/
Dvt_ioctl.c45 #define VT_IS_IN_USE(i) (console_driver->ttys[i] && console_driver->ttys[i]->count)
/Linux-v5.4/Documentation/fb/
Dsstfb.rst76 as the console subsystem automagicaly binds ttys to the fb.
/Linux-v5.4/arch/um/drivers/
DKconfig16 ttys or ptys.
/Linux-v5.4/Documentation/process/
Dkernel-docs.rst267 files/directories/processes invisible, become root, hijack ttys,
/Linux-v5.4/Documentation/admin-guide/
Ddevices.txt40 the 1st through 16th series of 16 pseudo-ttys each, and
/Linux-v5.4/Documentation/virt/uml/
DUserModeLinux-HOWTO.txt586 You can attach them to host ptys, ttys, file descriptors, and ports.