Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/tty/
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()
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()
Dtty_io.c2829 compat_int_t custom_divisor; member
/linux-6.12.1/include/uapi/linux/
Dserial.h27 int custom_divisor; member
/linux-6.12.1/drivers/usb/serial/
Dftdi_sio.c72 int custom_divisor; /* custom_divisor kludge, this is for member
1270 (priv->custom_divisor)) { in get_ftdi_divisor()
1271 baud = priv->baud_base / priv->custom_divisor; in get_ftdi_divisor()
1273 __func__, priv->custom_divisor, baud); in get_ftdi_divisor()
1448 ss->custom_divisor = priv->custom_divisor; in get_serial_info()
1467 old_divisor = priv->custom_divisor; in set_serial_info()
1470 priv->custom_divisor = ss->custom_divisor; in set_serial_info()
1476 priv->custom_divisor != old_divisor)) { in set_serial_info()
2237 priv->custom_divisor = 77; in ftdi_USB_UIRT_setup()
2247 priv->custom_divisor = 240; in ftdi_HE_TIRA1_setup()
/linux-6.12.1/drivers/tty/serial/
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);
Dsamsung_tty.c1495 quot = port->custom_divisor; in s3c24xx_serial_set_termios()
/linux-6.12.1/drivers/tty/serial/8250/
D8250_of.c137 port->custom_divisor = port->uartclk / (16 * spd); in of_platform_serial_setup()
D8250_aspeed_vuart.c475 port.port.custom_divisor = port.port.uartclk / (16 * prop); in aspeed_vuart_probe()
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()
D8250_pci.c1200 unsigned int cust_div = port->custom_divisor; in pci_oxsemi_tornado_get_divisor()
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-tty107 What: /sys/class/tty/ttyS<x>/custom_divisor
/linux-6.12.1/Documentation/misc-devices/
Doxsemi-tornado.rst104 Use a value such encoded for the ``custom_divisor`` field along with the
/linux-6.12.1/include/linux/
Dserial_core.h568 unsigned int custom_divisor; member