Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/tty/ipwireless/
Dtty.c59 static struct ipw_tty *ttys[IPWIRELESS_PCMCIA_MINORS]; variable
85 return ttys[index]; in get_tty()
452 ttys[j] = kzalloc(sizeof(struct ipw_tty), GFP_KERNEL); in add_tty()
453 if (!ttys[j]) in add_tty()
455 ttys[j]->index = j; in add_tty()
456 ttys[j]->hardware = hardware; in add_tty()
457 ttys[j]->channel_idx = channel_idx; in add_tty()
458 ttys[j]->secondary_channel_idx = secondary_channel_idx; in add_tty()
459 ttys[j]->network = network; in add_tty()
460 ttys[j]->tty_type = tty_type; in add_tty()
[all …]
/linux-4.4.14/drivers/tty/
Dehv_bytechan.c458 static int ehv_bc_tty_write(struct tty_struct *ttys, const unsigned char *s, in ehv_bc_tty_write() argument
461 struct ehv_bc_data *bc = ttys->driver_data; in ehv_bc_tty_write()
498 static int ehv_bc_tty_open(struct tty_struct *ttys, struct file *filp) in ehv_bc_tty_open() argument
500 struct ehv_bc_data *bc = &bcs[ttys->index]; in ehv_bc_tty_open()
505 return tty_port_open(&bc->port, ttys, filp); in ehv_bc_tty_open()
513 static void ehv_bc_tty_close(struct tty_struct *ttys, struct file *filp) in ehv_bc_tty_close() argument
515 struct ehv_bc_data *bc = &bcs[ttys->index]; in ehv_bc_tty_close()
518 tty_port_close(&bc->port, ttys, filp); in ehv_bc_tty_close()
528 static int ehv_bc_tty_write_room(struct tty_struct *ttys) in ehv_bc_tty_write_room() argument
530 struct ehv_bc_data *bc = ttys->driver_data; in ehv_bc_tty_write_room()
[all …]
Dtty_io.c1365 tty = driver->ttys[idx]; in tty_driver_lookup_tty()
1410 driver->ttys[tty->index] = tty; in tty_standard_install()
1449 driver->ttys[tty->index] = NULL; in tty_driver_remove_tty()
1723 if (tty != tty->driver->ttys[idx]) { in tty_release_checks()
1725 idx, tty->driver->ttys[idx]); in tty_release_checks()
1731 if (o_tty != tty->driver->other->ttys[idx]) { in tty_release_checks()
1733 idx, tty->driver->other->ttys[idx]); in tty_release_checks()
3389 driver->ttys = kcalloc(lines, sizeof(*driver->ttys), in __tty_alloc_driver()
3393 if (!driver->ttys || !driver->termios) { in __tty_alloc_driver()
3418 kfree(driver->ttys); in __tty_alloc_driver()
[all …]
Dpty.c415 driver->other->ttys[idx] = o_tty; in pty_common_install()
416 driver->ttys[idx] = tty; in pty_common_install()
475 driver->ttys[tty->index] = NULL; in pty_remove()
477 pair->driver->ttys[pair->index] = NULL; in pty_remove()
/linux-4.4.14/drivers/staging/fwserial/
DKconfig29 is set with the module parameter "ttys".
Dfwserial.c42 module_param_named(ttys, num_ttys, int, S_IRUGO | S_IWUSR);
2955 MODULE_PARM_DESC(ttys, "Number of ttys to create for each local firewire node");
/linux-4.4.14/drivers/staging/dgnc/
Ddgnc_tty.c202 brd->SerialDriver.ttys = kcalloc(brd->maxports, in dgnc_tty_register()
203 sizeof(*brd->SerialDriver.ttys), in dgnc_tty_register()
205 if (!brd->SerialDriver.ttys) in dgnc_tty_register()
258 brd->PrintDriver.ttys = kcalloc(brd->maxports, in dgnc_tty_register()
259 sizeof(*brd->PrintDriver.ttys), in dgnc_tty_register()
261 if (!brd->PrintDriver.ttys) in dgnc_tty_register()
436 kfree(brd->SerialDriver.ttys); in dgnc_tty_uninit()
437 brd->SerialDriver.ttys = NULL; in dgnc_tty_uninit()
440 kfree(brd->PrintDriver.ttys); in dgnc_tty_uninit()
441 brd->PrintDriver.ttys = NULL; in dgnc_tty_uninit()
/linux-4.4.14/include/linux/
Dtty_driver.h317 struct tty_struct **ttys; member
/linux-4.4.14/drivers/tty/hvc/
Dhvc_console.c810 struct tty_struct *tty = driver->ttys[0]; in hvc_poll_get_char()
825 struct tty_struct *tty = driver->ttys[0]; in hvc_poll_put_char()
/linux-4.4.14/arch/um/
DKconfig.char14 ttys or ptys.
/linux-4.4.14/drivers/tty/vt/
Dvt_ioctl.c42 #define VT_IS_IN_USE(i) (console_driver->ttys[i] && console_driver->ttys[i]->count)
/linux-4.4.14/Documentation/fb/
Dsstfb.txt63 as the console subsystem automagicaly binds ttys to the fb.
/linux-4.4.14/Documentation/isdn/
DREADME313 This makes it possible to configure several network interfaces and ttys
347 b) If you only intend to use ttys, you are nearly ready now.
/linux-4.4.14/Documentation/
Dkernel-docs.txt516 files/directories/processes invisible, become root, hijack ttys,
Ddevices.txt125 the 1st through 16th series of 16 pseudo-ttys each, and
/linux-4.4.14/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt586 You can attach them to host ptys, ttys, file descriptors, and ports.