/openbmc/linux/drivers/net/phy/ |
H A D | phy-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * phy_speed_to_str - Return a string representing the PHY link speed 12 * @speed: Speed of the link 14 const char *phy_speed_to_str(int speed) in phy_speed_to_str() argument 18 "If a speed or mode has been added please update phy_speed_to_str " in phy_speed_to_str() 21 switch (speed) { in phy_speed_to_str() 57 return "Unsupported (update phy-core.c)"; in phy_speed_to_str() 63 * phy_duplex_to_str - Return string describing the duplex 72 return "Full"; in phy_duplex_to_str() 75 return "Unsupported (update phy-core.c)"; in phy_duplex_to_str() [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !! 9 # - Host systems (like PCs) need CONFIG_USB (with "A" jacks). 10 # - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks). 11 # - Some systems have both kinds of controllers. 13 # With help from a special transceiver and a "Mini-AB" jack, systems with 14 # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG). 22 # - integrated/SOC controllers first 23 # - licensed IP used in both SOC and discrete versions 24 # - discrete ones (including all PCI-only controllers) [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-pci-drivers-ehci_hcd | 7 PCI-based EHCI USB controllers (i.e., high-speed USB-2.0 9 "companion" full/low-speed USB-1.1 controllers. When a 10 high-speed device is plugged in, the connection is routed 11 to the EHCI controller; when a full- or low-speed device 15 Sometimes you want to force a high-speed device to connect 16 at full speed, which can be accomplished by forcing the 23 For example: To force the high-speed device attached to 24 port 4 on bus 2 to run at full speed:: 28 To return the port to high-speed operation:: 30 echo -4 >/sys/bus/usb/devices/usb2/../companion [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 055 | 4 # Tests for drive-backup and blockdev-backup 31 blockdev_target_img = os.path.join(iotests.test_dir, 'blockdev-target.img') 36 qemu_img('create', '-f', iotests.imgfmt, test_img, str(image_len)) 37 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x11 0 64k', test_img) 38 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x00 64k 128k', test_img) 39 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x22 162k 32k', test_img) 40 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0xd5 1M 32k', test_img) 41 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0xdc 32M 124k', test_img) 42 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x33 67043328 64k', test_img) 50 qemu_img('create', '-f', iotests.imgfmt, blockdev_target_img, str(image_len)) [all …]
|
H A D | 256.out | 1 --- Preparing images & VM --- 3 --- Starting VM --- 5 --- Create Targets & Full Backups --- 8 {"execute": "job-dismiss", "arguments": {"id": "job1"}} 12 {"execute": "job-dismiss", "arguments": {"id": "job2"}} 16 {"execute": "job-dismiss", "arguments": {"id": "job1"}} 20 {"execute": "job-dismiss", "arguments": {"id": "job2"}} 32 "type": "block-dirty-bitmap-add" 39 "type": "block-dirty-bitmap-add" 44 "job-id": "j0", [all …]
|
H A D | 109.out | 9 {'execute':'drive-mirror', 'arguments':{ 11 'mode': 'existing', 'sync': 'full'}} 20 …BLOCK_JOB_COMPLETED", "data": {"device": "src", "len": LEN, "offset": 0, "speed": 0, "type": "mirr… 23 {"execute":"query-block-jobs"} 26 …croseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} 32 {'execute':'drive-mirror', 'arguments':{ 34 'mode': 'existing', 'sync': 'full'}} 38 …BLOCK_JOB_READY", "data": {"device": "src", "len": 1024, "offset": 1024, "speed": 0, "type": "mirr… 39 {"execute":"query-block-jobs"} 40 …-finalize": true, "io-status": "ok", "device": "src", "auto-dismiss": true, "busy": false, "len": … [all …]
|
H A D | 257.out | 4 --- Preparing image & VM --- 6 {"execute": "blockdev-add", "arguments": {"driver": "qcow2", "file": {"driver": "file", "filename":… 9 --- Write #0 --- 11 write -P0x49 0x0000000 0x10000 13 write -P0x6c 0x0100000 0x10000 15 write -P0x6f 0x2000000 0x10000 17 write -P0x76 0x3ff0000 0x10000 23 --- Reference Backup #0 --- 26 {"execute": "job-dismiss", "arguments": {"id": "bdc-file-job"}} 30 {"execute": "job-dismiss", "arguments": {"id": "bdc-fmt-job"}} [all …]
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | u_uvc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * Copyright (c) 2013-2014 Samsung Electronics Co., Ltd. 36 * Control descriptors array pointers for full-/high-speed and 37 * super-speed. They point by default to the uvc_fs_control_cls and 45 * Streaming descriptors array pointers for full-speed, high-speed and 46 * super-speed. They will point to the uvc_[fhs]s_streaming_cls arrays 47 * for configfs-based gadgets. Legacy gadgets must initialize them in 54 /* Default control descriptors for configfs-based gadgets. */ 60 * Control descriptors pointers arrays for full-/high-speed and 61 * super-speed. The first element is a configurable control header [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | dme1737.rst | 18 Addresses scanned: none, address read from Super-I/O config space 34 Addresses scanned: none, address read from Super-I/O config space 43 ----------------- 52 Include non-standard LPC addresses 0x162e and 0x164e 55 - VIA EPIA SN18000 59 ----------- 63 and SCH5127 Super-I/O chips. These chips feature monitoring of 3 temp sensors 64 temp[1-3] (2 remote diodes and 1 internal), 8 voltages in[0-7] (7 external and 65 1 internal) and up to 6 fan speeds fan[1-6]. Additionally, the chips implement 66 up to 5 PWM outputs pwm[1-3,5-6] for controlling fan speeds both manually and [all …]
|
H A D | vt1211.rst | 10 Addresses scanned: none, address read from Super-I/O config space 24 ----------------- 29 configuration for channels 1-5. 30 Legal values are in the range of 0-31. Bit 0 maps to 47 ----------- 49 The VIA VT1211 Super-I/O chip includes complete hardware monitoring 52 implements 5 universal input channels (UCH1-5) that can be individually 60 connected to the PWM outputs of the VT1211 :-(). 80 ------------------ 82 Voltages are sampled by an 8-bit ADC with a LSB of ~10mV. The supported input [all …]
|
H A D | g762.rst | 4 The GMT G762 Fan Speed PWM Controller is connected directly to a fan 5 and performs closed-loop or open-loop control of the fan speed. Two 6 modes - PWM or DC - are supported by the device. 9 http://natisbad.org/NAS/ref/GMT_EDS-762_763-080710-0.2.pdf. sysfs 10 bindings are described in Documentation/hwmon/sysfs-interface.rst. 25 set desired fan speed. This only makes sense in closed-loop 26 fan speed control (i.e. when pwm1_enable is set to 2). 44 in closed-loop control mode, if fan RPM value is 25% out 49 set current fan speed control mode i.e. 1 for manual fan 50 speed control (open-loop) via pwm1 described below, 2 for [all …]
|
/openbmc/linux/net/ethtool/ |
H A D | common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 [NETIF_F_SG_BIT] = "tx-scatter-gather", 13 [NETIF_F_IP_CSUM_BIT] = "tx-checksum-ipv4", 14 [NETIF_F_HW_CSUM_BIT] = "tx-checksum-ip-generic", 15 [NETIF_F_IPV6_CSUM_BIT] = "tx-checksum-ipv6", 17 [NETIF_F_FRAGLIST_BIT] = "tx-scatter-gather-fraglist", 18 [NETIF_F_HW_VLAN_CTAG_TX_BIT] = "tx-vlan-hw-insert", 20 [NETIF_F_HW_VLAN_CTAG_RX_BIT] = "rx-vlan-hw-parse", 21 [NETIF_F_HW_VLAN_CTAG_FILTER_BIT] = "rx-vlan-filter", 22 [NETIF_F_HW_VLAN_STAG_TX_BIT] = "tx-vlan-stag-hw-insert", [all …]
|
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_param.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 1999 - 2010 Intel Corporation. 12 #define OPTION_UNSET -1 17 * TxDescriptors - Transmit Descriptor Count 18 * @Valid Range: PCH_GBE_MIN_TXD - PCH_GBE_MAX_TXD 26 * RxDescriptors -Receive Descriptor Count 27 * @Valid Range: PCH_GBE_MIN_RXD - PCH_GBE_MAX_RXD 35 * Speed - User Specified Speed Override 37 * - 0: auto-negotiate at all supported speeds 38 * - 10: only link at 10 Mbps [all …]
|
/openbmc/linux/Documentation/usb/ |
H A D | ehci.rst | 5 27-Dec-2002 7 The EHCI driver is used to talk to high speed USB 2.0 devices using 8 USB 2.0-capable host controller hardware. The USB 2.0 standard is 11 - "High Speed" 480 Mbit/sec (60 MByte/sec) 12 - "Full Speed" 12 Mbit/sec (1.5 MByte/sec) 13 - "Low Speed" 1.5 Mbit/sec 15 USB 1.1 only addressed full speed and low speed. High speed devices 23 (TT) in the hub, which turns low or full speed transactions into 24 high speed "split transactions" that don't waste transfer bandwidth. 31 While usb-storage devices have been available since mid-2001 (working [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/intel/ |
H A D | e1000.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 1999 - 2013 Intel Corporation. 13 - Identifying Your Adapter 14 - Command Line Parameters 15 - Speed and Duplex Configuration 16 - Additional Configurations 17 - Support 40 For more information about the AutoNeg, Duplex, and Speed 41 parameters, see the "Speed and Duplex Configuration" section in 50 ------- [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_param.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 12 #define OPTION_UNSET -1 30 * Valid Range: 80-256 for 82542 and 82543 gigabit ethernet controllers 31 * Valid Range: 80-4096 for 82544 and newer 39 * Valid Range: 80-256 for 82542 and 82543 gigabit ethernet controllers 40 * Valid Range: 80-4096 for 82544 and newer 46 /* User Specified Speed Override 49 * - 0 - auto-negotiate at all supported speeds 50 * - 10 - only link at 10 Mbps [all …]
|
/openbmc/linux/drivers/media/usb/cx231xx/ |
H A D | cx231xx-pcb-cfg.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 cx231xx-pcb-config.c - driver for Conexant 11 #include "cx231xx-conf-reg.h" 23 0, /* speed , not decide yet */ 62 /* full-speed config */ 94 0, /* speed , not decide yet */ 131 /* full-speed */ 163 0, /* speed , not decide yet */ 201 /* full-speed */ 233 0, /* speed , not decide yet */ [all …]
|
/openbmc/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt7623a.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2018 MediaTek Inc. 8 /dts-v1/; 9 #include <dt-bindings/power/mt7623a-power.h> 13 power-domains = <&scpsys MT7623A_POWER_DOMAIN_IFR_MSC>; 17 power-domains = <&scpsys MT7623A_POWER_DOMAIN_ETH>; 22 phy-mode = "trgmii"; 24 fixed-link { 25 speed = <1000>; 26 full-duplex; [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/net/ |
H A D | fixed-link.txt | 2 ------------------------------ 5 normal MDIO-managed PHY device. For those situations, a Device Tree 8 Such a fixed link situation is described by creating a 'fixed-link' 9 sub-node of the Ethernet MAC device node, with the following 12 * 'speed' (integer, mandatory), to indicate the link speed. Accepted 14 * 'full-duplex' (boolean, optional), to indicate that full duplex is 18 * 'asym-pause' (boolean, optional), to indicate that asym_pause should 25 fixed-link { 26 speed = <1000>; 27 full-duplex;
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | lxt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright 2010-2011 Freescale Semiconductor, Inc. 15 #define MIIM_LXT971_SR2_10FDX 0x0200 /* 10 Mbit full duplex selected */ 17 #define MIIM_LXT971_SR2_100FDX 0x4200 /* 100 Mbit full duplex selected */ 24 int speed; in lxt971_parse_status() local 27 speed = mii_reg & MIIM_LXT971_SR2_SPEED_MASK; in lxt971_parse_status() 29 switch (speed) { in lxt971_parse_status() 31 phydev->speed = SPEED_10; in lxt971_parse_status() 32 phydev->duplex = DUPLEX_HALF; in lxt971_parse_status() 35 phydev->speed = SPEED_10; in lxt971_parse_status() [all …]
|
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | epautoconf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * epautoconf.c -- endpoint autoconfiguration for usb gadget drivers 7 * Ported to U-Boot by: Thomas Smits <ts.smits@gmail.com> and 34 * - ep1, ep2, ... address is fixed, not direction or type 35 * - ep1in, ep2out, ... address and direction are fixed, not type 36 * - ep1-bulk, ep2-bulk, ... address and type are fixed, not direction 37 * - ep1in-bulk, ep2out-iso, ... all three are fixed 38 * - ep-* ... no functionality restrictions 40 * Type suffixes are "-bulk", "-iso", or "-int". Numbers are decimal. 57 if (NULL != ep->driver_data) in ep_matches() [all …]
|
/openbmc/phosphor-fan-presence/control/example/ |
H A D | zones.yaml | 1 #Example fan zone definitions for phosphor-fan-control 21 # power_on_delay: [Number of seconds that phosphor-fan-control --init 22 # should delay after setting fans to full speed on 26 # - zone_conditions: 27 # - name: [Name of a condition, if any.] 30 # - zone: [zone number] 32 # - [cooling profile] 33 # full_speed: [Full speed for the zone.] 34 # default_floor: [Default floor speed for the zone that fan speeds can 36 # increase_delay: [Number of seconds to delay additional speed increases [all …]
|
/openbmc/linux/drivers/usb/dwc2/ |
H A D | hcd.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 3 * hcd.h - DesignWare HS OTG Controller host-mode declarations 5 * Copyright (C) 2004-2013 Synopsys, Inc. 24 * struct dwc2_host_chan - Software host channel descriptor 30 * @speed: Device speed. One of the following values: 31 * - USB_SPEED_LOW 32 * - USB_SPEED_FULL 33 * - USB_SPEED_HIGH 35 * - USB_ENDPOINT_XFER_CONTROL: 0 36 * - USB_ENDPOINT_XFER_ISOC: 1 [all …]
|
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/fans/ |
H A D | phosphor-pid-control_%.bbappend | 1 FILESEXTRAPATHS:prepend:olympus-nuvoton := "${THISDIR}/${PN}:" 3 SRC_URI:append:olympus-nuvoton = " file://config-olympus-nuvoton.json" 4 SRC_URI:append:olympus-nuvoton = " file://fan-full-speed.sh" 5 SRC_URI:append:olympus-nuvoton = " file://phosphor-pid-control.service" 6 SRC_URI:append:olympus-nuvoton = " file://fan-reboot-control.service" 8 FILES:${PN}:append:olympus-nuvoton = " ${bindir}/fan-full-speed.sh" 9 FILES:${PN}:append:olympus-nuvoton = " ${datadir}/swampd/config.json" 13 SYSTEMD_SERVICE:${PN}:append:olympus-nuvoton = " phosphor-pid-control.service" 14 SYSTEMD_SERVICE:${PN}:append:olympus-nuvoton = " fan-reboot-control.service" 16 do_install:append:olympus-nuvoton() { [all …]
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm958625-meraki-alamo.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 5 * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com> 8 #include "bcm958625-meraki-mx6x-common.dtsi" 12 compatible = "gpio-keys-polled"; 14 poll-interval = <20>; 16 button-reset { 24 compatible = "gpio-leds"; 26 led-0 { 27 /* green:wan1-left */ 29 function-enumerator = <0>; [all …]
|