Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/tty/ipwireless/
H A 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[ in add_tty()
[all...]
/kernel/linux/linux-6.6/drivers/tty/ipwireless/
H A 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[ in add_tty()
[all...]
/kernel/linux/linux-5.10/drivers/tty/
H A 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()
502 * why we initialize bc->ttys in ehv_bc_tty_port_activate() instead.
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 int ehv_bc_tty_write_room(struct tty_struct *ttys) in ehv_bc_tty_write_room() argument
564 ehv_bc_tty_throttle(struct tty_struct *ttys) ehv_bc_tty_throttle() argument
578 ehv_bc_tty_unthrottle(struct tty_struct *ttys) ehv_bc_tty_unthrottle() argument
588 ehv_bc_tty_hangup(struct tty_struct *ttys) ehv_bc_tty_hangup() argument
620 ehv_bc_tty_port_activate(struct tty_port *port, struct tty_struct *ttys) ehv_bc_tty_port_activate() argument
[all...]
H A Dtty_io.c561 * file list lock for manipulating list of ttys
1249 tty = driver->ttys[idx]; in tty_driver_lookup_tty()
1291 driver->ttys[tty->index] = tty; in tty_standard_install()
1330 driver->ttys[tty->index] = NULL; in tty_driver_remove_tty()
1527 * of ttys that the driver keeps.
1589 * of ttys that the driver keeps.
1634 if (tty != tty->driver->ttys[idx]) { in tty_release_checks()
1636 idx, tty->driver->ttys[idx]); in tty_release_checks()
1642 if (o_tty != tty->driver->other->ttys[idx]) { in tty_release_checks()
1644 idx, tty->driver->other->ttys[id in tty_release_checks()
[all...]
H A Dpty.c403 driver->other->ttys[idx] = o_tty; in pty_common_install()
404 driver->ttys[idx] = tty; in pty_common_install()
458 driver->ttys[tty->index] = NULL; in pty_remove()
460 pair->driver->ttys[pair->index] = NULL; in pty_remove()
/kernel/linux/linux-6.6/drivers/tty/
H A Dehv_bytechan.c469 static ssize_t ehv_bc_tty_write(struct tty_struct *ttys, const u8 *s, in ehv_bc_tty_write() argument
472 struct ehv_bc_data *bc = ttys->driver_data; in ehv_bc_tty_write()
502 * why we initialize bc->ttys in ehv_bc_tty_port_activate() instead.
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
564 ehv_bc_tty_throttle(struct tty_struct *ttys) ehv_bc_tty_throttle() argument
578 ehv_bc_tty_unthrottle(struct tty_struct *ttys) ehv_bc_tty_unthrottle() argument
588 ehv_bc_tty_hangup(struct tty_struct *ttys) ehv_bc_tty_hangup() argument
620 ehv_bc_tty_port_activate(struct tty_port *port, struct tty_struct *ttys) ehv_bc_tty_port_activate() argument
[all...]
H A Dtty_io.c569 * * file list lock for manipulating list of ttys
1234 tty = driver->ttys[idx]; in tty_driver_lookup_tty()
1283 driver->ttys[tty->index] = tty; in tty_standard_install()
1321 driver->ttys[tty->index] = NULL; in tty_driver_remove_tty()
1515 * takes the file list lock internally when working on the list of ttys
1578 * takes the file list lock internally when working on the list of ttys
1623 if (tty != tty->driver->ttys[idx]) { in tty_release_checks()
1625 idx, tty->driver->ttys[idx]); in tty_release_checks()
1631 if (o_tty != tty->driver->other->ttys[idx]) { in tty_release_checks()
1633 idx, tty->driver->other->ttys[id in tty_release_checks()
[all...]
H A 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()
/kernel/linux/linux-5.10/include/linux/
H A Dtty_driver.h17 * Optional method. Default behaviour is to use the ttys array
24 * Optional method. Default behaviour is to use the ttys array
31 * Optional method. Default behaviour is to use the ttys array
314 struct tty_struct **ttys; member
/kernel/linux/linux-6.6/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.
416 * @ttys: array of active &struct tty_struct, set by tty_standard_install()
453 struct tty_struct **ttys; member
520 * Don't use the standard arrays (&tty_driver.ttys and
/kernel/linux/linux-5.10/drivers/tty/hvc/
H A 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()
/kernel/linux/linux-6.6/drivers/tty/hvc/
H A 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()
/kernel/linux/linux-5.10/drivers/staging/fwserial/
H A Dfwserial.c31 static int num_ttys = 4; /* # of std ttys to create per fw_card */
36 module_param_named(ttys, num_ttys, int, 0644);
2890 MODULE_PARM_DESC(ttys, "Number of ttys to create for each local firewire node");
2892 MODULE_PARM_DESC(loop, "Create a loopback device, fwloop<n>, with ttys");

Completed in 25 milliseconds