Home
last modified time | relevance | path

Searched refs:baud_base (Results 1 – 25 of 53) 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.c100 int baud_base; member
650 int quot = 0, baud_base, baud; in change_speed() local
679 baud_base = info->baud_base; in change_speed()
685 quot = (2*baud_base / 269); in change_speed()
687 quot = baud_base / baud; in change_speed()
703 quot = (2*baud_base / 269); in change_speed()
705 quot = baud_base / baud; in change_speed()
710 quot = baud_base / 9600; in change_speed()
712 info->timeout = ((info->xmit_fifo_size*HZ*bits*quot) / baud_base); in change_speed()
1008 ss->baud_base = state->baud_base; in get_serial_info()
[all …]
Dmxser.c231 int baud_base; /* max. speed */ member
582 quot = 2 * info->baud_base / 269; in mxser_set_baud()
585 quot = info->baud_base / newspd; in mxser_set_baud()
588 baud = info->baud_base/quot; in mxser_set_baud()
599 do_div(timeout, info->baud_base); in mxser_set_baud()
621 quot = info->baud_base % newspd; in mxser_set_baud()
1224 ss->baud_base = info->baud_base, in mxser_get_serial_info()
1262 if ((ss->baud_base != info->baud_base) || in mxser_set_serial_info()
1281 (ss->baud_base != info->baud_base || in mxser_set_serial_info()
1288 baud = ss->baud_base / ss->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/usb/serial/
Df81232.c69 speed_t baud_base; member
437 priv->baud_base = baudrate_table[idx]; in f81232_set_baudrate()
438 divisor = calc_baud_divisor(baudrate, priv->baud_base); in f81232_set_baudrate()
704 ss->baud_base = priv->baud_base; in f81232_get_serial_info()
Df81534.c164 u32 baud_base; member
584 port_priv->baud_base = baudrate_table[idx]; in f81534_set_port_config()
618 divisor = f81534_calc_baud_divisor(baudrate, port_priv->baud_base); in f81534_set_port_config()
1156 ss->baud_base = port_priv->baud_base; in f81534_get_serial_info()
Dftdi_sio.c54 int baud_base; /* baud base clock for divisor setting */ member
1284 baud = priv->baud_base / priv->custom_divisor; in get_ftdi_divisor()
1480 ss->baud_base = priv->baud_base; in get_serial_info()
1508 if (ss->baud_base != priv->baud_base) { in set_serial_info()
1561 priv->baud_base = 48000000 / 2; in ftdi_determine_type()
1574 priv->baud_base = 120000000 / 2; in ftdi_determine_type()
1578 priv->baud_base = 120000000 / 2; in ftdi_determine_type()
1603 priv->baud_base = 12000000 / 16; in ftdi_determine_type()
Diuu_phoenix.c780 static int iuu_uart_baud(struct usb_serial_port *port, u32 baud_base, in iuu_uart_baud() argument
791 dev_dbg(&port->dev, "%s - enter baud_base=%d\n", __func__, baud_base); in iuu_uart_baud()
797 baud = baud_base; in iuu_uart_baud()
Dopticon.c342 ss->baud_base = 9600; in get_serial_info()
Dssu100.c343 ss->baud_base = 9600; in get_serial_info()
Dark3116.c398 ss->baud_base = 460800; in ark3116_get_serial_info()
Dusb_wwan.c142 ss->baud_base = tty_get_baud_rate(port->port.tty); in usb_wwan_get_serial_info()
Dwhiteheat.c455 ss->baud_base = 460800; in whiteheat_get_serial()
/drivers/staging/speakup/
Dserialio.h17 unsigned int baud_base; member
Dserialio.c61 quot = ser->baud_base / baud; in spk_serial_init()
/drivers/net/wan/
Dz85230.h362 int baud_base; /* Baud parameters */ member
/drivers/tty/serial/8250/
D8250.h55 unsigned int baud_base; member
/drivers/tty/serial/
Dar933x_uart.c481 if (ser->baud_base < up->min_baud || in ar933x_uart_verify_port()
482 ser->baud_base > up->max_baud) in ar933x_uart_verify_port()
D21285.c333 if (ser->baud_base != port->uartclk / 16) in serial21285_verify_port()
Dserial_core.c779 retinfo->baud_base = uport->uartclk / 16; in uart_get_info()
853 (new_info->baud_base != uport->uartclk / 16) || in uart_set_info()
877 (new_info->baud_base < 9600)) in uart_set_info()
968 uport->uartclk = new_info->baud_base * 16; in uart_set_info()
2615 return snprintf(buf, PAGE_SIZE, "%d\n", tmp.baud_base * 16); in uart_get_attr_uartclk()
Dapbuart.c324 if (ser->baud_base < 9600) in apbuart_verify_port()
Dpnx8xxx_uart.c619 if (sport->port.uartclk / 16 != ser->baud_base) in pnx8xxx_verify_port()
Dmeson_uart.c394 if (ser->baud_base < 9600) in meson_uart_verify_port()
/drivers/tty/ipwireless/
Dtty.c264 ss->baud_base = 115200; in ipwireless_get_serial_info()

123