Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/acpi/
Dspcr.c94 int baud_rate; in acpi_parse_spcr() local
153 switch (table->baud_rate) { in acpi_parse_spcr()
159 baud_rate = 0; in acpi_parse_spcr()
162 baud_rate = 9600; in acpi_parse_spcr()
165 baud_rate = 19200; in acpi_parse_spcr()
168 baud_rate = 57600; in acpi_parse_spcr()
171 baud_rate = 115200; in acpi_parse_spcr()
209 baud_rate = 0; in acpi_parse_spcr()
212 if (!baud_rate) { in acpi_parse_spcr()
217 table->serial_port.address, baud_rate); in acpi_parse_spcr()
/linux-6.1.9/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,
/linux-6.1.9/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
241 speed_t baud_rate, u8 lcr) in ch341_set_baudrate_lcr() argument
246 if (!baud_rate) in ch341_set_baudrate_lcr()
249 val = ch341_get_divisor(priv, baud_rate); in ch341_set_baudrate_lcr()
329 r = ch341_set_baudrate_lcr(dev, priv, priv->baud_rate, priv->lcr); in ch341_configure()
385 priv->baud_rate = DEFAULT_BAUD_RATE; in ch341_port_probe()
489 unsigned baud_rate; in ch341_set_termios() local
498 baud_rate = tty_get_baud_rate(tty); in ch341_set_termios()
528 if (baud_rate) { in ch341_set_termios()
529 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,
622 int baud_rate, device_port; in keyspan_set_termios() local
634 baud_rate = tty_get_baud_rate(tty); in keyspan_set_termios()
636 if (d_details->calculate_baud_rate(port, baud_rate, d_details->baudclk, in keyspan_set_termios()
640 p_priv->baud = baud_rate; in keyspan_set_termios()
642 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
292 struct usb_serial_port *port, speed_t baud_rate, int data_bits, in cypress_serial_control() argument
315 new_baudrate = priv->baud_rate; in cypress_serial_control()
316 if (baud_rate && baud_rate != priv->baud_rate) { in cypress_serial_control()
318 retval = analyze_baud_rate(port, baud_rate); in cypress_serial_control()
364 priv->baud_rate = new_baudrate; in cypress_serial_control()
368 if (baud_rate) in cypress_serial_control()
405 priv->baud_rate = get_unaligned_le32(feature_buffer); in cypress_serial_control()
921 if (priv->chiptype == CT_EARTHMATE && priv->baud_rate == 4800) { in cypress_set_termios()
Dio_ti.c101 int baud_rate; member
2326 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);
/linux-6.1.9/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()
/linux-6.1.9/drivers/tty/serial/
Dsifive.c151 unsigned long baud_rate; member
454 div = DIV_ROUND_UP(ssp->port.uartclk, ssp->baud_rate) - 1; in __ssp_update_div()
472 if (ssp->baud_rate == rate) in __ssp_update_baud_rate()
475 ssp->baud_rate = rate; in __ssp_update_baud_rate()
636 udelay(DIV_ROUND_UP(12 * 1000 * 1000, ssp->baud_rate)); in sifive_serial_clk_notifier()
993 ssp->baud_rate = SIFIVE_DEFAULT_BAUD_RATE; in sifive_serial_probe()
/linux-6.1.9/include/linux/
Dti_wilink_st.h261 unsigned baud_rate; member
430 u32 baud_rate; member
/linux-6.1.9/drivers/bluetooth/
Dbtbcm.h14 __le32 baud_rate; member
Dhci_bcm.c207 param.baud_rate = cpu_to_le32(speed); in bcm_set_baudrate()
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-platform-kim14 What: /sys/devices/platform/kim/baud_rate
/linux-6.1.9/include/acpi/
Dactbl3.h110 u8 baud_rate; member