Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/acpi/
Dspcr.c92 int baud_rate; in acpi_parse_spcr() local
149 switch (table->baud_rate) { in acpi_parse_spcr()
155 baud_rate = 0; in acpi_parse_spcr()
158 baud_rate = 9600; in acpi_parse_spcr()
161 baud_rate = 19200; in acpi_parse_spcr()
164 baud_rate = 57600; in acpi_parse_spcr()
167 baud_rate = 115200; in acpi_parse_spcr()
206 baud_rate = 0; in acpi_parse_spcr()
209 if (!baud_rate) { in acpi_parse_spcr()
214 table->serial_port.address, baud_rate); in acpi_parse_spcr()
/linux-6.6.21/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.6.21/drivers/usb/serial/
Dupd78f0730.c98 __le32 baud_rate; member
284 const speed_t baud_rate = tty_get_baud_rate(tty); in upd78f0730_get_baud_rate() local
291 if (baud_rate == supported[i]) in upd78f0730_get_baud_rate()
292 return baud_rate; in upd78f0730_get_baud_rate()
307 speed_t baud_rate; in upd78f0730_set_termios() local
317 baud_rate = upd78f0730_get_baud_rate(tty); in upd78f0730_set_termios()
319 request.baud_rate = cpu_to_le32(baud_rate); in upd78f0730_set_termios()
321 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,
625 int baud_rate, device_port; in keyspan_set_termios() local
637 baud_rate = tty_get_baud_rate(tty); in keyspan_set_termios()
639 if (d_details->calculate_baud_rate(port, baud_rate, d_details->baudclk, in keyspan_set_termios()
643 p_priv->baud = baud_rate; in keyspan_set_termios()
645 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.6.21/drivers/misc/ti-st/
Dst_kim.c603 sscanf(buf, "%ld", &kim_data->baud_rate); in store_baud_rate()
604 pr_debug("stored baud rate >%ld<", kim_data->baud_rate); in store_baud_rate()
620 return sprintf(buf, "%d\n", kim_data->baud_rate); in show_baud_rate()
643 __ATTR(baud_rate, 0644, (void *)show_baud_rate, (void *)store_baud_rate);
645 __ATTR(baud_rate, 0444, (void *)show_baud_rate, NULL);
756 kim_gdata->baud_rate = pdata->baud_rate; in kim_probe()
/linux-6.6.21/drivers/tty/serial/
Dsifive.c151 unsigned long baud_rate; member
433 div = DIV_ROUND_UP(ssp->port.uartclk, ssp->baud_rate) - 1; in __ssp_update_div()
451 if (ssp->baud_rate == rate) in __ssp_update_baud_rate()
454 ssp->baud_rate = rate; in __ssp_update_baud_rate()
615 udelay(DIV_ROUND_UP(12 * 1000 * 1000, ssp->baud_rate)); in sifive_serial_clk_notifier()
969 ssp->baud_rate = SIFIVE_DEFAULT_BAUD_RATE; in sifive_serial_probe()
Dma35d1_serial.c155 u32 baud_rate; member
/linux-6.6.21/include/linux/
Dti_wilink_st.h261 unsigned baud_rate; member
430 u32 baud_rate; member
/linux-6.6.21/drivers/bluetooth/
Dbtbcm.h14 __le32 baud_rate; member
Dhci_bcm.c209 param.baud_rate = cpu_to_le32(speed); in bcm_set_baudrate()
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-platform-kim14 What: /sys/devices/platform/kim/baud_rate
/linux-6.6.21/include/acpi/
Dactbl3.h110 u8 baud_rate; member