/drivers/usb/serial/ |
D | kl5kusb105.c | 112 __u8 baudrate; member 152 settings->pktlen, settings->baudrate, settings->databits, in klsi_105_chg_port_settings() 232 priv->cfg.baudrate = kl5kusb105a_sio_b9600; in klsi_105_port_probe() 282 cfg->baudrate = kl5kusb105a_sio_b9600; in klsi_105_open() 297 priv->cfg.baudrate = cfg->baudrate; in klsi_105_open() 450 priv->cfg.baudrate = kl5kusb105a_sio_b1200; in klsi_105_set_termios() 453 priv->cfg.baudrate = kl5kusb105a_sio_b2400; in klsi_105_set_termios() 456 priv->cfg.baudrate = kl5kusb105a_sio_b4800; in klsi_105_set_termios() 459 priv->cfg.baudrate = kl5kusb105a_sio_b9600; in klsi_105_set_termios() 462 priv->cfg.baudrate = kl5kusb105a_sio_b19200; in klsi_105_set_termios() [all …]
|
D | mos7720.c | 1401 __u32 baudrate; member 1432 static int calc_baud_rate_divisor(struct usb_serial_port *port, int baudrate, int *divisor) in calc_baud_rate_divisor() argument 1440 dev_dbg(&port->dev, "%s - %d\n", __func__, baudrate); in calc_baud_rate_divisor() 1443 if (divisor_table[i].baudrate == baudrate) { in calc_baud_rate_divisor() 1451 if (baudrate > 75 && baudrate < 230400) { in calc_baud_rate_divisor() 1453 custom = (__u16)(230400L / baudrate); in calc_baud_rate_divisor() 1456 round1 = (__u16)(2304000L / baudrate); in calc_baud_rate_divisor() 1462 dev_dbg(&port->dev, "Baud %d = %d\n", baudrate, custom); in calc_baud_rate_divisor() 1476 int baudrate) in send_cmd_write_baud_rate() argument 1491 dev_dbg(&port->dev, "%s - baud = %d\n", __func__, baudrate); in send_cmd_write_baud_rate() [all …]
|
D | quatech2.c | 148 static inline int calc_baud_divisor(int baudrate) in calc_baud_divisor() argument 152 divisor = MAX_BAUD_RATE / baudrate; in calc_baud_divisor() 153 rem = MAX_BAUD_RATE % baudrate; in calc_baud_divisor() 155 if (((rem * 2) >= baudrate) && (baudrate != 110)) in calc_baud_divisor() 163 u16 baudrate, u16 lcr) in qt2_set_port_config() argument 165 int divisor = calc_baud_divisor(baudrate); in qt2_set_port_config()
|
D | io_edgeport.c | 2322 static int calc_baud_rate_divisor(struct device *dev, int baudrate, int *divisor) in calc_baud_rate_divisor() argument 2328 if (divisor_table[i].BaudRate == baudrate) { in calc_baud_rate_divisor() 2337 if (baudrate > 50 && baudrate < 230400) { in calc_baud_rate_divisor() 2339 custom = (__u16)((230400L + baudrate/2) / baudrate); in calc_baud_rate_divisor() 2343 dev_dbg(dev, "%s - Baud %d = %d\n", __func__, baudrate, custom); in calc_baud_rate_divisor()
|
D | mos7840.c | 1680 if (mos7840_divisor_table[i].BaudRate == baudrate) { in mos7840_calc_baud_rate_divisor() 1689 if (baudrate > 75 && baudrate < 230400) { in mos7840_calc_baud_rate_divisor() 1691 custom = (__u16) (230400L / baudrate); in mos7840_calc_baud_rate_divisor() 1694 round1 = (__u16) (2304000L / baudrate); in mos7840_calc_baud_rate_divisor() 1700 dev_dbg(&port->dev, " Baud %d = %d\n", baudrate, custom); in mos7840_calc_baud_rate_divisor()
|
/drivers/net/irda/ |
D | sh_sir.c | 251 static int sh_sir_set_baudrate(struct sh_sir_self *self, u32 baudrate) in sh_sir_set_baudrate() argument 274 switch (baudrate) { in sh_sir_set_baudrate() 278 dev_err(dev, "un-supported baudrate %d\n", baudrate); in sh_sir_set_baudrate() 342 uabc = rate / baudrate; in sh_sir_set_baudrate() 346 tmp = rate - (uabc * baudrate); in sh_sir_set_baudrate() 349 rerr = tmp / baudrate; in sh_sir_set_baudrate() 362 if ((baudrate / 100) < abs(tmp - baudrate)) in sh_sir_set_baudrate() 366 baudrate, tmp, in sh_sir_set_baudrate()
|
D | vlsi_ir.c | 772 int baudrate; in vlsi_set_baud() local 775 baudrate = idev->new_baud; in vlsi_set_baud() 777 if (baudrate == 4000000) { in vlsi_set_baud() 782 else if (baudrate == 1152000) { in vlsi_set_baud() 790 switch(baudrate) { in vlsi_set_baud() 793 __func__, baudrate); in vlsi_set_baud() 794 baudrate = 9600; in vlsi_set_baud() 802 nphyctl = PHYCTL_SIR(baudrate,sirpulse,clksrc==3); in vlsi_set_baud() 841 __func__, baudrate); in vlsi_set_baud() 846 idev->baud = baudrate; in vlsi_set_baud()
|
D | sh_irda.c | 239 static int sh_irda_set_baudrate(struct sh_irda_self *self, int baudrate) in sh_irda_set_baudrate() argument 244 if (baudrate < 0) in sh_irda_set_baudrate() 256 val = (48000000 / 26 / 16 / baudrate) - 1; in sh_irda_set_baudrate() 257 dev_dbg(dev, "baudrate = %d, val = 0x%02x\n", baudrate, val); in sh_irda_set_baudrate()
|
D | ks959-sir.c | 154 __le32 baudrate; /* baud rate, little endian */ member 274 kingsun->speedparams.baudrate = cpu_to_le32(speed); in ks959_change_speed() 380 kingsun->speedparams.baudrate) in ks959_send_irq() 724 kingsun->speedparams.baudrate = 0; in ks959_probe()
|
D | ksdazzle-sir.c | 117 __le32 baudrate; /* baud rate, little endian */ member 195 kingsun->speedparams.baudrate = cpu_to_le32(speed); in ksdazzle_change_speed() 292 kingsun->speedparams.baudrate) in ksdazzle_send_irq() 659 kingsun->speedparams.baudrate = 0; in ksdazzle_probe()
|
D | vlsi_ir.h | 427 calc_width_bits(unsigned baudrate, unsigned widthselect, unsigned clockselect) in calc_width_bits() argument 434 tmp = ((clockselect) ? 12 : 24) / (BAUD_BITS(baudrate)+1); in calc_width_bits()
|
/drivers/net/hamradio/ |
D | yam.c | 114 int baudrate; member 478 int divisor = 115200 / yp->baudrate; in yam_set_uart() 817 seq_printf(seq, " BaudRate %u\n", yp->baudrate); in yam_seq_show() 1023 if (yi.cfg.baudrate > YAM_MAXBAUDRATE) in yam_ioctl() 1025 yp->baudrate = yi.cfg.baudrate; in yam_ioctl() 1065 yi.cfg.baudrate = yp->baudrate; in yam_ioctl() 1111 yp->baudrate = DEFAULT_BITRATE * 2; in yam_setup()
|
D | Kconfig | 122 baudrate to be set between 300 and 4800 baud (however not all modems
|
/drivers/tty/serial/ |
D | Kconfig | 289 are enabled). This driver uses the APB DMA to achieve higher baudrate 800 int "Default baudrate for Coldfire serial ports" 804 This setting lets you define what the default baudrate is for the 917 console baudrate 1329 int "Default baudrate for Altera UART ports" 1333 This setting lets you define what the default baudrate is for the
|
/drivers/tty/ |
D | mxser.c | 213 long baudrate[32]; member 1599 me->baudrate[p] = tty_termios_baud_rate(&ip->normal_termios); in mxser_ioctl_special() 1603 me->baudrate[p] = tty_get_baud_rate(tty); in mxser_ioctl_special()
|