Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/tty/
Damiserial.c92 int custom_divisor; member
643 quot = info->custom_divisor; in change_speed()
661 quot = info->custom_divisor; in change_speed()
949 ss->custom_divisor = state->custom_divisor; in get_serial_info()
963 ss->custom_divisor != state->custom_divisor; in set_serial_info()
981 state->custom_divisor = ss->custom_divisor; in set_serial_info()
998 state->custom_divisor = ss->custom_divisor; in set_serial_info()
1562 state->custom_divisor = 0; in amiga_serial_probe()
Dmxser.c241 int custom_divisor; member
1224 ss->custom_divisor = info->custom_divisor, in mxser_get_serial_info()
1279 ss->custom_divisor != in mxser_set_serial_info()
1280 info->custom_divisor)) { in mxser_set_serial_info()
1281 if (ss->custom_divisor == 0) { in mxser_set_serial_info()
1285 baud = ss->baud_base / ss->custom_divisor; in mxser_set_serial_info()
2400 info->custom_divisor = info->baud_base * 16; in mxser_initbrd()
Dcyclades.c1986 if (info->custom_divisor) in cy_set_line_char()
1987 baud_rate = info->baud / info->custom_divisor; in cy_set_line_char()
2151 if (info->custom_divisor) in cy_set_line_char()
2152 baud_rate = info->baud / info->custom_divisor; in cy_set_line_char()
2277 ss->custom_divisor = info->custom_divisor; in cy_get_serial_info()
2308 info->custom_divisor = ss->custom_divisor; in cy_set_serial_info()
2318 info->custom_divisor = ss->custom_divisor; in cy_set_serial_info()
Dmoxa.c2060 ss->custom_divisor != 0 || in moxa_set_serial_info()
Dtty_io.c2682 compat_int_t custom_divisor; member
/Linux-v5.10/include/uapi/linux/
Dserial.h26 int custom_divisor; member
/Linux-v5.10/drivers/usb/serial/
Dftdi_sio.c55 int custom_divisor; /* custom_divisor kludge, this is for member
1289 (priv->custom_divisor)) { in get_ftdi_divisor()
1290 baud = priv->baud_base / priv->custom_divisor; in get_ftdi_divisor()
1292 __func__, priv->custom_divisor, baud); in get_ftdi_divisor()
1487 ss->custom_divisor = priv->custom_divisor; in get_serial_info()
1510 priv->custom_divisor = ss->custom_divisor; in set_serial_info()
1523 priv->custom_divisor = ss->custom_divisor; in set_serial_info()
1530 priv->custom_divisor != old_priv.custom_divisor)) { in set_serial_info()
2283 priv->custom_divisor = 77; in ftdi_USB_UIRT_setup()
2293 priv->custom_divisor = 240; in ftdi_HE_TIRA1_setup()
Dwhiteheat.c454 ss->custom_divisor = 0; in whiteheat_get_serial()
/Linux-v5.10/drivers/tty/serial/
Dserial_core.c492 quot = port->custom_divisor; in uart_get_divisor()
786 retinfo->custom_divisor = uport->custom_divisor; in uart_get_info()
850 old_custom_divisor = uport->custom_divisor; in uart_set_info()
864 uport->custom_divisor = new_info->custom_divisor; in uart_set_info()
973 uport->custom_divisor = new_info->custom_divisor; in uart_set_info()
986 old_custom_divisor != uport->custom_divisor) { in uart_set_info()
2723 return sprintf(buf, "%d\n", tmp.custom_divisor); in custom_divisor_show()
2817 static DEVICE_ATTR_RO(custom_divisor);
Dsamsung_tty.c1407 quot = port->custom_divisor; in s3c24xx_serial_set_termios()
/Linux-v5.10/include/linux/
Dcyclades.h145 int custom_divisor; member
Dserial_core.h237 unsigned int custom_divisor; member
/Linux-v5.10/drivers/net/wan/
Dz85230.h363 int custom_divisor; member
/Linux-v5.10/drivers/tty/serial/8250/
D8250_of.c66 port->custom_divisor = clk / (16 * spd); in of_platform_serial_setup()
D8250_aspeed_vuart.c429 port.port.custom_divisor = clk / (16 * prop); in aspeed_vuart_probe()
D8250_omap.c225 priv->quot = port->custom_divisor & UART_DIV_MAX; in omap_8250_get_divisor()
231 if (port->custom_divisor & (1 << 16)) in omap_8250_get_divisor()
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-tty104 What: /sys/class/tty/ttyS0/custom_divisor
/Linux-v5.10/drivers/staging/fwserial/
Dfwserial.c1236 if (ss->irq != 0 || ss->port != 0 || ss->custom_divisor != 0 || in set_serial_info()