Home
last modified time | relevance | path

Searched full:serial (Results 1 – 25 of 2140) sorted by relevance

12345678910>>...86

/openbmc/libmctp/
H A Dserial.c26 #define pr_fmt(x) "serial: " x
33 #include "libmctp-serial.h"
149 struct mctp_binding_serial *serial = binding_to_serial(b); in mctp_binding_serial_tx() local
156 /* the length field in the header excludes serial framing in mctp_binding_serial_tx()
160 hdr = (void *)serial->txbuf; in mctp_binding_serial_tx()
172 if (len + sizeof(*hdr) + sizeof(*tlr) > sizeof(serial->txbuf)) in mctp_binding_serial_tx()
186 if (!serial->tx_fn) in mctp_binding_serial_tx()
187 return mctp_write_all(mctp_serial_write, &serial->fd, in mctp_binding_serial_tx()
188 &serial->txbuf[0], len); in mctp_binding_serial_tx()
190 return mctp_write_all(serial->tx_fn, serial->tx_fn_data, in mctp_binding_serial_tx()
[all …]
H A Dlibmctp-serial.h15 void mctp_serial_destroy(struct mctp_binding_serial *serial);
21 int mctp_serial_init_pollfd(struct mctp_binding_serial *serial,
24 int mctp_serial_read(struct mctp_binding_serial *serial);
25 int mctp_serial_open_path(struct mctp_binding_serial *serial, const char *path);
26 void mctp_serial_open_fd(struct mctp_binding_serial *serial, int fd);
33 void mctp_serial_set_tx_fn(struct mctp_binding_serial *serial,
35 int mctp_serial_rx(struct mctp_binding_serial *serial, const void *buf,
/openbmc/u-boot/drivers/serial/
H A DKconfig2 # Serial device configuration
5 menu "Serial drivers"
17 bool "Require a serial port for console"
18 # Running without a serial console is not supported by the
19 # non-dm serial code
23 Require a serial port for the console, and panic if none is found
24 during serial port initialization (default y). Set this to n on
25 boards which have no debug serial port whatsoever.
37 bool "Provide a serial driver"
47 bool "Provide a serial driver in SPL"
[all …]
H A Dserial.c9 #include <serial.h>
25 * serial_null() - Void registration routine of a serial driver
27 * This routine implements a void registration routine of a serial
129 * serial_register() - Register serial driver with serial driver core
130 * @dev: Pointer to the serial driver structure
132 * This function registers the serial driver supplied via @dev with
133 * serial driver core, thus making U-Boot aware of it and making it
162 * serial_initialize() - Register all compiled-in serial port drivers
164 * This function registers all serial port drivers that are compiled
165 * into the U-Boot binary with the serial core, thus making them
[all …]
/openbmc/qemu/tests/qtest/libqos/
H A Dvirtio-serial.c23 #include "virtio-serial.h"
28 if (!g_strcmp0(interface, "virtio-serial")) { in qvirtio_serial_get_driver()
35 fprintf(stderr, "%s not present in virtio-serial-device\n", interface); in qvirtio_serial_get_driver()
43 return qvirtio_serial_get_driver(&v_serial->serial, interface); in qvirtio_serial_device_get_driver()
51 QVirtioSerial *interface = &virtio_device->serial; in virtio_serial_device_create()
60 /* virtio-serial-pci */
67 return qvirtio_serial_get_driver(&v_serial->serial, interface); in qvirtio_serial_pci_get_driver()
74 QVirtioSerial *interface = &virtio_spci->serial; in virtio_serial_pci_create()
93 /* virtio-serial-device */ in virtio_serial_register_nodes()
95 qos_node_create_driver("virtio-serial-device", in virtio_serial_register_nodes()
[all …]
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-pyserial_3.5.bb1 SUMMARY = "Serial Port Support for Python"
21 ${PYTHON_SITEPACKAGES_DIR}/serial/*java* \
22 ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*java* \
26 ${PYTHON_SITEPACKAGES_DIR}/serial/tools/*osx* \
27 ${PYTHON_SITEPACKAGES_DIR}/serial/tools/__pycache__/*osx* \
31 ${PYTHON_SITEPACKAGES_DIR}/serial/*serialcli* \
32 ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*serialcli* \
33 ${PYTHON_SITEPACKAGES_DIR}/serial/*win32* \
34 ${PYTHON_SITEPACKAGES_DIR}/serial/__pycache__/*win32* \
35 ${PYTHON_SITEPACKAGES_DIR}/serial/tools/miniterm* \
[all …]
/openbmc/openbmc-test-automation/lib/serial_connection/
H A Dserial_console_client.robot2 Documentation Module for capturing BMC serial output
12 Open Telnet Connection To BMC Serial Console
13 [Documentation] Open telnet connection session to BMC serial console
21 # i_host The host name or IP of the serial console.
22 # i_port The port of the serial console.
46 Read And Log BMC Serial Console Output
54 Execute Command On Serial Console
55 [Documentation] Execute a command on the BMC serial console.
61 Open Telnet Connection To BMC Serial Console
65 Read And Log BMC Serial Console Output
[all …]
/openbmc/u-boot/doc/
H A DREADME.iomux24 and stderr. For example: "setenv stdin serial,nc". NOTE: No spaces
31 finds acceptable, but the code has only been tested with serial and
35 stdin nc,nc,serial" will discard the second nc. iomux_doenv() is
37 shows "nc,nc,serial".
57 example, if stdin=serial,nc and stdout=serial,nc then all output
58 for serial, e.g. echos of input on serial, will appear on serial and nc.
76 work, even when stdin=stdout=stderr=serial.
78 characters) lines works fine when serial is the only device used.
81 is quite slow. Even on a sequoia cut&paste does not work on the serial
83 the ethernet interface for input. In this test case stdin=serial,nc and
[all …]
/openbmc/libmctp/tests/
H A Dtest_serial.c11 #include "libmctp-serial.h"
29 struct mctp_binding_serial *serial; member
98 * `serial: invalid fcs : 0xf5c1, expect 0x1d3e` will be observed. in main()
111 /* Instantiate the A side of the serial pipe */ in main()
114 scenario[0].binding.serial = mctp_serial_init(); in main()
115 assert(scenario[0].binding.serial); in main()
119 mctp_serial_open_fd(a->serial, a->ingress); in main()
120 mctp_serial_set_tx_fn(a->serial, mctp_binding_serial_pipe_tx, a); in main()
121 mctp_register_bus(scenario[0].mctp, mctp_binding_serial_core(a->serial), in main()
124 /* Instantiate the B side of the serial pipe */ in main()
[all …]
/openbmc/u-boot/doc/device-tree-bindings/leds/
H A Dleds-bcm6328.txt5 However, on some devices there are Serial LEDs (LEDs connected to a 74x164
9 Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and
20 - brcm,serial-leds : Boolean, enables Serial LEDs.
22 - brcm,serial-mux : Boolean, enables Serial LEDs multiplexing.
24 - brcm,serial-clk-low : Boolean, makes clock signal active low.
26 - brcm,serial-dat-low : Boolean, makes data signal active low.
28 - brcm,serial-shift-inv : Boolean, inverts Serial LEDs shift direction.
66 Scenario 2 : BCM63268 with Serial LEDs
72 brcm,serial-leds;
73 brcm,serial-dat-low;
[all …]
/openbmc/u-boot/board/toradex/common/
H A Dtdx-common.c36 unsigned int serial = tdx_serial; in get_board_serial() local
43 if (serial) { in get_board_serial()
45 * Convert to Linux serial number format (hexadecimal coded in get_board_serial()
49 while (serial) { in get_board_serial()
50 array[i--] = serial % 10; in get_board_serial()
51 serial /= 10; in get_board_serial()
55 serial = array[0]; in get_board_serial()
57 serial *= 16; in get_board_serial()
58 serial += array[i]; in get_board_serial()
61 serialnr->low = serial; in get_board_serial()
[all …]
/openbmc/phosphor-webui/app/server-control/controllers/
H A Dremote-console-controller.html3 <h1>Serial over LAN console</h1>
7 <h2>Access the Serial over LAN console</h2>
11 …<p class="serial-lan__copy">The Serial over LAN (SoL) console redirects the output of the server’s…
15 <serial-console show-tab-btn="true"></serial-console>
/openbmc/openbmc/meta-ieisystem/meta-fp5280g3/recipes-phosphor/configuration/fp5280g3-yaml-config/
H A Dfp5280g3-ipmi-fru.yaml17 IPMIFruProperty: Serial Number
60 IPMIFruProperty: Serial Number
85 IPMIFruProperty: Serial Number
110 IPMIFruProperty: Serial Number
132 IPMIFruProperty: Serial Number
157 IPMIFruProperty: Serial Number
183 IPMIFruProperty: Serial Number
209 IPMIFruProperty: Serial Number
235 IPMIFruProperty: Serial Number
261 IPMIFruProperty: Serial Number
[all …]
/openbmc/libmctp/utils/
H A Dmctp-pipe.c5 #include "libmctp-serial.h"
30 struct mctp_binding_serial *serial[2]; in main() local
41 serial[0] = mctp_serial_init(); in main()
42 serial[1] = mctp_serial_init(); in main()
44 assert(serial[0] && serial[1]); in main()
50 mctp_serial_open_fd(serial[0], mctp_fds[0]); in main()
51 mctp_serial_open_fd(serial[1], mctp_fds[1]); in main()
53 mctp_register_bus(mctp[0], mctp_binding_serial_core(serial[0]), in main()
55 mctp_register_bus(mctp[1], mctp_binding_serial_core(serial[1]), in main()
76 rc = mctp_serial_read(serial[0]); in main()
[all …]
H A Dmctp-in.c5 #include "libmctp-serial.h"
30 struct mctp_binding_serial *serial; in main() local
37 serial = mctp_serial_init(); in main()
38 assert(serial); in main()
40 mctp_serial_open_fd(serial, STDIN_FILENO); in main()
42 mctp_register_bus(mctp, mctp_binding_serial_core(serial), 8); in main()
47 rc = mctp_serial_read(serial); in main()
/openbmc/openbmc/poky/meta/recipes-core/systemd/
H A Dsystemd-serialgetty.bb1 SUMMARY = "Serial terminal support for systemd (using SERIAL_CONSOLES)"
6 # Note that this recipe explicitly creates a serial-getty@ service for every tty
9 # required. This recipe (enabled via disabling serial-getty-generator in systemd)
28 ln -sf ${systemd_system_unitdir}/serial-getty@.service \
29 ${D}${sysconfdir}/systemd/system/getty.target.wants/serial-getty@$ttydev.service
32 …install -m 0644 ${S}/serial-getty@.service ${D}${systemd_system_unitdir}/serial-getty$baudrate@.se…
33 …sed -i -e "s/\@BAUDRATE\@/$baudrate/g" ${D}${systemd_system_unitdir}/serial-getty$baudrate@.service
35 ln -sf ${systemd_system_unitdir}/serial-getty$baudrate@.service \
36 ${D}${sysconfdir}/systemd/system/getty.target.wants/serial-getty$baudrate@$ttydev.service
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DSerialInterface.v1_3_0.json142 "description": "The Modbus settings for the serial interface.",
143 … "longDescription": "This type shall contain the Modbus settings for this serial interface.",
161 …escription": "This property shall indicate if the serial interface is read only. If `true`, the s…
171 "description": "The role of the serial interface.",
172 … "longDescription": "This property shall contain the role of this serial interface.",
178 …"longDescription": "This property shall contain the MODBUS over Serial Line Specification and Impl…
247 …"Modbus2Wire": "This value shall indicate the MODBUS over Serial Line Specification and Implementa…
248 …"Modbus4Wire": "This value shall indicate the MODBUS over Serial Line Specification and Implementa…
249 …"ModbusRs232": "This value shall indicate the MODBUS over Serial Line Specification and Implementa…
264 …"Client": "The serial interface is a client and connects to one or more servers across a serial bu…
[all …]
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/
H A Dolympus-nuvoton-ipmi-fru.yaml14 IPMIFruProperty: Serial Number
30 IPMIFruProperty: Serial Number
62 IPMIFruProperty: Serial Number
103 IPMIFruProperty: Serial Number
123 IPMIFruProperty: Serial Number
143 IPMIFruProperty: Serial Number
163 IPMIFruProperty: Serial Number
183 IPMIFruProperty: Serial Number
203 IPMIFruProperty: Serial Number
223 IPMIFruProperty: Serial Number
[all …]
/openbmc/qemu/hw/isa/
H A Disa-superio.c25 #include "hw/char/serial-isa.h"
79 /* Serial */ in isa_superio_realize()
80 for (i = 0; i < k->serial.count; i++) { in isa_superio_realize()
81 if (i >= ARRAY_SIZE(sio->serial)) { in isa_superio_realize()
82 warn_report("superio: ignoring %td serial controllers", in isa_superio_realize()
83 k->serial.count - ARRAY_SIZE(sio->serial)); in isa_superio_realize()
86 if (!k->serial.is_enabled || k->serial.is_enabled(sio, i)) { in isa_superio_realize()
90 name = g_strdup_printf("discarding-serial%d", i); in isa_superio_realize()
93 name = g_strdup_printf("serial%d", i); in isa_superio_realize()
98 if (k->serial.get_iobase) { in isa_superio_realize()
[all …]
/openbmc/qemu/hw/char/
H A DKconfig21 config SERIAL config
28 select SERIAL
32 select SERIAL
38 select SERIAL
44 select SERIAL
83 select SERIAL
/openbmc/openbmc/meta-google/recipes-phosphor/console/
H A Dobmc-console_%.bbappend4 file://serial-to-bmc@.service \
5 file://serial-to-host@.service.in \
10 SYSTEMD_SERVICE:${PN}:append:gbmc = " serial-to-bmc@.service"
11 SYSTEMD_SERVICE:${PN}:append:gbmc = " serial-to-host@.service"
24 install -m 0644 ${UNPACKDIR}/serial-to-bmc@.service \
28 ${UNPACKDIR}/serial-to-host@.service.in \
29 >${D}${systemd_system_unitdir}/serial-to-host@.service
41 systemctl --root=$D enable serial-to-host@${OBMC_CONSOLE_FRONT_TTY}.service
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/p10bmc-yaml-config/
H A Dp10bmc-ipmi-fru.yaml30 IPMIFruProperty: Serial Number
57 IPMIFruProperty: Serial Number
84 IPMIFruProperty: Serial Number
111 IPMIFruProperty: Serial Number
138 IPMIFruProperty: Serial Number
165 IPMIFruProperty: Serial Number
192 IPMIFruProperty: Serial Number
219 IPMIFruProperty: Serial Number
246 IPMIFruProperty: Serial Number
273 IPMIFruProperty: Serial Number
[all …]
/openbmc/qemu/crypto/
H A Dsecret_keyring.c50 if (!secret->serial) { in qcrypto_secret_keyring_load_data()
51 error_setg(errp, "'serial' parameter must be provided"); in qcrypto_secret_keyring_load_data()
55 retcode = keyctl_read(secret->serial, NULL, 0); in qcrypto_secret_keyring_load_data()
62 retcode = keyctl_read(secret->serial, buffer, retcode); in qcrypto_secret_keyring_load_data()
74 "Unable to read serial key %08x", in qcrypto_secret_keyring_load_data()
75 secret->serial); in qcrypto_secret_keyring_load_data()
88 error_setg(errp, "'serial' should not be equal to 0"); in qcrypto_secret_prop_set_key()
90 secret->serial = value; in qcrypto_secret_prop_set_key()
100 int32_t value = secret->serial; in qcrypto_secret_prop_get_key()
111 object_class_property_add(oc, "serial", "int32_t", in qcrypto_secret_keyring_class_init()
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/configuration/romulus-yaml-config/
H A Dromulus-ipmi-fru.yaml17 IPMIFruProperty: Serial Number
44 IPMIFruProperty: Serial Number
66 IPMIFruProperty: Serial Number
83 IPMIFruProperty: Serial Number
108 IPMIFruProperty: Serial Number
136 IPMIFruProperty: Serial Number
164 IPMIFruProperty: Serial Number
192 IPMIFruProperty: Serial Number
220 IPMIFruProperty: Serial Number
248 IPMIFruProperty: Serial Number
[all …]
/openbmc/openbmc/meta-amd/meta-ethanolx/recipes-phosphor/configuration/ethanolx-yaml-config/
H A Dethanolx-ipmi-fru.yaml11 IPMIFruProperty: Serial Number
44 IPMIFruProperty: Serial Number
71 IPMIFruProperty: Serial Number
93 IPMIFruProperty: Serial Number
110 IPMIFruProperty: Serial Number
135 IPMIFruProperty: Serial Number
163 IPMIFruProperty: Serial Number
191 IPMIFruProperty: Serial Number
219 IPMIFruProperty: Serial Number
247 IPMIFruProperty: Serial Number
[all …]

12345678910>>...86