Home
last modified time | relevance | path

Searched refs:baud (Results 1 – 25 of 132) sorted by relevance

123456

/netbsd-src/etc/
H A Dgettytab21 # The "NNN-baud" names are known to the special case
25 std.110|110-baud:\
27 std.300|300-baud:\
29 std.600|600-baud:\
31 std.1200|1200-baud:\
33 std.2400|2400-baud:\
35 std.4800|4800-baud:\
37 std.9600|9600-baud:\
39 std.19200|19200-baud:\
41 std.38400|38400-baud:\
[all …]
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dttymodes.c164 baud_to_speed(int baud) in baud_to_speed() argument
166 switch (baud) { in baud_to_speed()
324 u_int baud, u; in ssh_tty_parse_modes() local
355 if ((r = sshbuf_get_u32(buf, &baud)) != 0) in ssh_tty_parse_modes()
358 cfsetispeed(&tio, baud_to_speed(baud)) == -1) in ssh_tty_parse_modes()
359 error("cfsetispeed failed for %d", baud); in ssh_tty_parse_modes()
363 if ((r = sshbuf_get_u32(buf, &baud)) != 0) in ssh_tty_parse_modes()
366 cfsetospeed(&tio, baud_to_speed(baud)) == -1) in ssh_tty_parse_modes()
367 error("cfsetospeed failed for %d", baud); in ssh_tty_parse_modes()
/netbsd-src/sys/arch/evbarm/stand/board/
H A Depcom.c53 unsigned long baud, pwrcnt; in cons_init() local
62 baud = EPCOMSPEED2BRD(CONSPEED); in cons_init()
63 EPCOM_WRITE(LinCtrlLow, baud & 0xff); in cons_init()
64 EPCOM_WRITE(LinCtrlMid, baud >> 8); in cons_init()
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
H A Dmeson6.dtsi57 clock-names = "xtal", "pclk", "baud";
62 clock-names = "xtal", "pclk", "baud";
67 clock-names = "xtal", "pclk", "baud";
72 clock-names = "xtal", "pclk", "baud";
H A Dmt8135.dtsi228 clock-names = "baud", "bus";
237 clock-names = "baud", "bus";
246 clock-names = "baud", "bus";
255 clock-names = "baud", "bus";
/netbsd-src/sys/dev/usb/
H A Ducycom.c676 uint32_t baud; in ucycomparam() local
714 baud = t->c_ispeed; in ucycomparam()
715 DPRINTF(("ucycomparam: baud=%d\n", baud)); in ucycomparam()
753 err = ucycom_configure(sc, baud, cfg); in ucycomparam()
905 ucycom_configure(struct ucycom_softc *sc, uint32_t baud, uint8_t cfg) in ucycom_configure() argument
910 switch (baud) { in ucycom_configure()
933 DPRINTF(("ucycom_configure: setting %d baud, %d-%c-%d (%d)\n", baud, in ucycom_configure()
939 report[0] = baud & 0xff; in ucycom_configure()
940 report[1] = (baud >> 8) & 0xff; in ucycom_configure()
941 report[2] = (baud >> 16) & 0xff; in ucycom_configure()
[all …]
H A Duslsa.c375 uint32_t baud; in uslsa_param() local
391 baud = htole32(t->c_ospeed); in uslsa_param()
392 status = usbd_do_request(sc->sc_udev, &req, &baud); in uslsa_param()
398 __func__, baud, usbd_errstr(status)); in uslsa_param()
/netbsd-src/usr.sbin/memswitch/
H A Dmethods.c432 int baud, bit, parity, stop, flow; local
441 baud = atoi_(&p);
447 if (baud == bauds[i])
450 warnx("%d: Invalid speed", baud);
453 baud = i;
515 baud);
685 const char *baud, *stop; in print_serial() local
702 baud = bauds[v & 0x000f]; in print_serial()
707 sprintf(str, "%s,%c,%c,%s,%c", baud, bit, parity, stop, flow); in print_serial()
/netbsd-src/sys/arch/arm/sunxi/
H A Dsunxi_twi.c93 uint32_t baud; in sunxi_twi_set_clock() local
96 baud = gttwsi_read_4(sc, TWSI_BAUDRATE); in sunxi_twi_set_clock()
104 baud = __SHIFTIN(n, TWI_CCR_CLK_N) | in sunxi_twi_set_clock()
110 gttwsi_write_4(sc, TWSI_BAUDRATE, baud); in sunxi_twi_set_clock()
/netbsd-src/sys/dev/marvell/
H A Dgtmpscvar.h133 compute_cdv(unsigned int baud) in compute_cdv() argument
137 if (baud == 0) in compute_cdv()
139 cdv = (GT_MPSC_FREQUENCY / (baud * GTMPSC_CLOCK_DIVIDER) + 1) / 2 - 1; in compute_cdv()
H A Dcom_mv.c130 mvuart_cnattach(bus_space_tag_t iot, bus_addr_t addr, int baud, in mvuart_cnattach() argument
137 return comcnattach1(&regs, baud, sysfreq, COM_TYPE_16550_NOERS, mode); in mvuart_cnattach()
/netbsd-src/sys/arch/ews4800mips/dev/
H A Dewsms.c194 u_int baud; in ewsms_zsc_reset() local
202 baud = EWSMS_BAUD; in ewsms_zsc_reset()
204 baud = EWSMS_BAUD1; in ewsms_zsc_reset()
205 zs_set_speed(cs, baud); in ewsms_zsc_reset()
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/freescale/
H A Dimx8-ss-dma.dtsi28 clock-names = "ipg", "baud";
38 clock-names = "ipg", "baud";
48 clock-names = "ipg", "baud";
58 clock-names = "ipg", "baud";
/netbsd-src/usr.bin/tip/aculib/
H A Dcourier.c172 unsigned int baud; member
229 (void)cfsetospeed(&cntrl, bm->baud); in cour_connect()
230 (void)cfsetispeed(&cntrl, bm->baud); in cour_connect()
H A Dt3000.c171 unsigned int baud; member
237 (void)cfsetospeed(&cntrl, bm->baud); in t3000_connect()
238 (void)cfsetispeed(&cntrl, bm->baud); in t3000_connect()
/netbsd-src/libexec/getty/
H A Dsubr.c650 char c, baud[20]; in portselector() local
656 for (len = 0; len < sizeof (baud) - 1; len++) { in portselector()
664 baud[len] = c; in portselector()
666 baud[len] = '\0'; in portselector()
668 if (strcmp(ps->ps_baud, baud) == 0) { in portselector()
/netbsd-src/sys/external/gpl2/dts/dist/arch/mips/boot/dts/ingenic/
H A Djz4780.dtsi284 clock-names = "baud", "module";
297 clock-names = "baud", "module";
310 clock-names = "baud", "module";
323 clock-names = "baud", "module";
336 clock-names = "baud", "module";
H A Djz4770.dtsi327 clock-names = "baud", "module";
340 clock-names = "baud", "module";
353 clock-names = "baud", "module";
366 clock-names = "baud", "module";
H A Dx1000.dtsi218 clock-names = "baud", "module";
231 clock-names = "baud", "module";
244 clock-names = "baud", "module";
/netbsd-src/sys/dev/pci/
H A Doboe.c704 oboe_setbaud(struct oboe_softc *sc, int baud) in oboe_setbaud() argument
708 DPRINTF(("oboe: setting baud to %d\n", baud)); in oboe_setbaud()
712 switch (baud) { in oboe_setbaud()
722 DPRINTF(("oboe: cannot set speed to %d\n", baud)); in oboe_setbaud()
731 sc->sc_speed = baud; in oboe_setbaud()
/netbsd-src/usr.bin/tip/
H A DREADME43 default baud rate is 1200. To use it do:
49 for 300 baud.
/netbsd-src/sys/arch/mips/alchemy/dev/
H A Dcom_aubus.c202 com_aubus_cnattach(bus_addr_t addr, int baud) in com_aubus_cnattach() argument
212 return comcnattach1(&regs, baud, sysfreq, COM_TYPE_AU1x00, CONMODE); in com_aubus_cnattach()
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/mediatek/
H A Dmt6779.dtsi215 clock-names = "baud", "bus";
225 clock-names = "baud", "bus";
235 clock-names = "baud", "bus";
H A Dmt6797.dtsi248 clock-names = "baud", "bus";
259 clock-names = "baud", "bus";
270 clock-names = "baud", "bus";
281 clock-names = "baud", "bus";
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxbb.dtsi819 clock-names = "xtal", "pclk", "baud";
824 clock-names = "xtal", "pclk", "baud";
829 clock-names = "xtal", "pclk", "baud";
834 clock-names = "xtal", "pclk", "baud";
839 clock-names = "xtal", "pclk", "baud";

123456