Home
last modified time | relevance | path

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

/drivers/tty/
Damiserial.c102 int custom_divisor; member
693 quot = info->custom_divisor; in change_speed()
711 quot = info->custom_divisor; in change_speed()
1038 tmp.custom_divisor = state->custom_divisor; in get_serial_info()
1058 new_serial.custom_divisor != state->custom_divisor; in set_serial_info()
1076 state->custom_divisor = new_serial.custom_divisor; in set_serial_info()
1093 state->custom_divisor = new_serial.custom_divisor; in set_serial_info()
1709 state->custom_divisor = 0; in amiga_serial_probe()
Dmxser.c245 int custom_divisor; member
1225 .custom_divisor = info->custom_divisor, in mxser_get_serial_info()
1274 new_serial.custom_divisor != in mxser_set_serial_info()
1275 info->custom_divisor)) { in mxser_set_serial_info()
1276 if (new_serial.custom_divisor == 0) in mxser_set_serial_info()
1278 baud = new_serial.baud_base / new_serial.custom_divisor; in mxser_set_serial_info()
2409 info->custom_divisor = info->baud_base * 16; in mxser_initbrd()
Dcyclades.c2011 if (info->custom_divisor) in cy_set_line_char()
2012 baud_rate = info->baud / info->custom_divisor; in cy_set_line_char()
2181 if (info->custom_divisor) in cy_set_line_char()
2182 baud_rate = info->baud / info->custom_divisor; in cy_set_line_char()
2307 .custom_divisor = info->custom_divisor, in cy_get_serial_info()
2337 info->custom_divisor = new_serial.custom_divisor; in cy_set_serial_info()
2347 info->custom_divisor = new_serial.custom_divisor; in cy_set_serial_info()
Dmoxa.c2060 new_serial.custom_divisor != 0 || in moxa_set_serial_info()
/drivers/tty/serial/
D68328serial.c116 int custom_divisor; member
821 tmp.custom_divisor = info->custom_divisor;
851 info->custom_divisor = new_serial.custom_divisor;
1191 info->custom_divisor = 16;
Dcrisv10.h82 int custom_divisor; /* For special baudrates */ member
Dserial_core.c426 quot = port->custom_divisor; in uart_get_divisor()
685 retinfo->custom_divisor = uport->custom_divisor; in do_uart_get_info()
753 old_custom_divisor = uport->custom_divisor; in uart_set_info()
767 uport->custom_divisor = new_info->custom_divisor; in uart_set_info()
868 uport->custom_divisor = new_info->custom_divisor; in uart_set_info()
881 old_custom_divisor != uport->custom_divisor) { in uart_set_info()
2492 return snprintf(buf, PAGE_SIZE, "%d\n", tmp.custom_divisor); in uart_get_attr_custom_divisor()
2534 static DEVICE_ATTR(custom_divisor, S_IRUSR | S_IRGRP, uart_get_attr_custom_divisor, NULL);
Dcrisv10.c2951 (unsigned long)info->baud_base, info->custom_divisor)); in change_speed()
2954 u16 divisor = info->custom_divisor; in change_speed()
2967 info->custom_divisor == 1) || in change_speed()
2969 info->custom_divisor == 8)) { in change_speed()
2984 (unsigned long)info->baud_base, info->custom_divisor); in change_speed()
3397 tmp.custom_divisor = info->custom_divisor; in get_serial_info()
3438 info->custom_divisor = new_serial.custom_divisor; in set_serial_info()
4442 info->custom_divisor = 0; in rs_init()
Dof_serial.c82 port->custom_divisor = clk / (16 * spd); in of_platform_serial_setup()
Dsamsung.c716 quot = port->custom_divisor; in s3c24xx_serial_set_termios()
/drivers/usb/serial/
Dftdi_sio.c61 int custom_divisor; /* custom_divisor kludge, this is for member
1159 (priv->custom_divisor)) { in get_ftdi_divisor()
1160 baud = priv->baud_base / priv->custom_divisor; in get_ftdi_divisor()
1162 __func__, priv->custom_divisor, baud); in get_ftdi_divisor()
1338 tmp.custom_divisor = priv->custom_divisor; in get_serial_info()
1367 priv->custom_divisor = new_serial.custom_divisor; in set_serial_info()
1380 priv->custom_divisor = new_serial.custom_divisor; in set_serial_info()
1401 (old_priv.custom_divisor != priv->custom_divisor))) { in set_serial_info()
1715 priv->custom_divisor = 77; in ftdi_USB_UIRT_setup()
1725 priv->custom_divisor = 240; in ftdi_HE_TIRA1_setup()
Dark3116.c418 serstruct.custom_divisor = 0; in ark3116_ioctl()
Dwhiteheat.c468 serstruct.custom_divisor = 0; in whiteheat_ioctl()
/drivers/staging/sb105x/
Dsb_ser_core.h140 unsigned int custom_divisor; member
312 quot = port->custom_divisor; in sb_uart_get_divisor()
Dsb_pci_mp.c771 tmp.custom_divisor = port->custom_divisor; in mp_get_info()
814 old_custom_divisor = port->custom_divisor; in mp_set_info()
827 port->custom_divisor = new_serial.custom_divisor; in mp_set_info()
896 port->custom_divisor = new_serial.custom_divisor; in mp_set_info()
910 old_custom_divisor != port->custom_divisor) { in mp_set_info()
/drivers/net/wan/
Dz85230.h362 int custom_divisor; member
/drivers/tty/ipwireless/
Dtty.c276 tmp.custom_divisor = 0; in ipwireless_get_serial_info()
/drivers/staging/fwserial/
Dfwserial.c1324 if (tmp.irq != 0 || tmp.port != 0 || tmp.custom_divisor != 0 || in set_serial_info()