Home
last modified time | relevance | path

Searched refs:closing_wait (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/drivers/tty/
A Damiserial.c897 unsigned int close_delay, closing_wait; in get_serial_info() local
901 closing_wait = state->tport.closing_wait; in get_serial_info()
902 if (closing_wait != ASYNC_CLOSING_WAIT_NONE) in get_serial_info()
903 closing_wait = jiffies_to_msecs(closing_wait) / 10; in get_serial_info()
911 ss->closing_wait = closing_wait; in get_serial_info()
923 unsigned int close_delay, closing_wait; in set_serial_info() local
935 closing_wait = ss->closing_wait; in set_serial_info()
936 if (closing_wait != ASYNC_CLOSING_WAIT_NONE) in set_serial_info()
937 closing_wait = msecs_to_jiffies(closing_wait * 10); in set_serial_info()
942 (closing_wait != port->closing_wait) || in set_serial_info()
[all …]
A Dmxser.c972 unsigned int closing_wait, close_delay; in mxser_get_serial_info() local
977 closing_wait = info->port.closing_wait; in mxser_get_serial_info()
978 if (closing_wait != ASYNC_CLOSING_WAIT_NONE) in mxser_get_serial_info()
979 closing_wait = jiffies_to_msecs(closing_wait) / 10; in mxser_get_serial_info()
988 ss->closing_wait = closing_wait; in mxser_get_serial_info()
1018 closing_wait = ss->closing_wait; in mxser_set_serial_info()
1019 if (closing_wait != ASYNC_CLOSING_WAIT_NONE) in mxser_set_serial_info()
1020 closing_wait = msecs_to_jiffies(closing_wait * 10); in mxser_set_serial_info()
1025 (closing_wait != port->closing_wait) || in mxser_set_serial_info()
1040 port->closing_wait = closing_wait; in mxser_set_serial_info()
[all …]
A Dtty_port.c102 port->closing_wait = (3000 * HZ) / 100; in tty_port_init()
657 if (port->closing_wait != ASYNC_CLOSING_WAIT_NONE) in tty_port_close_start()
658 tty_wait_until_sent(tty, port->closing_wait); in tty_port_close_start()
A Dtty_io.c2809 unsigned short closing_wait; /* time to wait before closing */ member
/linux-6.3-rc2/drivers/usb/serial/
A Dusb-serial.c444 unsigned int close_delay, closing_wait; in serial_get_serial() local
449 closing_wait = tport->closing_wait; in serial_get_serial()
450 if (closing_wait != ASYNC_CLOSING_WAIT_NONE) in serial_get_serial()
451 closing_wait = jiffies_to_msecs(closing_wait) / 10; in serial_get_serial()
455 ss->closing_wait = closing_wait; in serial_get_serial()
469 unsigned int close_delay, closing_wait; in serial_set_serial() local
473 closing_wait = ss->closing_wait; in serial_set_serial()
474 if (closing_wait != ASYNC_CLOSING_WAIT_NONE) in serial_set_serial()
475 closing_wait = msecs_to_jiffies(closing_wait * 10); in serial_set_serial()
481 closing_wait != tport->closing_wait) { in serial_set_serial()
[all …]
/linux-6.3-rc2/drivers/staging/greybus/
A Duart.c601 ss->closing_wait = in get_serial_info()
602 gb_tty->port.closing_wait == ASYNC_CLOSING_WAIT_NONE ? in get_serial_info()
604 jiffies_to_msecs(gb_tty->port.closing_wait) / 10; in get_serial_info()
613 unsigned int closing_wait; in set_serial_info() local
618 closing_wait = ss->closing_wait == ASYNC_CLOSING_WAIT_NONE ? in set_serial_info()
620 msecs_to_jiffies(ss->closing_wait * 10); in set_serial_info()
625 (closing_wait != gb_tty->port.closing_wait)) in set_serial_info()
629 gb_tty->port.closing_wait = closing_wait; in set_serial_info()
/linux-6.3-rc2/drivers/usb/class/
A Dcdc-acm.c939 ss->closing_wait = acm->port.closing_wait == ASYNC_CLOSING_WAIT_NONE ? in get_serial_info()
941 jiffies_to_msecs(acm->port.closing_wait) / 10; in get_serial_info()
948 unsigned int closing_wait, close_delay; in set_serial_info() local
952 closing_wait = ss->closing_wait == ASYNC_CLOSING_WAIT_NONE ? in set_serial_info()
954 msecs_to_jiffies(ss->closing_wait * 10); in set_serial_info()
960 (closing_wait != acm->port.closing_wait)) in set_serial_info()
964 acm->port.closing_wait = closing_wait; in set_serial_info()
/linux-6.3-rc2/include/uapi/linux/
A Dserial.h32 unsigned short closing_wait; /* time to wait before closing */ member
/linux-6.3-rc2/drivers/tty/serial/
A Dserial_core.c782 retinfo->closing_wait = port->closing_wait == ASYNC_CLOSING_WAIT_NONE ? in uart_get_info()
784 jiffies_to_msecs(port->closing_wait) / 10; in uart_get_info()
812 unsigned int change_irq, change_port, closing_wait; in uart_set_info() local
826 closing_wait = new_info->closing_wait == ASYNC_CLOSING_WAIT_NONE ? in uart_set_info()
828 msecs_to_jiffies(new_info->closing_wait * 10); in uart_set_info()
856 (closing_wait != port->closing_wait) || in uart_set_info()
976 port->closing_wait = closing_wait; in uart_set_info()
2909 return sprintf(buf, "%d\n", tmp.closing_wait); in closing_wait_show()
3012 static DEVICE_ATTR_RO(closing_wait);
/linux-6.3-rc2/include/linux/
A Dtty_port.h119 unsigned int closing_wait; member
/linux-6.3-rc2/Documentation/ABI/testing/
A Dsysfs-tty95 What: /sys/class/tty/ttyS<x>/closing_wait
/linux-6.3-rc2/Documentation/driver-api/tty/
A Dmoxa-smartio.rst169 closing_wait set the amount of time (in 1/100 of a second) that the

Completed in 54 milliseconds