Home
last modified time | relevance | path

Searched refs:custom_divisor (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/tty/
H A Damiserial.c77 int custom_divisor; member
599 quot = info->custom_divisor; in change_speed()
617 quot = info->custom_divisor; in change_speed()
910 ss->custom_divisor = state->custom_divisor; in get_serial_info()
925 ss->custom_divisor != state->custom_divisor; in set_serial_info()
948 state->custom_divisor = ss->custom_divisor; in set_serial_info()
965 state->custom_divisor = ss->custom_divisor; in set_serial_info()
H A Dmxser.c986 ss->custom_divisor = MXSER_CUSTOM_DIVISOR; in mxser_get_serial_info()
1040 ss->custom_divisor != in mxser_set_serial_info()
1042 if (ss->custom_divisor == 0) { in mxser_set_serial_info()
1046 baud = ss->baud_base / ss->custom_divisor; in mxser_set_serial_info()
H A Dtty_io.c2829 compat_int_t custom_divisor; member
/linux/include/uapi/linux/
H A Dserial.h27 int custom_divisor; member
/linux/drivers/tty/serial/
H A Dserial_core.c580 quot = port->custom_divisor; in uart_get_divisor()
820 retinfo->custom_divisor = uport->custom_divisor; in uart_get_info()
884 old_custom_divisor = uport->custom_divisor; in uart_set_info()
906 uport->custom_divisor = new_info->custom_divisor; in uart_set_info()
1017 uport->custom_divisor = new_info->custom_divisor; in uart_set_info()
1029 old_custom_divisor != uport->custom_divisor) { in uart_set_info()
3001 return sprintf(buf, "%d\n", tmp.custom_divisor); in custom_divisor_show()
3095 static DEVICE_ATTR_RO(custom_divisor);
H A Dsamsung_tty.c1495 quot = port->custom_divisor; in s3c24xx_serial_set_termios()
/linux/drivers/tty/serial/8250/
H A D8250_of.c137 port->custom_divisor = port->uartclk / (16 * spd); in of_platform_serial_setup()
H A D8250_aspeed_vuart.c475 port.port.custom_divisor = port.port.uartclk / (16 * prop); in aspeed_vuart_probe()
H A D8250_omap.c243 priv->quot = port->custom_divisor & UART_DIV_MAX; in omap_8250_get_divisor()
249 if (port->custom_divisor & (1 << 16)) in omap_8250_get_divisor()
H A D8250_pci.c1203 unsigned int cust_div = port->custom_divisor; in pci_oxsemi_tornado_get_divisor()
/linux/Documentation/ABI/testing/
H A Dsysfs-tty107 What: /sys/class/tty/ttyS<x>/custom_divisor
/linux/Documentation/misc-devices/
H A Doxsemi-tornado.rst104 Use a value such encoded for the ``custom_divisor`` field along with the
/linux/include/linux/
H A Dserial_core.h572 unsigned int custom_divisor; member