Home
last modified time | relevance | path

Searched refs:baud_rate (Results 1 – 20 of 20) sorted by relevance

/drivers/acpi/
Dspcr.c94 int baud_rate; in acpi_parse_spcr() local
147 switch (table->baud_rate) { in acpi_parse_spcr()
153 baud_rate = 0; in acpi_parse_spcr()
156 baud_rate = 9600; in acpi_parse_spcr()
159 baud_rate = 19200; in acpi_parse_spcr()
162 baud_rate = 57600; in acpi_parse_spcr()
165 baud_rate = 115200; in acpi_parse_spcr()
203 baud_rate = 0; in acpi_parse_spcr()
206 if (!baud_rate) { in acpi_parse_spcr()
211 table->serial_port.address, baud_rate); in acpi_parse_spcr()
/drivers/usb/serial/
Dupd78f0730.c98 __le32 baud_rate; member
281 const speed_t baud_rate = tty_get_baud_rate(tty); in upd78f0730_get_baud_rate() local
288 if (baud_rate == supported[i]) in upd78f0730_get_baud_rate()
289 return baud_rate; in upd78f0730_get_baud_rate()
304 speed_t baud_rate; in upd78f0730_set_termios() local
314 baud_rate = upd78f0730_get_baud_rate(tty); in upd78f0730_set_termios()
316 request.baud_rate = cpu_to_le32(baud_rate); in upd78f0730_set_termios()
318 dev_dbg(dev, "%s - baud rate = %d\n", __func__, baud_rate); in upd78f0730_set_termios()
Dch341.c96 unsigned baud_rate; /* set baud rate */ member
247 speed_t baud_rate, u8 lcr) in ch341_set_baudrate_lcr() argument
252 if (!baud_rate) in ch341_set_baudrate_lcr()
255 val = ch341_get_divisor(priv, baud_rate); in ch341_set_baudrate_lcr()
344 r = ch341_set_baudrate_lcr(dev, priv, priv->baud_rate, priv->lcr); in ch341_configure()
412 priv->baud_rate = DEFAULT_BAUD_RATE; in ch341_port_probe()
515 unsigned baud_rate; in ch341_set_termios() local
524 baud_rate = tty_get_baud_rate(tty); in ch341_set_termios()
554 if (baud_rate) { in ch341_set_termios()
555 priv->baud_rate = baud_rate; in ch341_set_termios()
[all …]
Dkeyspan.c47 u32 baud_rate, u32 baudclk,
51 u32 baud_rate, u32 baudclk,
55 u32 baud_rate, u32 baudclk,
59 u32 baud_rate, u32 baudclk,
175 u32 baud_rate, u32 baudclk,
621 int baud_rate, device_port; in keyspan_set_termios() local
633 baud_rate = tty_get_baud_rate(tty); in keyspan_set_termios()
635 if (d_details->calculate_baud_rate(port, baud_rate, d_details->baudclk, in keyspan_set_termios()
639 p_priv->baud = baud_rate; in keyspan_set_termios()
641 baud_rate = tty_termios_baud_rate(old_termios); in keyspan_set_termios()
[all …]
Dcypress_m8.c109 int baud_rate; /* stores current baud rate in member
291 struct usb_serial_port *port, speed_t baud_rate, int data_bits, in cypress_serial_control() argument
314 new_baudrate = priv->baud_rate; in cypress_serial_control()
315 if (baud_rate && baud_rate != priv->baud_rate) { in cypress_serial_control()
317 retval = analyze_baud_rate(port, baud_rate); in cypress_serial_control()
363 priv->baud_rate = new_baudrate; in cypress_serial_control()
367 if (baud_rate) in cypress_serial_control()
404 priv->baud_rate = get_unaligned_le32(feature_buffer); in cypress_serial_control()
919 if (priv->chiptype == CT_EARTHMATE && priv->baud_rate == 4800) { in cypress_set_termios()
Dio_ti.c101 int baud_rate; member
2325 edge_port->baud_rate = baud; in change_port_settings()
Dio_edgeport.c281 static int calc_baud_rate_divisor(struct device *dev, int baud_rate, int *divisor);
/drivers/media/pci/mantis/
Dmantis_uart.c30 enum mantis_baud baud_rate; member
118 switch (params->baud_rate) { in mantis_uart_setup()
149 params.baud_rate = config->baud_rate; in mantis_uart_init()
152 rates[params.baud_rate].string, in mantis_uart_init()
Dhopper_vp3028.c69 .baud_rate = MANTIS_BAUD_9600,
Dmantis_vp3030.c84 .baud_rate = MANTIS_BAUD_9600,
Dmantis_vp1034.c101 .baud_rate = MANTIS_BAUD_9600,
Dmantis_vp1033.c193 .baud_rate = MANTIS_BAUD_9600,
Dmantis_vp2033.c169 .baud_rate = MANTIS_BAUD_9600,
Dmantis_vp2040.c168 .baud_rate = MANTIS_BAUD_9600,
Dmantis_common.h81 enum mantis_baud baud_rate; member
Dmantis_vp1041.c338 .baud_rate = MANTIS_BAUD_9600,
/drivers/misc/ti-st/
Dst_kim.c610 sscanf(buf, "%ld", &kim_data->baud_rate); in store_baud_rate()
611 pr_debug("stored baud rate >%ld<", kim_data->baud_rate); in store_baud_rate()
627 return sprintf(buf, "%d\n", kim_data->baud_rate); in show_baud_rate()
650 __ATTR(baud_rate, 0644, (void *)show_baud_rate, (void *)store_baud_rate);
652 __ATTR(baud_rate, 0444, (void *)show_baud_rate, NULL);
763 kim_gdata->baud_rate = pdata->baud_rate; in kim_probe()
/drivers/tty/serial/
Dsifive.c163 unsigned long baud_rate; member
466 div = DIV_ROUND_UP(ssp->clkin_rate, ssp->baud_rate) - 1; in __ssp_update_div()
484 if (ssp->baud_rate == rate) in __ssp_update_baud_rate()
487 ssp->baud_rate = rate; in __ssp_update_baud_rate()
648 udelay(DIV_ROUND_UP(12 * 1000 * 1000, ssp->baud_rate)); in sifive_serial_clk_notifier()
1004 ssp->baud_rate = SIFIVE_DEFAULT_BAUD_RATE; in sifive_serial_probe()
/drivers/bluetooth/
Dbtbcm.h14 __le32 baud_rate; member
Dhci_bcm.c195 param.baud_rate = cpu_to_le32(speed); in bcm_set_baudrate()