Home
last modified time | relevance | path

Searched refs:baudrate (Results 1 – 25 of 72) sorted by relevance

123

/external/chromium-trace/catapult/third_party/pyserial/serial/
Dserialposix.py43 def set_special_baudrate(port, baudrate): argument
54 buf[9] = buf[10] = baudrate
59 raise ValueError('Failed to set custom baud rate (%s): %s' % (baudrate, e))
100 def set_special_baudrate(port, baudrate): argument
122 def set_special_baudrate(port, baudrate): argument
133 def set_special_baudrate(port, baudrate): argument
143 def set_special_baudrate(port, baudrate): argument
146 buf = array.array('i', [baudrate])
150 def set_special_baudrate(port, baudrate): argument
164 def set_special_baudrate(port, baudrate): argument
[all …]
Dserialutil.py240 baudrate=9600, # baud rate argument
270 self.baudrate = baudrate
333 def setBaudrate(self, baudrate): argument
338 b = int(baudrate)
340 raise ValueError("Not a valid baudrate: %r" % (baudrate,))
343 raise ValueError("Not a valid baudrate: %r" % (baudrate,))
351 baudrate = property(getBaudrate, setBaudrate, doc="Baud rate setting") variable in SerialBase
513 self.baudrate,
Dsermsdos.py83 baudrate = 9600, argument
100 self.baud = BAUD_RATES[baudrate]
135 def setBaudrate(self, baudrate): argument
136 self._config(self.portstr, BAUD_RATES[baudrate],
Drfc2217.py1118 backup = self.serial.baudrate
1120 (baudrate,) = struct.unpack("!I", suboption[2:6])
1121 if baudrate != 0:
1122 self.serial.baudrate = baudrate
1126 self.serial.baudrate = backup
1129 … self.logger.info("%s baud rate: %s" % (baudrate and 'set' or 'get', self.serial.baudrate))
1130 … self.rfc2217SendSubnegotiation(SERVER_SET_BAUDRATE, struct.pack("!I", self.serial.baudrate))
/external/arm-trusted-firmware/plat/imx/imx8qx/
Dimx8qx_bl31_setup.c101 static void lpuart32_serial_setbrg(unsigned int base, int baudrate) in lpuart32_serial_setbrg() argument
106 if (baudrate == 0) in lpuart32_serial_setbrg()
111 baud_diff = baudrate; in lpuart32_serial_setbrg()
115 tmp_sbr = (rate / (baudrate * tmp_osr)); in lpuart32_serial_setbrg()
120 diff1 = rate / (tmp_osr * tmp_sbr) - baudrate; in lpuart32_serial_setbrg()
124 if (diff1 > (baudrate - diff2)) { in lpuart32_serial_setbrg()
125 diff1 = baudrate - diff2; in lpuart32_serial_setbrg()
/external/arm-trusted-firmware/plat/imx/imx8qm/
Dimx8qm_bl31_setup.c90 static void lpuart32_serial_setbrg(unsigned int base, int baudrate) in lpuart32_serial_setbrg() argument
95 if (baudrate == 0) in lpuart32_serial_setbrg()
100 baud_diff = baudrate; in lpuart32_serial_setbrg()
104 tmp_sbr = (rate / (baudrate * tmp_osr)); in lpuart32_serial_setbrg()
109 diff1 = rate / (tmp_osr * tmp_sbr) - baudrate; in lpuart32_serial_setbrg()
113 if (diff1 > (baudrate - diff2)) { in lpuart32_serial_setbrg()
114 diff1 = baudrate - diff2; in lpuart32_serial_setbrg()
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Dserial_detokenizer.py67 baudrate: int, show_errors: bool, output: BinaryIO,
74 serial_device = serial.Serial(port=device, baudrate=baudrate)
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dminiterm.py169 …def __init__(self, port, baudrate, parity, rtscts, xonxoff, echo=False, convert_outgoing=CONVERT_C… argument
171 …self.serial = serial.serial_for_url(port, baudrate, parity=parity, rtscts=rtscts, xonxoff=xonxoff,…
175 …self.serial = serial.Serial(port, baudrate, parity=parity, rtscts=rtscts, xonxoff=xonxoff, timeout…
217 self.serial.baudrate,
398 backup = self.serial.baudrate
400 self.serial.baudrate = int(sys.stdin.readline().strip())
403 self.serial.baudrate = backup
615 baudrate = options.baudrate
622 baudrate = int(args[0])
643 baudrate,
[all …]
/external/pigweed/pw_trace_tokenized/py/pw_trace_tokenized/
Dget_trace.py52 def get_hdlc_rpc_client(device: str, baudrate: int,
74 serial_device = serial.Serial(device, baudrate, timeout=1)
/external/pigweed/pw_hdlc/py/pw_hdlc/
Drpc_console.py124 def console(device: str, baudrate: int, proto_globs: Collection[str],
146 serial_device = serial.Serial(device, baudrate, timeout=1)
/external/arm-trusted-firmware/plat/allwinner/common/include/
Dmentor_i2c_plat.h24 uint32_t baudrate; member
/external/arm-trusted-firmware/tools/marvell/doimage/
Ddoimage.c88 uint8_t baudrate; /* 33 */ member
159 uint32_t baudrate; member
226 .baudrate = 0,
1151 print_field(main_hdr, header_t, baudrate, FMT_HEX, base); in print_header()
1459 header->baudrate = 0; in update_uart()
1464 if (opts.baudrate) in update_uart()
1465 header->baudrate = (opts.baudrate / 1200); in update_uart()
1616 opts.baudrate = strtoul(optarg, NULL, 0); in main()
1654 if (opts.baudrate % 1200) in main()
/external/arm-trusted-firmware/plat/marvell/armada/a8k/common/include/
Dmentor_i2c_plat.h24 uint32_t baudrate; /* when writing */ member
/external/pigweed/pw_web_ui/types/
Dserial.d.ts23 baudrate: number; property
/external/libcups/templates/ja/
Dmodify-printer.tmpl6 <INPUT TYPE="HIDDEN" NAME="BAUDRATE" VALUE="{?baudrate}">
Dadd-printer.tmpl6 <INPUT TYPE="HIDDEN" NAME="BAUDRATE" VALUE="{?baudrate}">
Dchoose-serial.tmpl16 {[baudrates]<OPTION {?baudrate={baudrates}?SELECTED:}>{baudrates}}
/external/libcups/templates/ru/
Dmodify-printer.tmpl6 <INPUT TYPE="HIDDEN" NAME="BAUDRATE" VALUE="{?baudrate}">
Dadd-printer.tmpl6 <INPUT TYPE="HIDDEN" NAME="BAUDRATE" VALUE="{?baudrate}">
Dchoose-serial.tmpl16 {[baudrates]<OPTION {?baudrate={baudrates}?SELECTED:}>{baudrates}}
/external/libcups/templates/fr/
Dmodify-printer.tmpl6 <INPUT TYPE="HIDDEN" NAME="BAUDRATE" VALUE="{?baudrate}">
/external/libcups/templates/
Dmodify-printer.tmpl6 <INPUT TYPE="HIDDEN" NAME="BAUDRATE" VALUE="{?baudrate}">
Dchoose-serial.tmpl16 {[baudrates]<OPTION {?baudrate={baudrates}?SELECTED:}>{baudrates}}
/external/libcups/templates/de/
Dmodify-printer.tmpl6 <INPUT TYPE="HIDDEN" NAME="BAUDRATE" VALUE="{?baudrate}">
/external/libcups/templates/da/
Dchoose-serial.tmpl16 {[baudrates]<OPTION {?baudrate={baudrates}?SELECTED:}>{baudrates}}

123