Searched refs:closing_wait (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/drivers/tty/ |
H A D | amiserial.c | 897 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 …]
|
H A D | mxser.c | 972 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() 1001 unsigned int old_speed, close_delay, closing_wait; in mxser_set_serial_info() local 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() [all …]
|
H A D | tty_port.c | 100 port->closing_wait = (3000 * HZ) / 100; in tty_port_init() 655 if (port->closing_wait != ASYNC_CLOSING_WAIT_NONE) in tty_port_close_start() 656 tty_wait_until_sent(tty, port->closing_wait); in tty_port_close_start()
|
H A D | tty_io.c | 2811 unsigned short closing_wait; /* time to wait before closing */ member
|
/openbmc/linux/drivers/usb/serial/ |
H A D | usb-serial.c | 443 unsigned int close_delay, closing_wait; in serial_get_serial() local 448 closing_wait = tport->closing_wait; in serial_get_serial() 449 if (closing_wait != ASYNC_CLOSING_WAIT_NONE) in serial_get_serial() 450 closing_wait = jiffies_to_msecs(closing_wait) / 10; in serial_get_serial() 454 ss->closing_wait = closing_wait; in serial_get_serial() 468 unsigned int close_delay, closing_wait; in serial_set_serial() local 472 closing_wait = ss->closing_wait; in serial_set_serial() 473 if (closing_wait != ASYNC_CLOSING_WAIT_NONE) in serial_set_serial() 474 closing_wait = msecs_to_jiffies(closing_wait * 10); in serial_set_serial() 480 closing_wait != tport->closing_wait) { in serial_set_serial() [all …]
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | uart.c | 600 ss->closing_wait = in get_serial_info() 601 gb_tty->port.closing_wait == ASYNC_CLOSING_WAIT_NONE ? in get_serial_info() 603 jiffies_to_msecs(gb_tty->port.closing_wait) / 10; in get_serial_info() 612 unsigned int closing_wait; in set_serial_info() local 617 closing_wait = ss->closing_wait == ASYNC_CLOSING_WAIT_NONE ? in set_serial_info() 619 msecs_to_jiffies(ss->closing_wait * 10); in set_serial_info() 624 (closing_wait != gb_tty->port.closing_wait)) in set_serial_info() 628 gb_tty->port.closing_wait = closing_wait; in set_serial_info()
|
/openbmc/linux/drivers/usb/class/ |
H A D | cdc-acm.c | 978 ss->closing_wait = acm->port.closing_wait == ASYNC_CLOSING_WAIT_NONE ? in get_serial_info() 980 jiffies_to_msecs(acm->port.closing_wait) / 10; in get_serial_info() 988 unsigned int closing_wait, close_delay; in set_serial_info() local 992 closing_wait = ss->closing_wait == ASYNC_CLOSING_WAIT_NONE ? in set_serial_info() 994 msecs_to_jiffies(ss->closing_wait * 10); in set_serial_info() 1000 (closing_wait != acm->port.closing_wait)) in set_serial_info() 1004 acm->port.closing_wait = closing_wait; in set_serial_info()
|
/openbmc/linux/include/uapi/linux/ |
H A D | serial.h | 32 unsigned short closing_wait; /* time to wait before closing */ member
|
/openbmc/linux/drivers/tty/serial/ |
H A D | serial_core.c | 812 retinfo->closing_wait = port->closing_wait == ASYNC_CLOSING_WAIT_NONE ? in uart_get_info() 814 jiffies_to_msecs(port->closing_wait) / 10; in uart_get_info() 842 unsigned int change_irq, change_port, closing_wait; in uart_set_info() local 856 closing_wait = new_info->closing_wait == ASYNC_CLOSING_WAIT_NONE ? in uart_set_info() 858 msecs_to_jiffies(new_info->closing_wait * 10); in uart_set_info() 894 (closing_wait != port->closing_wait) || in uart_set_info() 1014 port->closing_wait = closing_wait; in uart_set_info() 3008 return sprintf(buf, "%d\n", tmp.closing_wait); in closing_wait_show() 3111 static DEVICE_ATTR_RO(closing_wait);
|
/openbmc/linux/include/linux/ |
H A D | tty_port.h | 120 unsigned int closing_wait; member
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-tty | 95 What: /sys/class/tty/ttyS<x>/closing_wait
|
/openbmc/linux/Documentation/driver-api/tty/ |
H A D | moxa-smartio.rst | 169 closing_wait set the amount of time (in 1/100 of a second) that the
|