Home
last modified time | relevance | path

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

/linux/drivers/usb/serial/
H A Dusb-serial.c443 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 …]
/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.c978 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()
/linux/include/uapi/linux/
H A Dserial.h33 unsigned short closing_wait; /* time to wait before closing */ member
/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()
2893 return sprintf(buf, "%u\n", tmp.closing_wait); in closing_wait_show()
2995 static DEVICE_ATTR_RO(closing_wait);
/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
/linux/drivers/tty/
H A Dtty_io.c2824 unsigned short closing_wait; /* time to wait before closing */ member