/openbmc/linux/Documentation/admin-guide/pm/ |
H A D | intel-speed-select.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Intel(R) Speed Select Technology User Guide 7 The Intel(R) Speed Select Technology (Intel(R) SST) provides a powerful new 14 - https://www.intel.com/content/www/us/en/architecture-and-technology/speed-select-technology-artic… 15 - https://builders.intel.com/docs/networkbuilders/intel-speed-select-technology-base-frequency-enha… 19 dynamically without pre-configuring via BIOS setup options. This dynamic 21 and configure these features is by using the Intel Speed Select utility. 23 This document explains how to use the Intel Speed Select tool to enumerate and 29 intel-speed-select configuration tool 32 Most Linux distribution packages may include the "intel-speed-select" tool. If not, [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb251xb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip USB 2.0 Hi-Speed Hub Controller 10 - Richard Leitner <richard.leitner@skidata.com> 15 - microchip,usb2422 16 - microchip,usb2512b 17 - microchip,usb2512bi 18 - microchip,usb2513b 19 - microchip,usb2513bi [all …]
|
/openbmc/u-boot/drivers/i2c/ |
H A D | i2c_core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 int max = ll_entry_count(struct i2c_adapter, i2c); in i2c_get_adapter() local 20 if (index >= max) { in i2c_get_adapter() 21 printf("Error, wrong i2c adapter %d max %d possible\n", in i2c_get_adapter() 22 index, max); in i2c_get_adapter() 44 * ------------- 64 /* channel < 0 - turn off the mux */ in i2c_mux_set() 67 ret = adap->write(adap, chip, 0, 0, &buf, 1); in i2c_mux_set() 77 return -1; in i2c_mux_set() 82 return -1; in i2c_mux_set() [all …]
|
/openbmc/linux/drivers/macintosh/ |
H A D | windfarm_rm31.c | 1 // SPDX-License-Identifier: GPL-2.0-only 93 #define LOW_OVER_CLEAR ((-10) << 16) 103 /* We max all CPU fans in case of a sensor error. We also do the in cpu_max_all_fans() 155 * We calculate a history of max temperatures and use that for the in cpu_check_overtemp() 161 cpu_thist_total -= t_old; in cpu_check_overtemp() 187 /* High overtemp -> immediate shutdown */ in cpu_check_overtemp() 211 return -EIO; in read_one_cpu_vals() 220 return -EIO; in read_one_cpu_vals() 228 return -EIO; in read_one_cpu_vals() 248 s32 speed, temp, power, t_max = 0; in cpu_fans_tick() local [all …]
|
H A D | windfarm_pm72.c | 1 // SPDX-License-Identifier: GPL-2.0-only 65 /* Fixed speed for slot fan */ 99 #define LOW_OVER_CLEAR ((-10) << 16) 109 /* We max all CPU fans in case of a sensor error. We also do the in cpu_max_all_fans() 161 * We calculate a history of max temperatures and use that for the in cpu_check_overtemp() 167 cpu_thist_total -= t_old; in cpu_check_overtemp() 193 /* High overtemp -> immediate shutdown */ in cpu_check_overtemp() 217 return -EIO; in read_one_cpu_vals() 226 return -EIO; in read_one_cpu_vals() 234 return -EIO; in read_one_cpu_vals() [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | adm1026.rst | 16 - Philip Pokorny <ppokorny@penguincomputing.com> for Penguin Computing 17 - Justin Thiessen <jthiessen@penguincomputing.com> 20 ----------------- 22 * gpio_input: int array (min = 1, max = 17) 23 List of GPIO pins (0-16) to program as inputs 25 * gpio_output: int array (min = 1, max = 17) 26 List of GPIO pins (0-16) to program as outputs 28 * gpio_inverted: int array (min = 1, max = 17) 29 List of GPIO pins (0-16) to program as inverted 31 * gpio_normal: int array (min = 1, max = 17) [all …]
|
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 …]
|
/openbmc/linux/drivers/ata/ |
H A D | libata-pata-timings.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved. 6 * Copyright 2003-2004 Jeff Garzik 15 * drivers/ide/ide-timing.h and was originally written by Vojtech Pavlik 18 * PIO 0-4, MWDMA 0-2 and UDMA 0-6 timings (in nanoseconds). 19 * These were taken from ATA/ATAPI-6 standard, rev 0a, except 57 #define ENOUGH(v, unit) (((v)-1)/(unit)+1) 63 q->setup = EZ(t->setup, T); in ata_timing_quantize() 64 q->act8b = EZ(t->act8b, T); in ata_timing_quantize() 65 q->rec8b = EZ(t->rec8b, T); in ata_timing_quantize() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
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/Documentation/devicetree/bindings/net/ |
H A D | marvell-bluetooth.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/marvell-bluetooth.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Rob Herring <robh@kernel.org> 19 - mrvl,88w8897 20 - mrvl,88w8997 22 max-speed: 26 - compatible 29 - if: [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/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6ull-dhcor-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 #include <dt-bindings/clock/imx6ul-clock.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pwm/pwm.h> 11 #include <dt-bindings/regulator/dlg,da9063-regulator.h> 16 /delete-property/ mmc0; 17 /delete-property/ mmc1; 21 /* Appropriate memory size will be filled by U-Boot */ [all …]
|
/openbmc/linux/drivers/usb/core/ |
H A D | devices.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 * reason -- maybe it's just too deep of a directory structure. 24 * this in any plug-and-play environment.) 26 * 1999-12-16: Thomas Sailer <sailer@ife.ee.ethz.ch> 32 * 2000-01-04: Thomas Sailer <sailer@ife.ee.ethz.ch> 34 * 2000-07-05: Ashley Montanaro <ashley@compsoc.man.ac.uk> 55 "\nT: Bus=%2.2d Lev=%2.2d Prnt=%2.2d Port=%2.2d Cnt=%2.2d Dev#=%3d Spd=%-4s MxCh=%2d\n"; 77 "D: Ver=%2x.%02x Cls=%02x(%-5s) Sub=%02x Prot=%02x MxPS=%2d #Cfgs=%3d\n"; 89 "A: FirstIf#=%2d IfCount=%2d Cls=%02x(%-5s) Sub=%02x Prot=%02x\n"; 93 "I:%c If#=%2d Alt=%2d #EPs=%2d Cls=%02x(%-5s) Sub=%02x Prot=%02x Driver=%s\n"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | gpio-fan.txt | 4 - compatible : "gpio-fan" 7 - gpios: Specifies the pins that map to bits in the control value, 8 ordered MSB-->LSB. 9 - gpio-fan,speed-map: A mapping of possible fan RPM speeds and the 12 - alarm-gpios: This pin going active indicates something is wrong with 14 - #cooling-cells: If used as a cooling device, must be <2> 16 Documentation/devicetree/bindings/thermal/thermal-cooling-devices.yaml 17 min and max states are derived from the speed-map of the fan. 19 Note: At least one the "gpios" or "alarm-gpios" properties must be set. 24 compatible = "gpio-fan"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ddr/ |
H A D | jedec,lpddr2-timings.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr2-timings.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: LPDDR2 SDRAM AC timing parameters for a given speed-bin 10 - Krzysztof Kozlowski <krzk@kernel.org> 14 const: jedec,lpddr2-timings 16 max-freq: 19 Maximum DDR clock frequency for the speed-bin, in Hz. 21 min-freq: [all …]
|
/openbmc/phosphor-fan-presence/control/json/actions/ |
H A D | target_from_group_max.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 43 // Holds the max property value of groups in run() 46 // Group with non-numeric property value will be skipped from processing in run() 60 (_prevGroupValue - groupValue > _negHysteresis)) || in run() 62 (groupValue - _prevGroupValue > _posHysteresis))) in run() 64 /*The speed derived from mapping*/ in run() 72 // last map key, set speed to the first or the last map in run() 75 (groupValue <= it->first)) || in run() 77 (groupValue >= it->first))) in run() 79 groupSpeed = it->second; in run() [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | dev.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget 5 * dev.c - Individual device/gadget management (ie, a port = a gadget) 25 #include <linux/dma-mapping.h> 33 u32 istat = readl(d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 35 writel(istat, d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 38 ast_vhub_ep0_handle_ack(&d->ep0, true); in ast_vhub_dev_irq() 40 ast_vhub_ep0_handle_ack(&d->ep0, false); in ast_vhub_dev_irq() 42 ast_vhub_ep0_handle_setup(&d->ep0); in ast_vhub_dev_irq() 49 if (d->enabled) in ast_vhub_dev_enable() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt2712-evb.dts | 5 * SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 14 chassis-type = "embedded"; 15 compatible = "mediatek,mt2712-evb", "mediatek,mt2712"; 27 stdout-path = "serial0:921600n8"; 30 cpus_fixed_vproc0: regulator-vproc-buck0 { 31 compatible = "regulator-fixed"; 32 regulator-name = "vproc_buck0"; 33 regulator-min-microvolt = <1000000>; [all …]
|
/openbmc/linux/tools/net/ynl/ |
H A D | ethtool.py | 2 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 14 Verify and convert command-line arguments to the ynl-compatible request. 17 valid_attrs.remove('header') # not user-provided 41 Pretty-print a set of fields from the reply. desc specifies the 66 Print out the speed-like strings from the value dict. 68 speed_re = re.compile(r'[0-9]+base[^/]+/.+') 69 speed = [ k for k, v in value.items() if v and speed_re.match(k) ] 70 print(f'{name}: {" ".join(speed)}') 78 'dev-name': args.device, 95 if msg['header']['dev-name'] == args.device: [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. 54 u16 max; in ep_matches() local [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | pl022_spi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 45 /* SSP Control Register 0 - SSP_CR0 */ 48 #define SSP_CR0_BIT_MODE(x) ((x) - 1) 54 /* SSP Control Register 1 - SSP_CR1 */ 61 /* SSP Status Register - SSP_SR */ 81 if ((readw(ps->base + SSP_PID0) == 0x22) && in pl022_is_supported() 82 (readw(ps->base + SSP_PID1) == 0x10) && in pl022_is_supported() 83 ((readw(ps->base + SSP_PID2) & 0xf) == 0x04) && in pl022_is_supported() 84 (readw(ps->base + SSP_PID3) == 0x00)) in pl022_is_supported() 95 ps->base = ioremap(plat->addr, plat->size); in pl022_spi_probe() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
H A D | gk104.c | 29 return (nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x4) == 0x4 ? 2 : 1; in gk104_pcie_version_supported() 33 gk104_pcie_set_cap_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in gk104_pcie_set_cap_speed() argument 35 struct nvkm_device *device = pci->subdev.device; in gk104_pcie_set_cap_speed() 37 switch (speed) { in gk104_pcie_set_cap_speed() 56 int speed = gf100_pcie_cap_speed(pci); in gk104_pcie_cap_speed() local 58 if (speed == 0) in gk104_pcie_cap_speed() 61 if (speed >= 1) { in gk104_pcie_cap_speed() 62 int speed2 = nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x30000; in gk104_pcie_cap_speed() 74 return -EINVAL; in gk104_pcie_cap_speed() 78 gk104_pcie_set_lnkctl_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in gk104_pcie_set_lnkctl_speed() argument [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | armada-3720-uDPU.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Based on Marvell Armada 3720 development board (DB-88F3720-DDR3) 12 /dts-v1/; 14 #include "armada-37xx.dtsi" 15 #include "armada-3720-uDPU-u-boot.dtsi" 22 stdout-path = "serial0:115200n8"; 38 #address-cells = <1>; 39 #size-cells = <0>; 40 ethphy0: ethernet-phy@0 { 43 ethphy1: ethernet-phy@1 { [all …]
|
/openbmc/linux/net/ethtool/ |
H A D | common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 /* compose link mode index from speed, type and duplex */ 12 #define ETHTOOL_LINK_MODE(speed, type, duplex) \ argument 13 ETHTOOL_LINK_MODE_ ## speed ## base ## type ## _ ## duplex ## _BIT 18 int speed; member 45 int ethtool_get_max_rxfh_channel(struct net_device *dev, u32 *max); 46 int ethtool_get_max_rxnfc_channel(struct net_device *dev, u64 *max);
|
/openbmc/linux/Documentation/devicetree/bindings/pci/ |
H A D | ti,j721e-pci-ep.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 4 --- 5 $id: http://devicetree.org/schemas/pci/ti,j721e-pci-ep.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Kishon Vijay Abraham I <kishon@ti.com> 14 - $ref: cdns-pcie-ep.yaml# 19 - const: ti,j721e-pcie-ep 20 - description: PCIe EP controller in AM64 22 - const: ti,am64-pcie-ep [all …]
|