/kernel/linux/linux-5.10/drivers/acpi/ |
D | spcr.c | 94 int baud_rate; in acpi_parse_spcr() local 146 switch (table->baud_rate) { in acpi_parse_spcr() 152 baud_rate = 0; in acpi_parse_spcr() 155 baud_rate = 9600; in acpi_parse_spcr() 158 baud_rate = 19200; in acpi_parse_spcr() 161 baud_rate = 57600; in acpi_parse_spcr() 164 baud_rate = 115200; in acpi_parse_spcr() 202 baud_rate = 0; in acpi_parse_spcr() 205 if (!baud_rate) { in acpi_parse_spcr() 210 table->serial_port.address, baud_rate); in acpi_parse_spcr()
|
/kernel/linux/linux-5.10/drivers/media/pci/mantis/ |
D | mantis_uart.c | 30 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()
|
D | hopper_vp3028.c | 69 .baud_rate = MANTIS_BAUD_9600,
|
D | mantis_vp3030.c | 84 .baud_rate = MANTIS_BAUD_9600,
|
D | mantis_vp1034.c | 101 .baud_rate = MANTIS_BAUD_9600,
|
D | mantis_vp1033.c | 193 .baud_rate = MANTIS_BAUD_9600,
|
D | mantis_vp2040.c | 168 .baud_rate = MANTIS_BAUD_9600,
|
D | mantis_vp2033.c | 169 .baud_rate = MANTIS_BAUD_9600,
|
D | mantis_common.h | 81 enum mantis_baud baud_rate; member
|
D | mantis_vp1041.c | 338 .baud_rate = MANTIS_BAUD_9600,
|
/kernel/linux/linux-5.10/drivers/usb/serial/ |
D | upd78f0730.c | 98 __le32 baud_rate; member 287 const speed_t baud_rate = tty_get_baud_rate(tty); in upd78f0730_get_baud_rate() local 294 if (baud_rate == supported[i]) in upd78f0730_get_baud_rate() 295 return baud_rate; in upd78f0730_get_baud_rate() 310 speed_t baud_rate; in upd78f0730_set_termios() local 320 baud_rate = upd78f0730_get_baud_rate(tty); in upd78f0730_set_termios() 322 request.baud_rate = cpu_to_le32(baud_rate); in upd78f0730_set_termios() 324 dev_dbg(dev, "%s - baud rate = %d\n", __func__, baud_rate); in upd78f0730_set_termios()
|
D | ch341.c | 96 unsigned baud_rate; /* set baud rate */ member 244 speed_t baud_rate, u8 lcr) in ch341_set_baudrate_lcr() argument 249 if (!baud_rate) in ch341_set_baudrate_lcr() 252 val = ch341_get_divisor(priv, baud_rate); in ch341_set_baudrate_lcr() 332 r = ch341_set_baudrate_lcr(dev, priv, priv->baud_rate, priv->lcr); in ch341_configure() 400 priv->baud_rate = DEFAULT_BAUD_RATE; in ch341_port_probe() 505 unsigned baud_rate; in ch341_set_termios() local 514 baud_rate = tty_get_baud_rate(tty); in ch341_set_termios() 544 if (baud_rate) { in ch341_set_termios() 545 priv->baud_rate = baud_rate; in ch341_set_termios() [all …]
|
D | keyspan.c | 67 u32 baud_rate, u32 baudclk, 71 u32 baud_rate, u32 baudclk, 75 u32 baud_rate, u32 baudclk, 79 u32 baud_rate, u32 baudclk, 195 u32 baud_rate, u32 baudclk, 641 int baud_rate, device_port; in keyspan_set_termios() local 653 baud_rate = tty_get_baud_rate(tty); in keyspan_set_termios() 655 if (d_details->calculate_baud_rate(port, baud_rate, d_details->baudclk, in keyspan_set_termios() 659 p_priv->baud = baud_rate; in keyspan_set_termios() 661 baud_rate = tty_termios_baud_rate(old_termios); in keyspan_set_termios() [all …]
|
D | cypress_m8.c | 109 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() 936 if (priv->chiptype == CT_EARTHMATE && priv->baud_rate == 4800) { in cypress_set_termios()
|
D | io_ti.c | 103 int baud_rate; member 2342 edge_port->baud_rate = baud; in change_port_settings()
|
/kernel/linux/linux-5.10/drivers/misc/ti-st/ |
D | st_kim.c | 610 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()
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
D | sifive.c | 162 unsigned long baud_rate; member 467 div = DIV_ROUND_UP(ssp->clkin_rate, ssp->baud_rate) - 1; in __ssp_update_div() 485 if (ssp->baud_rate == rate) in __ssp_update_baud_rate() 488 ssp->baud_rate = rate; in __ssp_update_baud_rate() 649 udelay(DIV_ROUND_UP(12 * 1000 * 1000, ssp->baud_rate)); in sifive_serial_clk_notifier() 1001 ssp->baud_rate = SIFIVE_DEFAULT_BAUD_RATE; in sifive_serial_probe() 1002 ssp->port.uartclk = ssp->baud_rate * 16; in sifive_serial_probe()
|
D | sirfsoc_uart.c | 663 sirfsoc_uart_calc_sample_div(unsigned long baud_rate, in sirfsoc_uart_calc_sample_div() argument 675 ioclk_div = (ioclk_rate / (baud_rate * (sample_div + 1))) - 1; in sirfsoc_uart_calc_sample_div() 679 temp_delta = baud_tmp - baud_rate; in sirfsoc_uart_calc_sample_div() 701 unsigned long baud_rate; in sirfsoc_uart_set_termios() local 794 baud_rate = uart_get_baud_rate(port, termios, old, 0, 4000000); in sirfsoc_uart_set_termios() 797 if (baud_rate == baudrate_to_regv[ic].baud_rate) in sirfsoc_uart_set_termios() 800 set_baud = baud_rate; in sirfsoc_uart_set_termios() 803 clk_div_reg = sirfsoc_uart_calc_sample_div(baud_rate, in sirfsoc_uart_set_termios() 807 clk_div_reg = sirfsoc_usp_calc_sample_div(baud_rate, in sirfsoc_uart_set_termios()
|
D | sirfsoc_uart.h | 396 unsigned int baud_rate; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | ti_wilink_st.h | 261 unsigned baud_rate; member 430 u32 baud_rate; member
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
D | btbcm.h | 14 __le32 baud_rate; member
|
D | hci_bcm.c | 186 param.baud_rate = cpu_to_le32(speed); in bcm_set_baudrate()
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-platform-kim | 14 What: /sys/devices/platform/kim/baud_rate
|
/kernel/linux/linux-5.10/include/acpi/ |
D | actbl3.h | 110 u8 baud_rate; member
|
/kernel/linux/linux-5.10/drivers/tty/ |
D | cyclades.c | 1967 int baud, baud_rate = 0; in cy_set_line_char() local 1987 baud_rate = info->baud / info->custom_divisor; in cy_set_line_char() 1989 baud_rate = info->baud; in cy_set_line_char() 2003 cyy_baud_calc(info, baud_rate); in cy_set_line_char() 2025 baud_rate) + 2; in cy_set_line_char() 2152 baud_rate = info->baud / info->custom_divisor; in cy_set_line_char() 2154 baud_rate = info->baud; in cy_set_line_char() 2167 baud_rate) + 2; in cy_set_line_char()
|