/openbmc/linux/drivers/usb/serial/ |
H A D | visor.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 1999 - 2004 7 * Greg Kroah-Hartman (greg@kroah.com) 9 * See Documentation/usb/usb-serial.rst for more information on using this 25 #include <linux/usb/serial.h> 32 #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>" 38 static int visor_probe(struct usb_serial *serial, 39 const struct usb_device_id *id); 40 static int visor_calc_num_ports(struct usb_serial *serial, 42 static int clie_5_calc_num_ports(struct usb_serial *serial, [all …]
|
H A D | usb-serial.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Serial Converter driver 5 * Copyright (C) 2009 - 2013 Johan Hovold (jhovold@gmail.com) 6 * Copyright (C) 1999 - 2012 Greg Kroah-Hartman (greg@kroah.com) 13 * See Documentation/usb/usb-serial.rst for more information on using this 33 #include <linux/serial.h> 35 #include <linux/usb/serial.h> 39 #define DRIVER_AUTHOR "Greg Kroah-Hartman <gregkh@linuxfoundation.org>" 40 #define DRIVER_DESC "USB Serial Driver core" 46 the MODULE_DEVICE_TABLE declarations in each serial driver [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 …]
|
/openbmc/linux/include/linux/ |
H A D | dio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Maybe this should handle DIO-II later? 19 * range from 0-63 (DIO) and 132-255 (DIO-II). 22 * So DIO cards cover [0x600000-0x800000); the areas [0x200000-0x400000) and 23 * [0x800000-0x1000000) are for additional space required by things 24 * like framebuffers. [0x400000-0x600000) is for miscellaneous internal I/O. 27 * DIO-II boards are at 0x1000000 + (sc - 132) * 0x400000 28 * which is address range [0x1000000-0x20000000) -- too big to map completely, 29 * so currently we just don't handle DIO-II boards. It wouldn't be hard to 47 dio_id id; member [all …]
|
/openbmc/linux/arch/powerpc/boot/dts/fsl/ |
H A D | mvme7100.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2016 Elettra-Sincrotrone Trieste S.C.p.A. 10 /include/ "mpc8641si-pre.dtsi" 37 phy-handle = <&phy0>; 38 phy-connection-type = "rgmii-id"; 42 phy0: ethernet-phy@1 { 45 phy1: ethernet-phy@2 { 48 phy2: ethernet-phy@3 { 51 phy3: ethernet-phy@4 { 57 phy-handle = <&phy1>; [all …]
|
/openbmc/linux/tools/virtio/virtio-trace/ |
H A D | README | 1 Trace Agent for virtio-trace 6 - splice a page of ring-buffer to read_pipe without memory copying 7 - splice the page from write_pipe to virtio-console without memory copying 8 - write trace data to stdout by using -o option 9 - controlled by start/stop orders from a Host 18 5) The read/write threads start to read trace data from ring-buffers and 19 write the data to virtio-serial. 28 Makefile: Makefile of trace agent for virtio-trace 29 trace-agent.c: includes main function, sets up for operating trace agent 30 trace-agent.h: includes all structures and some macros [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | SerialInterface.v1_2_1.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/SerialInterface.v1_2_1.json", 4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", 5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or… 12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { 28 "description": "The available OEM-specific actions for this resource.", 29 …"longDescription": "This property shall contain the available OEM-specific actions for this resour… 107 "Hardware": "Out-of-band flow control imposed.", 109 "Software": "XON/XOFF in-band flow control imposed." 116 …"longDescription": "This Redfish Specification-described type shall contain links to resources tha… 118 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { [all …]
|
/openbmc/u-boot/drivers/ata/ |
H A D | libata.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 u64 ata_id_n_sectors(u16 *id) in ata_id_n_sectors() argument 12 if (ata_id_has_lba(id)) { in ata_id_n_sectors() 13 if (ata_id_has_lba48(id)) in ata_id_n_sectors() 14 return ata_id_u64(id, ATA_ID_LBA48_SECTORS); in ata_id_n_sectors() 16 return ata_id_u32(id, ATA_ID_LBA_SECTORS); in ata_id_n_sectors() 42 static void ata_id_string(const u16 *id, unsigned char *s, in ata_id_string() argument 48 c = id[ofs] >> 8; in ata_id_string() 52 c = id[ofs] & 0xff; in ata_id_string() 57 len -= 2; in ata_id_string() [all …]
|
/openbmc/linux/Documentation/networking/devlink/ |
H A D | devlink-info.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 7 The ``devlink-info`` mechanism enables device drivers to report device 10 The original motivation for the ``devlink-info`` API was twofold: 12 - making it possible to automate device and firmware management in a fleet 13 of machines in a vendor-independent fashion (see also 14 :ref:`Documentation/networking/devlink/devlink-flash.rst <devlink_flash>`); 15 - name the per component FW versions (as opposed to the crowded ethtool 18 ``devlink-info`` supports reporting multiple types of objects. Reporting driver 19 versions is generally discouraged - here, and via any other Linux API. 21 .. list-table:: List of top level info objects [all …]
|
/openbmc/linux/Documentation/driver-api/driver-model/ |
H A D | platform.rst | 6 platform bus: platform_device, and platform_driver. This pseudo-bus 8 like those used to integrate peripherals on many system-on-chip 16 entities in the system. This includes legacy port-based devices and 18 into system-on-chip platforms. What they usually have in common 28 u32 id; 61 Or, in common situations where the device is known not to be hot-pluggable, 85 As a rule, platform specific (and often board-specific) setup code will 101 a kernel for a specific target board. Such board-specific kernels are 112 calls to clk_get(&pdev->dev, clock_name) return them as needed. 118 on a non-driver role: the driver registers its platform device, rather than [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | virtio-ccw-test.c | 8 * See the COPYING file in the top-level directory. 11 /* Until we have a full libqos implementation of virtio-ccw (which requires 17 #include "libqtest-single.h" 22 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtconsole_nop() 23 "-device virtconsole,bus=vser0.0"); in virtconsole_nop() 29 global_qtest = qtest_initf("-device virtio-serial-ccw,id=vser0 " in virtserialport_nop() 30 "-device virtserialport,bus=vser0.0"); in virtserialport_nop() 36 global_qtest = qtest_initf("-device virtio-serial-ccw"); in virtio_serial_nop() 42 QTestState *qts = qtest_initf("-device virtio-serial-ccw"); in virtio_serial_hotplug() 44 qtest_qmp_device_add(qts, "virtserialport", "hp-port", "{}"); in virtio_serial_hotplug() [all …]
|
/openbmc/u-boot/board/k+p/kp_imx53/ |
H A D | kp_id_rev.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * Copyright (C) 2012 TQ-Systems GmbH 27 /* ID */ in show_eeprom() 28 for (i = 0; i <= sizeof(eeprom.id) && 0xff != eeprom.id[i]; ++i) in show_eeprom() 29 safe_string[i] = eeprom.id[i]; in show_eeprom() 33 printf(" ID: %s\n", safe_string); in show_eeprom() 39 /* Serial number */ in show_eeprom() 40 for (i = 0; (sizeof(eeprom.serial) >= i) && in show_eeprom() 41 (eeprom.serial[i] >= 0x30) && in show_eeprom() 42 (eeprom.serial[i] <= 0x39); ++i) in show_eeprom() [all …]
|
/openbmc/qemu/docs/ |
H A D | qdev-device-use.txt | 1 = How to convert to -device & friends = 7 -device parameter bus. 10 where this address can be configured, devices provide a bus-specific 16 SCSI scsi-id %u 19 virtio-serial-bus nr %u 20 ccid-bus slot %u 23 Example: device i440FX-pcihost is on the root bus, and provides a PCI 24 bus named pci.0. To put a FOO device into its slot 4, use -device 25 FOO,bus=/i440FX-pcihost/pci.0,addr=4. The abbreviated form bus=pci.0 46 -drive, and guest device(s) with -device. [all …]
|
/openbmc/phosphor-webui/app/server-control/controllers/ |
H A D | remote-console-controller.html | 1 <div id="server-control-remote-console"> 3 <h1>Serial over LAN console</h1> 6 <div class="page-header"> 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… 14 <div id="term-container" class="terminal-container"> 15 <serial-console show-tab-btn="true"></serial-console>
|
/openbmc/qemu/hw/char/ |
H A D | virtio-serial-bus.c | 2 * A bus for connecting virtio serial and console ports 15 * the COPYING file in the top-level directory. 17 * Contributions after 2012-01-13 are licensed under the terms of the 24 #include "qemu/main-loop.h" 26 #include "migration/qemu-file-types.h" 28 #include "qemu/error-report.h" 30 #include "hw/qdev-properties.h" 32 #include "hw/virtio/virtio-serial.h" 33 #include "hw/virtio/virtio-access.h" 39 static VirtIOSerialPort *find_port_by_id(VirtIOSerial *vser, uint32_t id) in find_port_by_id() argument [all …]
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | virtio-serial.c | 23 #include "virtio-serial.h" 28 if (!g_strcmp0(interface, "virtio-serial")) { in qvirtio_serial_get_driver() 32 return v_serial->vdev; 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() 53 interface->vdev = virtio_dev; in virtio_serial_device_create() 55 virtio_device->obj.get_driver = qvirtio_serial_device_get_driver; in virtio_serial_device_create() 57 return &virtio_device->obj; in virtio_serial_device_create() 60 /* virtio-serial-pci */ [all …]
|
/openbmc/linux/Documentation/usb/ |
H A D | usb-serial.rst | 2 USB serial 8 The USB serial driver currently supports a number of different USB to 9 serial converter products, as well as some devices that use a serial 19 Currently the driver can handle up to 256 different serial interfaces at 45 -------------------------------------- 58 ----------------------------------------------- 72 This goes against the current documentation for pilot-xfer and other 77 (this is usually /dev/ttyUSB1 if you do not have any other usb-serial 99 Kroah-Hartman at greg@kroah.com 103 ------------------- [all …]
|
/openbmc/linux/drivers/ssb/ |
H A D | driver_chipcommon_sflash.c | 3 * ChipCommon serial flash interface 27 u32 id; member 83 dev_err(cc->dev->dev, "SFLASH control command failed (timeout)!\n"); in ssb_sflash_cmd() 86 /* Initialize serial flash access */ 89 struct ssb_sflash *sflash = &cc->dev->bus->mipscore.sflash; in ssb_sflash_init() 91 u32 id, id2; in ssb_sflash_init() local 93 switch (cc->capabilities & SSB_CHIPCO_CAP_FLASHT) { in ssb_sflash_init() 99 id = chipco_read32(cc, SSB_CHIPCO_FLASHDATA); in ssb_sflash_init() 105 switch (id) { in ssb_sflash_init() 107 for (e = ssb_sflash_sst_tbl; e->name; e++) { in ssb_sflash_init() [all …]
|
/openbmc/linux/drivers/bcma/ |
H A D | driver_chipcommon_sflash.c | 3 * ChipCommon serial flash interface 28 u32 id; member 85 bcma_err(cc->core->bus, "SFLASH control command failed (timeout)!\n"); in bcma_sflash_cmd() 88 /* Initialize serial flash access */ 91 struct bcma_bus *bus = cc->core->bus; in bcma_sflash_init() 92 struct bcma_sflash *sflash = &cc->sflash; in bcma_sflash_init() 94 u32 id, id2; in bcma_sflash_init() local 96 switch (cc->capabilities & BCMA_CC_CAP_FLASHT) { in bcma_sflash_init() 102 id = bcma_cc_read32(cc, BCMA_CC_FLASHDATA); in bcma_sflash_init() 108 switch (id) { in bcma_sflash_init() [all …]
|
/openbmc/qemu/docs/specs/ |
H A D | pci-ids.rst | 5 Red Hat, Inc. donates a part of its device ID range to QEMU, to be used for 6 virtual devices. The vendor IDs are 1af4 (formerly Qumranet ID) and 1b36. 8 Contact Gerd Hoffmann <kraxel@redhat.com> to get a device ID assigned 11 1af4 vendor ID 12 -------------- 14 The 1000 -> 10ff device ID range is used as follows for virtio-pci devices. 36 ID range for modern virtio devices. The PCI device 37 ID is calculated from the virtio device ID by adding the 41 copy in ``include/standard-headers/``. 45 official ID when the code leaves the test lab (i.e. when seeking [all …]
|
/openbmc/linux/net/rxrpc/ |
H A D | protocol.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 typedef u32 rxrpc_serial_t; /* Rx message serial number */ 13 typedef __be32 rxrpc_seq_net_t; /* on-the-wire Rx message sequence number */ 14 typedef __be32 rxrpc_serial_net_t; /* on-the-wire Rx message serial number */ 18 * on-the-wire Rx packet header 19 * - all multibyte fields should be in network byte order 23 #define RXRPC_RANDOM_EPOCH 0x80000000 /* Random if set, date-based if not */ 25 __be32 cid; /* connection and channel ID */ 27 #define RXRPC_CHANNELMASK (RXRPC_MAXCALLS-1) /* mask for channel ID */ 28 #define RXRPC_CIDMASK (~RXRPC_CHANNELMASK) /* mask for connection ID */ [all …]
|
/openbmc/qemu/docs/system/i386/ |
H A D | microvm.rst | 8 designed for short-lived guests. microvm also establishes a baseline 14 ----------------- 18 - ISA bus 19 - i8259 PIC (optional) 20 - i8254 PIT (optional) 21 - MC146818 RTC (optional) 22 - One ISA serial port (optional) 23 - LAPIC 24 - IOAPIC (with kernel-irqchip=split by default) 25 - kvmclock (if using KVM) [all …]
|
/openbmc/linux/include/linux/usb/ |
H A D | iowarrior.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 18 /* vendor id : supposed to be USB_VENDOR_ID_CODEMERCS in all cases */ 20 /* product id : depends on type of chip (USB_DEVICE_ID_CODEMERCS_X) */ 22 /* the serial number of our chip (if a serial-number is not available 24 __u8 serial[9]; member 27 /* USB-speed of the device (0=UNKNOWN, 1=LOW, 2=FULL 3=HIGH) */ 33 /* size of the data-packets on this interface */ 38 Get some device-information (product-id , serial-number etc.)
|
/openbmc/qemu/docs/system/ |
H A D | replay.rst | 4 Copyright (c) 2010-2022 Institute for System Programming 8 See the COPYING file in the top-level directory. 14 Execution recording writes a non-deterministic events log, which can be later 17 Execution replaying reads the log and replays all non-deterministic events 26 * Supports i386, x86_64, ARM, AArch64, Risc-V, MIPS, MIPS64, S390X, Alpha, 30 input devices, serial ports, and network. 36 .. parsed-literal:: 38 -icount shift=auto,rr=record,rrfile=replay.bin \\ 39 -drive file=disk.qcow2,if=none,snapshot,id=img-direct \\ 40 -drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay \\ [all …]
|
/openbmc/openbmc/poky/meta/conf/machine/include/loongarch/ |
H A D | qemuloongarch.inc | 1 PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot" 4 require conf/machine/include/loongarch/tune-loongarch.inc 6 MACHINE_FEATURES = "screen keyboard ext2 ext3 serial" 18 MACHINE_EXTRA_RRECOMMENDS += " kernel-modules" 27 QB_MACHINE = "-machine virt" 29 QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" 30 QB_NETWORK_DEVICE = "-device virtio-net-device,netdev=net0,mac=@MAC@" 31 QB_ROOTFS_OPT = "-drive id=disk0,file=@ROOTFS@,if=none,format=raw -device virtio-blk-device,drive=d… 32 QB_SERIAL_OPT = "-device virtio-serial-pci -chardev null,id=virtcon -device virtconsole,chardev=vir… 33 QB_TCPSERIAL_OPT = " -device virtio-serial-pci -chardev socket,id=virtcon,port=@PORT@,host=127.0.0.… [all …]
|