Home
last modified time | relevance | path

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

12

/external/openssh/
Dttymodes.c162 baud_to_speed(int baud) in baud_to_speed() argument
164 switch (baud) { in baud_to_speed()
349 u_int baud, u; in ssh_tty_parse_modes() local
380 if ((r = sshbuf_get_u32(buf, &baud)) != 0) in ssh_tty_parse_modes()
384 cfsetispeed(&tio, baud_to_speed(baud)) == -1) in ssh_tty_parse_modes()
385 error("cfsetispeed failed for %d", baud); in ssh_tty_parse_modes()
389 if ((r = sshbuf_get_u32(buf, &baud)) != 0) in ssh_tty_parse_modes()
393 cfsetospeed(&tio, baud_to_speed(baud)) == -1) in ssh_tty_parse_modes()
394 error("cfsetospeed failed for %d", baud); in ssh_tty_parse_modes()
/external/arm-trusted-firmware/plat/rockchip/common/
Dparams_setup.c60 uint32_t baud; in plat_rockchip_dt_process_fdt_uart() local
116 baud = 0; in plat_rockchip_dt_process_fdt_uart()
128 baud = baud * 10 + (*baud_start - '0'); in plat_rockchip_dt_process_fdt_uart()
132 rk_uart_baudrate = baud; in plat_rockchip_dt_process_fdt_uart()
162 return coreboot_serial.baud; in rockchip_get_uart_baudrate()
/external/chromium-trace/catapult/third_party/pyserial/serial/
Dsermsdos.py100 self.baud = BAUD_RATES[baudrate]
118 self._config(self.portstr, self.baud, self.parity,
127 def _config(self, port, baud, parity, data, stop, retry, argument
130 , " BAUD= ", baud, " PARITY= ", parity
195 , self.baud, self.parity, self.bytesize, self.stop,
/external/rust/crates/nix/src/sys/
Dtermios.rs900 pub fn cfsetispeed<T: Into<u32>>(termios: &mut Termios, baud: T) -> Result<()> {
902 let res = unsafe { libc::cfsetispeed(inner_termios, baud.into() as libc::speed_t) };
911 pub fn cfsetospeed<T: Into<u32>>(termios: &mut Termios, baud: T) -> Result<()> {
913 let res = unsafe { libc::cfsetospeed(inner_termios, baud.into() as libc::speed_t) };
923 pub fn cfsetspeed<T: Into<u32>>(termios: &mut Termios, baud: T) -> Result<()> {
925 let res = unsafe { libc::cfsetspeed(inner_termios, baud.into() as libc::speed_t) };
954 pub fn cfsetispeed(termios: &mut Termios, baud: BaudRate) -> Result<()> {
956 let res = unsafe { libc::cfsetispeed(inner_termios, baud as libc::speed_t) };
965 pub fn cfsetospeed(termios: &mut Termios, baud: BaudRate) -> Result<()> {
967 let res = unsafe { libc::cfsetospeed(inner_termios, baud as libc::speed_t) };
[all …]
/external/pigweed/pw_hdlc/rpc_example/
Dexample_script.py29 def script(device: str, baud: int) -> None:
31 ser = serial.Serial(device, baud, timeout=0.01)
/external/toybox/toys/pending/
Dstty.c56 static int baud(speed_t speed) in baud() function
62 static speed_t speed(int baud) in speed() argument
66 for (i=0;i<ARRAY_LEN(bauds);i++) if (bauds[i] == baud) break; in speed()
67 if (i == ARRAY_LEN(bauds)) error_exit("unknown speed: %d", baud); in speed()
195 int ispeed = baud(cfgetispeed(t)), ospeed = baud(cfgetospeed(t)); in show_speed()
/external/pigweed/targets/stm32f429i-disc1/py/stm32f429i_disc1_utils/
Dunit_test_runner.py242 baud, argument
267 threaded_reader_args = (result, port, baud, test_timeout)
305 args.baud, args.stlink_serial, args.port):
/external/pigweed/pw_arduino_build/py/pw_arduino_build/
Dunit_test_runner.py228 def run_device_test(binary, flash_only, port, baud, test_timeout, upload_tool, argument
276 result.append(read_serial(port, baud, test_timeout))
357 args.baud,
/external/arm-trusted-firmware/plat/nvidia/tegra/include/drivers/
Dspe.h20 int console_spe_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
/external/arm-trusted-firmware/include/drivers/amlogic/
Dmeson_console.h25 int console_meson_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
/external/arm-trusted-firmware/include/drivers/renesas/rcar/console/
Dconsole.h20 int console_rcar_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
/external/arm-trusted-firmware/plat/imx/common/include/
Dimx_uart.h14 int console_imx_uart_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
Dimx8_lpuart.h57 int console_lpuart_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
/external/arm-trusted-firmware/include/drivers/st/
Dstm32_console.h22 int console_stm32_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
/external/arm-trusted-firmware/include/drivers/cadence/
Dcdns_uart.h39 int console_cdns_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
/external/libwebsockets/scripts/
Desp32.mk100 --baud $(CONFIG_ESPTOOLPY_BAUD) \
107 --baud $(CONFIG_ESPTOOLPY_BAUD) \
/external/arm-trusted-firmware/include/lib/
Dcoreboot.h15 uint32_t baud; member
/external/arm-trusted-firmware/include/drivers/marvell/uart/
Da3700_console.h68 int console_a3700_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
/external/arm-trusted-firmware/plat/layerscape/common/include/
Dls_16550.h74 int console_ls_16550_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
/external/arm-trusted-firmware/include/drivers/ti/uart/
Duart_16550.h89 int console_16550_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
/external/arm-trusted-firmware/include/drivers/arm/
Dpl011.h94 int console_pl011_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
/external/arm-trusted-firmware/plat/mediatek/mt8192/
Dbl31_plat_setup.c70 coreboot_serial.baud, in bl31_early_platform_setup2()
/external/pigweed/pw_sys_io_arduino/
Ddocs.rst10 On initialization it runs Arduino's first ``Serial`` interface at a 115200 baud
/external/arm-trusted-firmware/plat/mediatek/mt8183/
Dbl31_plat_setup.c124 coreboot_serial.baud, in bl31_early_platform_setup2()
/external/pigweed/pw_sys_io_baremetal_stm32f429/
Ddocs.rst40 connect to the device at a baud rate of 115200 (8N1). If you're not using a

12