/openbmc/openbmc-test-automation/gui/test/server_overview/ |
H A D | test_obmc_gui_server_overview.robot | 2 Documentation This test suite will validate the "OpenBMC ASMI Menu -> 17 ${xpath_high_priority_events} //a[@href='#/server-health/event-log'] 19 ${xpath_launch_serial_over_lan} //a[@class='no-icon quick-links__item'] 20 ${string_launch_serial_over_lan} Serial over LAN console 23 # OpenBMC @ Power Off state test cases. 25 Verify Serial Over LAN Button 26 [Documentation] Verify console page on clicking serial over lan console button 31 Verify Display Content Access the Serial over LAN console 33 Verify Title Text Content At OBMC Power Off State 42 Verify Display Text Server Information At OBMC Power Off State [all …]
|
/openbmc/libmctp/ |
H A D | serial.c | 1 /* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */ 9 #include "crc-16-ccitt.h" 22 return -1; in write() 26 #define pr_fmt(x) "serial: " x 31 #include "libmctp-alloc.h" 32 #include "libmctp-log.h" 33 #include "libmctp-serial.h" 44 /* receive buffer and state */ 89 * @dst: An opaque object to pass as state to fn 94 * Pre-condition: fn returns a write count or a negative error code [all …]
|
/openbmc/qemu/hw/char/ |
H A D | serial-isa.c | 4 * Copyright (c) 2003-2004 Fabrice Bellard 31 #include "hw/char/serial.h" 32 #include "hw/char/serial-isa.h" 34 #include "hw/qdev-properties.h" 46 SerialState state; member 61 SerialState *s = &isa->state; in serial_isa_realizefn() 63 if (isa->index == -1) { in serial_isa_realizefn() 64 isa->index = index; in serial_isa_realizefn() 66 if (isa->index >= MAX_ISA_SERIAL_PORTS) { in serial_isa_realizefn() 67 error_setg(errp, "Max. supported number of ISA serial ports is %d.", in serial_isa_realizefn() [all …]
|
H A D | serial-pci.c | 4 * Copyright (c) 2003-2004 Fabrice Bellard 26 /* see docs/specs/pci-serial.rst */ 31 #include "hw/char/serial.h" 34 #include "hw/qdev-properties.h" 40 SerialState state; member 44 #define TYPE_PCI_SERIAL "pci-serial" 50 SerialState *s = &pci->state; in OBJECT_DECLARE_SIMPLE_TYPE() 56 pci->dev.config[PCI_CLASS_PROG] = pci->prog_if; in OBJECT_DECLARE_SIMPLE_TYPE() 57 pci->dev.config[PCI_INTERRUPT_PIN] = 0x01; in OBJECT_DECLARE_SIMPLE_TYPE() 58 s->irq = pci_allocate_irq(&pci->dev); in OBJECT_DECLARE_SIMPLE_TYPE() [all …]
|
H A D | serial-pci-multi.c | 4 * SPDX-License-Identifier: MIT 6 * Copyright (c) 2003-2004 Fabrice Bellard 28 /* see docs/specs/pci-serial.rst */ 32 #include "hw/char/serial.h" 35 #include "hw/qdev-properties.h" 36 #include "hw/qdev-properties-system.h" 46 SerialState state[PCI_SERIAL_MAX_PORTS]; member 58 for (i = 0; i < pci->ports; i++) { in multi_serial_pci_exit() 59 s = pci->state + i; in multi_serial_pci_exit() 61 memory_region_del_subregion(&pci->iobar, &s->io); in multi_serial_pci_exit() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-falcon.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #define DRV_NAME "sflash-falcon" 26 /* Serial Flash Configuration Register */ 28 /* Serial Flash Time Register */ 30 /* Serial Flash Status Register */ 32 /* Serial Flash Command Register */ 34 /* Serial Flash Address Register */ 36 /* Serial Flash Data Register */ 38 /* Serial Flash I/O Control Register */ 52 /* SCK Rise-edge Position */ [all …]
|
/openbmc/linux/drivers/tty/ |
H A D | amiserial.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Serial driver for the amiga builtin port. 5 * This code was created by taking serial.c version 4.30 from kernel 9 * associated with the registers and bits of 16550 compatible UARTS - 10 * but only to keep track of status, etc in the state variables. It 12 * (non hardware specific) changes to serial.c. 33 * End of serial driver configuration section. 52 #include <linux/serial.h> 103 /* some serial hardware definitions */ 126 * ------------------------------------------------------------ [all …]
|
/openbmc/linux/net/rxrpc/ |
H A D | conn_event.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* connection-level event handling 17 #include "ar-internal.h" 20 * Set the completion state on an aborted connection. 28 if (conn->state != RXRPC_CONN_ABORTED) { in rxrpc_set_conn_aborted() 29 spin_lock(&conn->state_lock); in rxrpc_set_conn_aborted() 30 if (conn->state != RXRPC_CONN_ABORTED) { in rxrpc_set_conn_aborted() 31 conn->abort_code = abort_code; in rxrpc_set_conn_aborted() 32 conn->error = err; in rxrpc_set_conn_aborted() 33 conn->completion = compl; in rxrpc_set_conn_aborted() [all …]
|
/openbmc/linux/drivers/usb/serial/ |
H A D | mxuport.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * mxuport.c - MOXA UPort series driver 8 * Supports the following Moxa USB to serial converters: 11 * 8 ports : UPort 1610-8, UPort 1650-8 12 * 16 ports : UPort 1610-16, UPort 1650-16 19 #include <linux/serial.h> 27 #include <linux/usb/serial.h> 72 #define RQ_VENDOR_SET_HIGH_PERFOR 0x11 /* Set hi-performance */ 90 #define RQ_VENDOR_GET_ROM_PROC 0x83 /* Get ROM process state */ 105 /* Definitions for serial event type */ [all …]
|
H A D | belkin_sa.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Definitions for Belkin USB Serial Adapter Driver 8 * This program is largely derived from work by the linux-usb group 9 * and associated source files. Please see the usb/serial files for 12 * See Documentation/usb/usb-serial.rst for more information on using this 15 * 12-Mar-2001 gkh 16 * Added GoHubs GO-COM232 device id. 18 * 06-Nov-2000 gkh 21 * 12-Oct-2000 William Greathouse 22 * First cut at supporting Belkin USB Serial Adapter F5U103 [all …]
|
H A D | cp210x.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Silicon Laboratories CP210x USB to RS232 serial adaptor driver 6 * Copyright (C) 2010-2021 Johan Hovold (johan@kernel.org) 10 * control thanks to Munir Nassar nassarmu@real-time.com 21 #include <linux/usb/serial.h> 26 #define DRIVER_DESC "Silicon Labs CP210x RS232 serial adaptor driver" 55 { USB_DEVICE(0x045B, 0x0053) }, /* Renesas RX610 RX-Stick */ 56 { USB_DEVICE(0x0471, 0x066A) }, /* AKTAKOM ACE-1001 cable */ 57 { USB_DEVICE(0x0489, 0xE000) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */ 58 { USB_DEVICE(0x0489, 0xE003) }, /* Pirelli Broadband S.p.A, DP-L10 SIP/GSM Mobile */ [all …]
|
H A D | pl2303.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Prolific PL2303 USB to serial adaptor driver 5 * Copyright (C) 2001-2007 Greg Kroah-Hartman (greg@kroah.com) 10 * See Documentation/usb/usb-serial.rst for more information on using this 20 #include <linux/serial.h> 26 #include <linux/usb/serial.h> 243 static int pl2303_vendor_read(struct usb_serial *serial, u16 value, in pl2303_vendor_read() argument 246 struct pl2303_serial_private *spriv = usb_get_serial_data(serial); in pl2303_vendor_read() 247 struct device *dev = &serial->interface->dev; in pl2303_vendor_read() 251 if (spriv->type == &pl2303_type_data[TYPE_HXN]) in pl2303_vendor_read() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-bcm6328.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-bcm6328.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Álvaro Fernández Rojas <noltari@gmail.com> 15 However, on some devices there are Serial LEDs (LEDs connected to a 74x164 17 as spi-gpio. See 20 Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and 21 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware 29 explained later in brcm,link-signal-sources). Even if a LED is hardware [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/serial/ |
H A D | pl011.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/serial/pl011.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ARM AMBA Primecell PL011 serial UART 10 - Rob Herring <robh@kernel.org> 13 - $ref: /schemas/arm/primecell.yaml# 14 - $ref: serial.yaml# 22 - arm,pl011 24 - compatible [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | code_update_utils_serial.robot | 2 Documentation BMC OEM serial update utilities keywords. 10 [Documentation] Disable and re-enable the network while doing code update. 13 # Resetting the network will be done via the serial console. 23 # Verify code update was successful and 'Activation' state is 'Active'. 24 Wait For Activation State Change ${version_id} ${ACTIVATING} 33 ... through the serial console. 37 Execute Command On Serial Console ifconfig eth0 down 39 Execute Command On Serial Console ifconfig eth0 up
|
/openbmc/u-boot/drivers/led/ |
H A D | led_bcm6328.c | 1 // SPDX-License-Identifier: GPL-2.0+ 49 return ((readl_be(priv->mode) >> priv->shift) & LED_MODE_MASK); in bcm6328_led_get_mode() 54 clrsetbits_be32(priv->mode, (LED_MODE_MASK << priv->shift), in bcm6328_led_set_mode() 55 (mode << priv->shift)); in bcm6328_led_set_mode() 63 enum led_state_t state = LEDST_OFF; in bcm6328_led_get_state() local 69 state = LEDST_BLINK; in bcm6328_led_get_state() 73 state = (priv->active_low ? LEDST_ON : LEDST_OFF); in bcm6328_led_get_state() 76 state = (priv->active_low ? LEDST_OFF : LEDST_ON); in bcm6328_led_get_state() 80 return state; in bcm6328_led_get_state() 83 static int bcm6328_led_set_state(struct udevice *dev, enum led_state_t state) in bcm6328_led_set_state() argument [all …]
|
/openbmc/u-boot/drivers/serial/ |
H A D | sandbox.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * This provide a test serial port. It provides an emulated serial port where 8 * a test program and read out the serial output and inject serial input for 9 * U-Boot. 18 #include <serial.h> 21 #include <asm/state.h> 30 * Sandbox U-Boot. 33 * serial_buf_write == serial_buf_read -> empty buffer 34 * (serial_buf_write + 1) % 16 == serial_buf_read -> full buffer 41 int colour; /* Text colour to use for output, -1 for none */ [all …]
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-serial.h | 2 * Virtio Serial / Console Support 12 * the COPYING file in the top-level directory. 19 #include "standard-headers/linux/virtio_console.h" 24 /* Max. number of ports we can have for a virtio-serial device */ 28 #define TYPE_VIRTIO_SERIAL_PORT "virtio-serial-port" 34 #define TYPE_VIRTIO_SERIAL_BUS "virtio-serial-bus" 45 * The per-port (or per-app) realize function that's called when a 50 * Per-port unrealize function that's called when a port gets 51 * hot-unplugged or removed. 59 /* Enable/disable backend for virtio serial port */ [all …]
|
/openbmc/openbmc-test-automation/data/ |
H A D | variables.py | 15 OPENBMC_DBUS_GET_PROPERTY = "busctl get-property " 16 OPENBMC_DBUS_SET_PROPERTY = "busctl set-property " 41 # State Manager base variables 42 BMC_REBOOT_TRANS = "xyz.openbmc_project.State.BMC.Transition.Reboot" 44 HOST_POWEROFF_TRANS = "xyz.openbmc_project.State.Host.Transition.Off" 45 HOST_POWERON_TRANS = "xyz.openbmc_project.State.Host.Transition.On" 46 HOST_REBOOT_TRANS = "xyz.openbmc_project.State.Host.Transition.Reboot" 47 HOST_POWEROFF_STATE = "xyz.openbmc_project.State.Host.HostState.Off" 48 HOST_POWERON_STATE = "xyz.openbmc_project.State.Host.HostState.Running" 50 CHASSIS_POWEROFF_TRANS = "xyz.openbmc_project.State [all...] |
/openbmc/linux/drivers/parisc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 The VSC, GSC and HSC busses were used from the earliest 700-series 12 were also used in servers from the E-class to the K-class. They 17 bool "HP-PB bus support" 20 The HP-PB bus was used in the Nova class and K-class servers. 28 generation of PA-RISC cache-coherent machines. Programs the 36 many PA-RISC workstations & servers. It includes interfaces 37 for a parallel port, serial port, NCR 53c710 SCSI, Apricot 48 715/100. Wax includes an EISA adapter, a serial port (not always 67 Note that Dino also supplies one of the serial ports on certain [all …]
|
/openbmc/linux/Documentation/driver-api/serial/ |
H A D | driver.rst | 2 Low Level Serial API 6 This document is meant as a brief overview of some aspects of the new serial 10 The reference implementation is contained within amba-pl011.c. 14 Low Level Serial Hardware Driver 15 -------------------------------- 17 The low level serial hardware driver is responsible for supplying port 19 by uart_ops) to the core serial driver. The low level driver is also 25 --------------- 27 The serial core provides a few helper functions. This includes identifying 38 ------- [all …]
|
/openbmc/linux/drivers/iio/chemical/ |
H A D | sps30_serial.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Sensirion SPS30 particulate matter sensor serial driver 51 static int sps30_serial_xfer(struct sps30_state *state, const unsigned char *buf, size_t size) in sps30_serial_xfer() argument 53 struct serdev_device *serdev = to_serdev_device(state->dev); in sps30_serial_xfer() 54 struct sps30_serial_priv *priv = state->priv; in sps30_serial_xfer() 57 priv->num = 0; in sps30_serial_xfer() 58 priv->escaped = false; in sps30_serial_xfer() 59 priv->done = false; in sps30_serial_xfer() 65 return -EIO; in sps30_serial_xfer() 67 ret = wait_for_completion_interruptible_timeout(&priv->new_frame, SPS30_SERIAL_TIMEOUT); in sps30_serial_xfer() [all …]
|
/openbmc/u-boot/drivers/sound/ |
H A D | broadwell_i2s.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 33 /* Data driven (falling), data sampled (rising), idle state (low) */ 35 /* Data driven (rising), data sampled (falling), idle state (low) */ 37 /* Data driven (rising), data sampled (falling), idle state (high) */ 39 /* Data driven (falling), data sampled (rising), idle state (high) */ 45 u32 reserved0[29]; /* 0x14 - 0x77 */ 57 u32 reserved0[5]; /* 0x14 - 0x27 */ 145 /* Receiver Time-out Interrupt */ 176 /* Frame Rate Divider Control (0-7) */ 188 /* Serial Clock Rate (0-4095) */ [all …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 the low-power state for resources related to the remoteproc 25 resources. Platform drivers that require to set state of a shared 26 resource on a RPM-hardened platform must use this database to get 43 be called qcom-cpr 46 tristate "QCOM GENI Serial Engine Driver" 51 driver is also used to manage the common aspects of multiple Serial 55 tristate "QCOM General Serial Bus Interface" 60 functions for connecting the underlying serial UART, SPI, and I2C 110 Say yes here to support USB-C and battery status on modern Qualcomm [all …]
|
/openbmc/qemu/hw/openrisc/ |
H A D | openrisc_sim.c | 4 * Copyright (c) 2011-2012 Jia Liu <proljc@gmail.com> 22 #include "qemu/error-report.h" 27 #include "hw/char/serial-mm.h" 30 #include "hw/qdev-properties.h" 31 #include "exec/address-spaces.h" 37 #include "hw/core/split-irq.h" 46 #define TYPE_OR1KSIM_MACHINE MACHINE_TYPE_NAME("or1k-sim") 100 cpu_set_gpr(&cpu->env, 3, boot_info.fdt_addr); in main_cpu_reset() 108 static void openrisc_create_fdt(Or1ksimState *state, in openrisc_create_fdt() argument 118 fdt = state->fdt = create_device_tree(&state->fdt_size); in openrisc_create_fdt() [all …]
|