Home
last modified time | relevance | path

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

123

/Linux-v5.4/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()
/Linux-v5.4/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 …]
/Linux-v5.4/arch/mips/bcm47xx/
Dserial.c44 p->uartclk = ssb_port->baud_base; in uart8250_init_ssb()
70 p->uartclk = bcma_port->baud_base; in uart8250_init_bcma()
/Linux-v5.4/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()
/Linux-v5.4/drivers/staging/speakup/
Dserialio.h17 unsigned int baud_base; member
Dserialio.c61 quot = ser->baud_base / baud; in spk_serial_init()
/Linux-v5.4/include/linux/ssb/
Dssb_driver_mips.h13 unsigned int baud_base; member
/Linux-v5.4/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
1281 baud = priv->baud_base / priv->custom_divisor; in get_ftdi_divisor()
1477 ss->baud_base = priv->baud_base; in get_serial_info()
1505 if (ss->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.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()
/Linux-v5.4/include/uapi/linux/
Dserial.h27 int baud_base; member
/Linux-v5.4/drivers/net/wan/
Dz85230.h362 int baud_base; /* Baud parameters */ member
/Linux-v5.4/drivers/tty/serial/8250/
D8250.h55 unsigned int baud_base; member
/Linux-v5.4/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()
2614 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()
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-tty27 uartclk = 16 * baud_base
/Linux-v5.4/drivers/tty/ipwireless/
Dtty.c264 ss->baud_base = 115200; in ipwireless_get_serial_info()
/Linux-v5.4/include/linux/bcma/
Dbcma_driver_chipcommon.h612 unsigned int baud_base; member

123