| /freebsd/sys/contrib/device-tree/Bindings/serial/ |
| H A D | nvidia,tegra20-hsuart.txt | 4 - compatible : should be, 5 "nvidia,tegra20-hsuart" for Tegra20, 6 "nvidia,tegra30-hsuart" for Tegra30, 7 "nvidia,tegra186-hsuart" for Tegra186, 8 "nvidia,tegra194-hsuart" for Tegra194. 10 - reg: Should contain UART controller registers location and length. 11 - interrupts: Should contain UART controller interrupts. 12 - clocks: Must contain one entry, for the module clock. 13 See ../clocks/clock-bindings.txt for details. 14 - resets : Must contain an entry for each entry in reset-names. [all …]
|
| H A D | nvidia,tegra20-hsuart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/serial/nvidia,tegra20-hsuart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 16 - enum: 17 - nvidia,tegra20-hsuart 18 - nvidia,tegra30-hsuart 19 - nvidia,tegra186-hsuart [all …]
|
| H A D | serial-peripheral-props.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/serial/serial-peripheral-props.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Common Properties for Serial-attached Devices 10 - Rob Herring <robh@kernel.org> 11 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 15 controller, might need similar properties, e.g. for configuring the baud 16 rate. 19 max-speed: [all …]
|
| /freebsd/share/man/man4/man4.i386/ |
| H A D | sbni.4 | 37 .Bl -bullet -compact 39 SBNI12-02, SBNI12D-02 41 SBNI12-04, SBNI12D-04 43 SBNI12-05, SBNI12D-05, ISA and PCI 45 SBNI12-10, SBNI12D-10, ISA and PCI 49 .Bl -bullet 51 SBNI12-11, SBNI12D-11, ISA and PCI. 58 which can set baud rate, receive level, and low three bytes of Ethernet 59 MAC-address (high three are always 62 presented to the system as Ethernet-like network cards. [all …]
|
| /freebsd/lib/libc/gen/ |
| H A D | tcsetattr.3 | 80 functions are provided for getting and setting the baud rate values in 86 Certain values for baud rates set in the termios structure and passed to 92 .Sh GETTING AND SETTING THE BAUD RATE 93 The input and output baud rates are found in the termios structure. 98 The value of the integer corresponds directly to the baud rate being 100 .Bd -literal 125 function returns the input baud rate in the termios structure referenced by 130 function sets the input baud rate in the termios structure referenced by 137 function returns the output baud rate in the termios structure referenced by 142 function sets the output baud rate in the termios structure referenced by [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/w1/ |
| H A D | w1-uart.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/w1/w1-uart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: UART 1-Wire Bus 10 - Christoph Winklhofer <cj.winklhofer@gmail.com> 13 UART 1-wire bus. Utilizes the UART interface via the Serial Device Bus 14 to create the 1-Wire timing patterns. 16 The UART peripheral must support full-duplex and operate in open-drain 18 baud-rate and transmitted byte, which corresponds to a 1-Wire read bit, [all …]
|
| /freebsd/share/man/man4/ |
| H A D | uart.4 | 1 .\"- 2 .\" SPDX-License-Identifier: BSD-2-Clause 46 .Cd hint.uart.0.baud="38400" 53 .Bl -tag -compact -width 0x000000 72 EIA RS-232C (CCITT V.24) serial communications interface. 112 It contains the bus attachments and the low-level interrupt handler. 144 .Bl -bullet -compact 182 .Bl -tag -compact -offset "mmmm" -width "mmmm" 193 .Bl -tag -compact -offset "mmmm" -width "mmmm" 195 Invert the pulse (RS-232 logic low = ASSERT, high = CLEAR). [all …]
|
| /freebsd/bin/stty/ |
| H A D | stty.1 | 1 .\"- 57 .Bl -tag -width indent 61 .St -p1003.2 . 84 .St -p1003.2 . 93 .Bl -tag -width Fl 102 Set terminal baud rate to the 105 baud rate is set to zero, modem 109 Set terminal input baud rate to the 112 input baud rate is set to zero, the 113 input baud rate is set to the [all …]
|
| /freebsd/contrib/ncurses/man/ |
| H A D | tset.1 | 2 .\" Copyright 2018-2023,2024 Thomas E. Dickey * 3 .\" Copyright 1998-2016,2017 Free Software Foundation, Inc. * 31 .TH @TSET@ 1 2024-04-27 "ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@" "User commands" 53 \fB\%@RESET@\fP \- 56 …SET@\fP [\fB\-IQVcqrsw\fP] [\fB\-\fP] [\fB\-e\fP \fIch\fP] [\fB\-i\fP \fIch\fP] [\fB\-k\fP \fIch\f… 58 …SET@\fP [\fB\-IQVcqrsw\fP] [\fB\-\fP] [\fB\-e\fP \fIch\fP] [\fB\-i\fP \fIch\fP] [\fB\-k\fP \fIch\f… 95 If the terminal type was not specified on the command-line, the \fB\-m\fP 110 if the \*(``\fB\-w\fP\*('' option is enabled, \fB@TSET@\fP may update 120 if the \*(``\fB\-c\fP\*('' option is enabled, 124 unless the \*(``\fB\-I\fP\*('' option is enabled, [all …]
|
| /freebsd/sys/dev/uart/ |
| H A D | uart_dev_imx.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 71 * Low-level UART interface. 98 msg, bas->bsh, 115 uint32_t rate, ubir, ubmr; in imx_uart_getbaud() local 116 u_int baud, blo, bhi, i; in imx_uart_getbaud() local 123 * Get the baud rate the hardware is programmed for, then search the in imx_uart_getbaud() 124 * table of standard baud rates for a number that's within 3% of the in imx_uart_getbaud() 125 * actual rate the hardware is programmed for. It's more comforting to in imx_uart_getbaud() 128 * numerator are 1 (like we do when setting the baud rate), because we in imx_uart_getbaud() [all …]
|
| /freebsd/sys/dev/usb/serial/ |
| H A D | uplcom.c | 3 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2001-2003, 2005 Shunsuke Akiyama <akiyama@jp.FreeBSD.org>. 31 /*- 61 * This driver supports several USB-to-RS232 serial adapters driven by 62 * Prolific PL-2303, PL-2303X and probably PL-2303HX USB-to-RS232 70 * PL-2303HX is probably programmed the same as PL-2303X. 72 * There are several differences between PL-2303 and PL-2303(H)X. 73 * PL-2303(H)X can do higher bitrate in bulk mode, has _probably_ 261 UPLCOM_DEV(ADLINK, ND6530), /* ADLINK ND-6530 USB-Serial */ [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/sound/ |
| H A D | serial-midi.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 --- 5 $id: http://devicetree.org/schemas/sound/serial-midi.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Daniel Kaehn <kaehndan@gmail.com> 19 Can only be set to use standard baud rates corresponding to supported rates of the 20 parent serial device. If the standard MIDI baud of 31.25 kBaud is needed 22 configure the clocks of the parent serial device so that a requested baud of 38.4 kBaud 23 results in the standard MIDI baud rate, and set the 'current-speed' property to 38400 (default) 26 - $ref: /schemas/serial/serial-peripheral-props.yaml# [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | ttymodes.c | 69 * Converts POSIX speed_t to a baud rate. The values of the 159 * Converts a numeric baud rate to a POSIX speed_t. 162 baud_to_speed(int baud) in baud_to_speed() argument 164 switch (baud) { in baud_to_speed() 289 if (fd == -1) { in ssh_tty_make_modes() 293 if (tcgetattr(fd, &tio) == -1) { in ssh_tty_make_modes() 300 /* Store input and output baud rates. */ in ssh_tty_make_modes() 319 if (OP == SSH_TTYMODE_IUTF8 && (ssh->compat & SSH_BUG_UTF8TTYMODE)) { \ in ssh_tty_make_modes() 349 u_int baud, u; in ssh_tty_parse_modes() local 364 * flags. I am hoping that if there are any machine-specific in ssh_tty_parse_modes() [all …]
|
| /freebsd/usr.bin/tip/tip/ |
| H A D | remote | 1 # remote -- remote host description file 5 # br bit rate (defaults to 9600) 10 # fs frame size (default is BUFSIZ) -- used in buffering writes on 22 dosbbs|DOS-based BBS:\ 26 unix57600|57600 Baud dial-out to a UNIX system:\ 28 unix33600|33600 Baud dial-out to a UNIX system:\ 32 dos57600|57600 Baud dial-out to a DOS system:\ 40 dial57600|57600 Baud Hayes attributes:\ 42 dial33600|33600 Baud Hayes attributes:\ 44 # 14.4k and 28.8k modems ran the port at 4x. Some rare 19.2 baud modems [all …]
|
| H A D | tip.1 | 41 .Op Ar system-name 46 establishes a full-duplex connection to another machine, giving the 52 .Bl -tag -width indent 67 .Ar system-name 69 .Ar system-name 77 .Ar system-name 79 .Ar system-name 88 .Ar system-name 98 .Bl -tag -width indent 133 .Dl "stty -echo; cat > 'to'; stty echo" [all …]
|
| /freebsd/sys/arm/freescale/vybrid/ |
| H A D | vf_uart.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 51 #define UART_BDH 0x00 /* Baud Rate Registers: High */ 52 #define UART_BDL 0x01 /* Baud Rate Registers: Low */ 82 #define UART_C6 0x21 /* CEA709.1-B Control Register 6 */ 83 #define UART_PCTH 0x22 /* CEA709.1-B Packet Cycle Time Counter High */ 84 #define UART_PCTL 0x23 /* CEA709.1-B Packet Cycle Time Counter Low */ 85 #define UART_B1T 0x24 /* CEA709.1-B Beta1 Timer */ 86 #define UART_SDTH 0x25 /* CEA709.1-B Secondary Delay Timer High */ 87 #define UART_SDTL 0x26 /* CEA709.1-B Secondary Delay Timer Low */ [all …]
|
| H A D | vf_spi.c | 1 /*- 85 #define CTAR_PBR_S 16 /* Baud Rate Prescaler */ 90 #define CTAR_BR_S 0 /* Baud Rate Scaler */ 126 { -1, 0 } 136 if (!ofw_bus_is_compatible(dev, "fsl,mvf600-spi")) in spi_probe() 151 if (bus_alloc_resources(dev, spi_spec, sc->res)) { in spi_attach() 157 sc->bst = rman_get_bustag(sc->res[0]); in spi_attach() 158 sc->bsh = rman_get_bushandle(sc->res[0]); in spi_attach() 181 * SCK baud rate = ( fsys / PBR ) * (1 + DBR) / BR in spi_attach() 221 if (i == (bufsz - 1) || txcnt == SPI_FIFO_SIZE) in spi_txrx() [all …]
|
| /freebsd/sys/dev/ic/ |
| H A D | cd180.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 66 #define CD180_RBPRH 0x31 /* Receive Baud Rate Period Register MSB */ 67 #define CD180_RBPRL 0x32 /* Receive Baud Rate Period Register LSB */ 68 #define CD180_TBPRH 0x39 /* Transmit Baud Rate Period Register MSB */ 69 #define CD180_TBPRL 0x3A /* Transmit Baud Rate Period Register LSB */ 143 #define COR2_TxIBE 0x40 /* Enable In-Band XON/XOFF Flow Control */ 154 #define COR3_FCT 0x20 /* Flow-Control Transparency Mode */ 156 #define COR3_RxTHMASK 0x0F /* RX FIFO Threshold value (1-8) */ 167 #define MCOR1_DSRzd 0x80 /* Detect 0->1 transition of DSR */ [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/power/reset/ |
| H A D | qnap-poweroff.txt | 5 Orion5x SoCs. Sending the character 'A', at 19200 baud, tells the 8 Synology NAS devices use a similar scheme, but a different baud rate, 12 - compatible: Should be "qnap,power-off" or "synology,power-off" 14 - reg: Address and length of the register set for UART1 15 - clocks: tclk clock
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | refclock_irig.c | 2 * refclock_irig - audio IRIG-B/E demodulator/decoder 26 * Audio IRIG-B/E demodulator/decoder 29 * IRIG-B/E signals commonly produced by GPS receivers and other timing 30 * devices. The IRIG signal is an amplitude-modulated carrier with 31 * pulse-width modulated data bits. For IRIG-B, the carrier frequency is 32 * 1000 Hz and bit rate 100 b/s; for IRIG-E, the carrier frequenchy is 33 * 100 Hz and bit rate 1 156 #define BAUD global() macro [all...] |
| /freebsd/sys/dev/iicbus/controller/twsi/ |
| H A D | mv_twsi.c | 1 /*- 36 * Calls to DELAY() are needed per Application Note AN-179 "TWSI Software 99 { "marvell,mv64xxx-i2c", true }, 100 { "marvell,mv78230-i2c", true }, 138 if (!ofw_bus_search_compatible(dev, compat_data)->ocd_data) in mv_twsi_probe() 145 #define ABSSUB(a,b) (((a) > (b)) ? (a) - (b) : (b) - (a)) 148 struct twsi_baud_rate *rate) in mv_twsi_cal_baud_rate() argument 154 /* Calculate baud rate. */ in mv_twsi_cal_baud_rate() 157 clk_get_freq(sc->clk_core, &clk); in mv_twsi_cal_baud_rate() 170 rate->raw = TWSI_BAUD_RATE_RAW(clk, m0, n0); in mv_twsi_cal_baud_rate() [all …]
|
| /freebsd/share/doc/smm/07.lpd/ |
| H A D | 4.t | 52 conform to the default printer description (an LP-11 style interface to a 58 it must have the proper baud rate and terminal modes set. 60 locally via a 1200 baud serial line. 63 lp|LA-180 DecWriter III:\e 65 :tr=\ef:of=/usr/lib/lpf:lf=/usr/adm/lpd-errs: 73 entry sets the baud rate for the tty line and the 78 entry indicates that a form-feed should be printed when the queue 79 empties so the paper can be torn off without turning the printer off-line and 88 to be written to the file ``/usr/adm/lpd-errs'' 143 is the Benson-Varian. [all …]
|
| /freebsd/contrib/ncurses/progs/ |
| H A D | tset.c | 2 * Copyright 2020-2021,2024 Thomas E. Dickey * 3 * Copyright 1998-2016,2017 Free Software Foundation, Inc. * 31 * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 * 33 * and: Thomas E. Dickey 1996-on * 53 * tset.c - terminal initialization utility 60 /*- 117 int cmp = LOWERCASE(*a) - LOWERCASE(*b); in CaselessCmp() 122 return LOWERCASE(*a) - LOWERCASE(*b); in CaselessCmp() 153 if ((int) len < (int) sizeof(temp) - 12) { in failed() 159 _nc_STRNCAT(temp, msg, sizeof(temp), sizeof(temp) - strlen(temp) - 2); in failed() [all …]
|
| /freebsd/usr.bin/tip/ |
| H A D | README | 5 ----- 8 -------------------- --------------- 10 DEC DF02-AC, DF03-AC DF02, DF03 11 DEC DN-11/Able Quadracall DN11 23 --------- 34 -------- 42 -------------------------------------------------------------------------- 48 default baud rate is 1200. To use it do: 50 tip phone-number 52 tip -300 phone-number [all …]
|
| /freebsd/usr.bin/mail/ |
| H A D | main.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 37 * Mail -- a mail program 39 * Startup -- interface with user. 107 image = -1; in main() 110 * We successively pick off - flags. in main() 121 while ((i = getopt(argc, argv, "FEHINT:b:c:edfins:u:v")) != -1) { in main() 181 * If no argument is given after -f, we read his in main() 187 if ((argv[optind] != NULL) && (argv[optind][0] != '-')) in main() 236 Usage: %s [-dEiInv] [-s subject] [-c cc-addr] [-b bcc-addr] [-F] to-addr ...\n\ in main() [all …]
|