Home
last modified time | relevance | path

Searched refs:baud_base (Results 1 – 25 of 59) sorted by relevance

123

/drivers/ssb/
Ddriver_chipcommon.c608 u32 baud_base, div; in ssb_chipco_serial_init() local
617 baud_base = ssb_calc_clock_rate(plltype, in ssb_chipco_serial_init()
624 baud_base = 25000000; in ssb_chipco_serial_init()
631 baud_base = ssb_chipco_alp_clock(cc); in ssb_chipco_serial_init()
651 baud_base = ssb_clockspeed(bus); in ssb_chipco_serial_init()
656 baud_base = 88000000; in ssb_chipco_serial_init()
666 baud_base /= div; in ssb_chipco_serial_init()
669 baud_base = 1843200; in ssb_chipco_serial_init()
691 ports[i].baud_base = baud_base; in ssb_chipco_serial_init()
Ddriver_extif.c76 ports[i].baud_base = 13500000; in ssb_extif_serial_init()
/drivers/tty/
Damiserial.c99 int baud_base; member
649 int quot = 0, baud_base, baud; in change_speed() local
678 baud_base = info->baud_base; in change_speed()
684 quot = (2*baud_base / 269); in change_speed()
686 quot = baud_base / baud; in change_speed()
702 quot = (2*baud_base / 269); in change_speed()
704 quot = baud_base / baud; in change_speed()
709 quot = baud_base / 9600; in change_speed()
711 info->timeout = ((info->xmit_fifo_size*HZ*bits*quot) / baud_base); in change_speed()
1009 tmp.baud_base = state->baud_base; in get_serial_info()
[all …]
Dmxser.c235 int baud_base; /* max. speed */ member
586 quot = 2 * info->baud_base / 269; in mxser_set_baud()
589 quot = info->baud_base / newspd; in mxser_set_baud()
592 baud = info->baud_base/quot; in mxser_set_baud()
603 do_div(timeout, info->baud_base); in mxser_set_baud()
625 quot = info->baud_base % newspd; in mxser_set_baud()
1224 .baud_base = info->baud_base, in mxser_get_serial_info()
1257 if ((new_serial.baud_base != info->baud_base) || in mxser_set_serial_info()
1274 (new_serial.baud_base != info->baud_base || in mxser_set_serial_info()
1279 baud = new_serial.baud_base / new_serial.custom_divisor; in mxser_set_serial_info()
[all …]
/drivers/bcma/
Ddriver_chipcommon.c380 u32 baud_base; in bcma_chipco_serial_init() local
386 baud_base = bcma_chipco_get_alp_clock(cc); in bcma_chipco_serial_init()
417 ports[i].baud_base = baud_base; in bcma_chipco_serial_init()
/drivers/staging/speakup/
Dserialio.h20 unsigned int baud_base; member
Dserialio.c60 quot = ser->baud_base / baud; in spk_serial_init()
/drivers/isdn/hisax/
Delsa_ser.c110 int quot = 0, baud_base; in change_speed() local
117 baud_base = BASE_BAUD; in change_speed()
118 quot = baud_base / baud; in change_speed()
121 quot = baud_base / 9600; in change_speed()
124 if ((baud_base / quot) < 2400) in change_speed()
/drivers/tty/serial/
Dcrisv10.h82 int baud_base; /* For special baudrates */ member
Dar933x_uart.c492 if (ser->baud_base < up->min_baud || in ar933x_uart_verify_port()
493 ser->baud_base > up->max_baud) in ar933x_uart_verify_port()
Dcrisv10.c2812 (unsigned long)info->baud_base, info->custom_divisor)); in change_speed()
2813 if (info->baud_base == SERIAL_PRESCALE_BASE) { in change_speed()
2832 (unsigned long)info->baud_base, info->custom_divisor); in change_speed()
3223 tmp.baud_base = info->baud_base; in get_serial_info()
3264 info->baud_base = new_serial.baud_base; in set_serial_info()
4194 info->baud_base = DEF_BAUD_BASE; in rs_init()
Dserial_core.c791 retinfo->baud_base = uport->uartclk / 16; in uart_get_info()
869 (new_info->baud_base != uport->uartclk / 16) || in uart_set_info()
889 (new_info->baud_base < 9600)) in uart_set_info()
980 uport->uartclk = new_info->baud_base * 16; in uart_set_info()
2590 return snprintf(buf, PAGE_SIZE, "%d\n", tmp.baud_base * 16); in uart_get_attr_uartclk()
D21285.c332 if (ser->baud_base != port->uartclk / 16) in serial21285_verify_port()
Dapbuart.c323 if (ser->baud_base < 9600) in apbuart_verify_port()
Dserial_ks8695.c524 if (ser->baud_base < 9600) in ks8695uart_verify_port()
/drivers/usb/serial/
Dftdi_sio.c57 int baud_base; /* baud base clock for divisor setting */ member
1273 baud = priv->baud_base / priv->custom_divisor; in get_ftdi_divisor()
1470 tmp.baud_base = priv->baud_base; in get_serial_info()
1503 if (new_serial.baud_base != priv->baud_base) { in set_serial_info()
1558 priv->baud_base = 48000000 / 2; in ftdi_determine_type()
1571 priv->baud_base = 120000000 / 2; in ftdi_determine_type()
1575 priv->baud_base = 120000000 / 2; in ftdi_determine_type()
1600 priv->baud_base = 12000000 / 16; in ftdi_determine_type()
Diuu_phoenix.c787 static int iuu_uart_baud(struct usb_serial_port *port, u32 baud_base, in iuu_uart_baud() argument
798 dev_dbg(&port->dev, "%s - enter baud_base=%d\n", __func__, baud_base); in iuu_uart_baud()
804 baud = baud_base; in iuu_uart_baud()
Dopticon.c347 tmp.baud_base = 9600; in get_serial_info()
Dssu100.c343 tmp.baud_base = 9600; in get_serial_info()
Df81232.c603 ser.baud_base = F81232_MAX_BAUDRATE; in f81232_get_serial_info()
Dark3116.c416 serstruct.baud_base = 460800; in ark3116_ioctl()
/drivers/tty/serial/8250/
D8250.h57 unsigned int baud_base; member
/drivers/net/wan/
Dz85230.h362 int baud_base; /* Baud parameters */ member
/drivers/staging/irda/net/ircomm/
Dircomm_tty_ioctl.c226 info.baud_base = self->settings.data_rate; in ircomm_tty_get_serial_info()
/drivers/tty/ipwireless/
Dtty.c259 tmp.baud_base = 115200; in ipwireless_get_serial_info()

123