Home
last modified time | relevance | path

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

/linux/drivers/tty/
H A Damiserial.c895 unsigned int close_delay, closing_wait; in get_serial_info() local
899 closing_wait = state->tport.closing_wait; in get_serial_info()
900 if (closing_wait != ASYNC_CLOSING_WAIT_NONE) in get_serial_info()
901 closing_wait = jiffies_to_msecs(closing_wait) / 10; in get_serial_info()
909 ss->closing_wait = closing_wait; in get_serial_info()
921 unsigned int close_delay, closing_wait; in set_serial_info() local
933 closing_wait = ss->closing_wait; in set_serial_info()
934 if (closing_wait != ASYNC_CLOSING_WAIT_NONE) in set_serial_info()
935 closing_wait = msecs_to_jiffies(closing_wait * 10); in set_serial_info()
940 (closing_wait != port->closing_wait) || in set_serial_info()
[all …]
H A Dtty_port.c96 port->closing_wait = (3000 * HZ) / 100; in tty_port_init()
671 if (port->closing_wait != ASYNC_CLOSING_WAIT_NONE) in tty_port_close_start()
672 tty_wait_until_sent(tty, port->closing_wait); in tty_port_close_start()
H A Dtty_io.c2814 unsigned short closing_wait; /* time to wait before closing */ member
/linux/drivers/usb/serial/
H A Dusb-serial.c436 unsigned int close_delay, closing_wait; in serial_get_serial() local
446 closing_wait = tport->closing_wait; in serial_get_serial()
447 if (closing_wait != ASYNC_CLOSING_WAIT_NONE) in serial_get_serial()
448 closing_wait = jiffies_to_msecs(closing_wait) / 10; in serial_get_serial()
452 ss->closing_wait = closing_wait; in serial_get_serial()
466 unsigned int close_delay, closing_wait; in serial_set_serial() local
470 closing_wait = ss->closing_wait; in serial_set_serial()
471 if (closing_wait != ASYNC_CLOSING_WAIT_NONE) in serial_set_serial()
472 closing_wait = msecs_to_jiffies(closing_wait * 10); in serial_set_serial()
482 closing_wait != tport->closing_wait) { in serial_set_serial()
[all …]
/linux/drivers/staging/greybus/
H 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()
614 unsigned int closing_wait; in set_serial_info() local
619 closing_wait = ss->closing_wait == ASYNC_CLOSING_WAIT_NONE ? in set_serial_info()
621 msecs_to_jiffies(ss->closing_wait * 10); in set_serial_info()
626 (closing_wait != gb_tty->port.closing_wait)) in set_serial_info()
630 gb_tty->port.closing_wait = closing_wait; in set_serial_info()
/linux/drivers/usb/class/
H A Dcdc-acm.c993 ss->closing_wait = acm->port.closing_wait == ASYNC_CLOSING_WAIT_NONE ? in get_serial_info()
995 jiffies_to_msecs(acm->port.closing_wait) / 10; in get_serial_info()
1003 unsigned int closing_wait, close_delay; in set_serial_info() local
1007 closing_wait = ss->closing_wait == ASYNC_CLOSING_WAIT_NONE ? in set_serial_info()
1009 msecs_to_jiffies(ss->closing_wait * 10); in set_serial_info()
1015 (closing_wait != acm->port.closing_wait)) in set_serial_info()
1019 acm->port.closing_wait = closing_wait; in set_serial_info()
/linux/drivers/tty/serial/
H A Dserial_core.c812 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()
894 unsigned int old_custom_divisor, close_delay, closing_wait; in uart_set_info() local
908 closing_wait = new_info->closing_wait == ASYNC_CLOSING_WAIT_NONE ? in uart_set_info()
910 msecs_to_jiffies(new_info->closing_wait * 10); in uart_set_info()
943 (closing_wait != port->closing_wait) || in uart_set_info()
997 port->closing_wait = closing_wait; in uart_set_info()
2970 return sprintf(buf, "%u\n", tmp.closing_wait); in closing_wait_show()
3072 static DEVICE_ATTR_RO(closing_wait);
H A Dqcom_geni_serial.c1431 tport->closing_wait = ASYNC_CLOSING_WAIT_NONE; in qcom_geni_serial_startup()
/linux/include/linux/
H A Dtty_port.h120 unsigned int closing_wait; member
/linux/Documentation/ABI/testing/
H A Dsysfs-tty95 What: /sys/class/tty/ttyS<x>/closing_wait
/linux/Documentation/driver-api/tty/
H A Dmoxa-smartio.rst169 closing_wait set the amount of time (in 1/100 of a second) that the