/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | st,sta32x.txt | 7 - compatible: "st,sta32x" 8 - reg: the I2C address of the device for I2C 9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be 12 - power-down-gpios: a GPIO spec for the power down pin. If specified, 16 - Vdda-supply: regulator spec, providing 3.3V 17 - Vdd3-supply: regulator spec, providing 3.3V 18 - Vcc-supply: regulator spec, providing 5V - 26V 22 - clocks, clock-names: Clock specifier for XTI input clock. 24 and disabled when it is removed. The 'clock-names' must be set to 'xti'. 26 - st,output-conf: number, Selects the output configuration: [all …]
|
H A D | st,sta350.txt | 7 - compatible: "st,sta350" 8 - reg: the I2C address of the device for I2C 9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be 12 - power-down-gpios: a GPIO spec for the power down pin. If specified, 16 - vdd-dig-supply: regulator spec, providing 3.3V 17 - vdd-pll-supply: regulator spec, providing 3.3V 18 - vcc-supply: regulator spec, providing 5V - 26V 22 - st,output-conf: number, Selects the output configuration: 23 0: 2-channel (full-bridge) power, 2-channel data-out 24 1: 2 (half-bridge). 1 (full-bridge) on-board power [all …]
|
/openbmc/linux/drivers/remoteproc/ |
H A D | remoteproc_sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 return sysfs_emit(buf, "%s", rproc->recovery_disabled ? "disabled\n" : "enabled\n"); in recovery_show() 22 * By writing to the 'recovery' sysfs entry, we control the behavior of the 23 * recovery mechanism dynamically. The default value of this entry is "enabled". 25 * The 'recovery' sysfs entry supports these commands: 29 * processor crashes while recovery is disabled, it will 30 * be automatically recovered too as soon as recovery is enabled. 36 * recover: This function will trigger an immediate recovery if the 38 * or checking the recovery state (enabled/disabled). 40 * additional crashes to happen after enabling recovery. In this [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | reboot-mode.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/reboot-mode.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic reboot mode core map 10 - Andy Yan <andy.yan@rock-chips.com> 13 This driver get reboot mode arguments and call the write 18 All mode properties are vendor specific, it is a indication to tell 20 as mode-xxx = <magic> (xxx is mode name, magic should be a non-zero value). 23 - normal: Normal reboot mode, system reboot with command "reboot". [all …]
|
/openbmc/linux/fs/gfs2/ |
H A D | lock_dlm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 4 * Copyright 2004-2011 Red Hat, Inc. 20 #include "recovery.h" 26 * gfs2_update_stats - Update time based stats 52 s64 delta = sample - s->stats[index]; in gfs2_update_stats() 53 s->stats[index] += (delta >> 3); in gfs2_update_stats() 55 s->stats[index] += (s64)(abs(delta) - s->stats[index]) >> 2; in gfs2_update_stats() 59 * gfs2_update_reply_times - Update locking statistics 62 * This assumes that gl->gl_dstamp has been set earlier. [all …]
|
/openbmc/bmcweb/redfish-core/include/registries/ |
H A D | openbmc_message_registry.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 6 * This is an auto-generated header which contains definitions 18 // clang-format off 35 …"https://raw.githubusercontent.com/openbmc/bmcweb/refs/heads/master/redfish-core/include/registrie… 57 "Indicates At-Scale Debug connection has been established", 58 "At-Scale Debug service is now connected %1", 69 "Indicates At-Scale Debug connection aborted/failed", 70 "At-Scale Debug connection aborted/failed", 79 "Indicates At-Scale Debug connection has ended", [all …]
|
H A D | openbmc.json | 18 "Description": "Indicates At-Scale Debug connection has been established", 19 "Message": "At-Scale Debug service is now connected %1", 27 "Description": "Indicates At-Scale Debug connection aborted/failed", 28 "Message": "At-Scale Debug connection aborted/failed", 35 "Description": "Indicates At-Scale Debug connection has ended", 36 "Message": "At-Scale Debug service is now disconnected", 43 "Description": "Indicates that At-Scale Debug service is stopped.", 44 "Message": "At-Scale Debug service is stopped.", 51 "Description": "Indicates that At-Scale Debug disable is detected in hardware.", 52 "Message": "At-Scale Debug Feature is disabled in hardware.", [all …]
|
/openbmc/linux/fs/ocfs2/dlm/ |
H A D | dlmlock.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 57 return -ENOMEM; in dlm_init_lock_cache() 68 * caller needs: res->spinlock 78 list_for_each_entry(tmplock, &res->granted, list) { in dlm_can_grant_new_lock() 79 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock() 83 list_for_each_entry(tmplock, &res->converting, list) { in dlm_can_grant_new_lock() 84 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock() 86 if (!dlm_lock_compatible(tmplock->ml.convert_type, in dlm_can_grant_new_lock() 87 lock->ml.type)) in dlm_can_grant_new_lock() 97 * taken: takes and drops res->spinlock [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_training_dpia.c | 44 link->ctx->logger 69 DPIA_TS_UFP_DONE = 0xff /* Done training DPTX-to-DPIA hop. */ 75 uint8_t mode : 1; member 92 /* Configure link as prescribed in link_setting; set LTTPR mode; and 98 * @param[out] lt_settings Link settings and drive settings (voltage swing and pre-emphasis). 109 DC_LOG_HW_LINK_TRAINING("%s\n DPIA(%d) configuring\n - LTTPR mode(%d)\n", in dpia_configure_link() 111 link->link_id.enum_id - ENUM_ID_1, in dpia_configure_link() 112 lt_settings->lttpr_mode); in dpia_configure_link() 119 dp_get_lttpr_mode_override(link, <_settings->lttpr_mode); in dpia_configure_link() 122 if (status != DC_OK && link->is_hpd_pending) in dpia_configure_link() [all …]
|
/openbmc/linux/Documentation/mm/ |
H A D | hwpoison.rst | 9 (``MCA recovery``). This requires the OS to declare a page "poisoned", 41 The code consists of a the high level handler in mm/memory-failure.c, 46 of applications. KVM support requires a recent qemu-kvm release. 54 Failure recovery modes 57 There are two (actually three) modes memory failure recovery can be in: 60 All memory failures cause a panic. Do not attempt recovery. 67 This is the mode used by KVM qemu. 81 Enable early kill mode globally 84 Set early/late kill mode/revert to system default 89 arg2 defines thread specific mode [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 5 bond-arp-interval-causes-panic.sh \ 6 bond-break-lacpdu-tx.sh \ 7 bond-lladdr-target.sh \ 9 mode-1-recovery-updelay.sh \ 10 mode-2-recovery-updelay.sh \ 12 bond-eth-type-change.sh \
|
/openbmc/openbmc/meta-ampere/meta-jefferson/recipes-ampere/platform/ampere-platform-init/ |
H A D | ampere_platform_init.sh | 8 ADT7462=/sys/bus/i2c/drivers/adt7462/8-005c 9 if [ -d "$ADT7462" ]; then 11 echo 8-005c > /sys/bus/i2c/drivers/adt7462/unbind 16 i2cset -f -y 0x08 0x5c 0x2c 0xff 18 # Set High frequency mode 0x04, register configuration 0x02 19 val=$(i2cget -f -y 0x08 0x5c 0x02) 21 i2cset -f -y 0x08 0x5c 0x02 $val 24 i2cset -f -y 0x08 0x5c 0x07 0xff 26 # Set PWM Manual mode 27 for i in $(seq 0 $((4 - 1))) [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 15 mlx5_core_err(mdev, "Legacy RQ linear mode for XSK can't be activated with current params\n"); in mlx5e_legacy_rq_validate_xsk() 16 return -EINVAL; in mlx5e_legacy_rq_validate_xsk() 32 * and xsk->chunk_size is limited to 65535 bytes. in mlx5e_validate_xsk_param() 34 if ((size_t)xsk->chunk_size > PAGE_SIZE || xsk->chunk_size < MLX5E_MIN_XSK_CHUNK_SIZE) { in mlx5e_validate_xsk_param() 35 mlx5_core_err(mdev, "XSK chunk size %u out of bounds [%u, %lu]\n", xsk->chunk_size, in mlx5e_validate_xsk_param() 41 * SKB mode is possible. in mlx5e_validate_xsk_param() 43 switch (params->rq_wq_type) { in mlx5e_validate_xsk_param() 57 mlx5e_build_rq_param(mdev, params, xsk, q_counter, &cparam->rq); in mlx5e_build_xsk_cparam() 58 mlx5e_build_xdpsq_param(mdev, params, xsk, &cparam->xdp_sq); in mlx5e_build_xsk_cparam() [all …]
|
/openbmc/linux/include/linux/ |
H A D | dlm.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 6 ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. 23 * recover_prep: called before the dlm begins lock recovery. 27 * recover_done: called after the dlm completes lock recovery. 48 * is not used. When set, dlm_new_lockspace() returns -EBADR if cluster 57 * dlm_new_lockspace() should return -EEXIST if the lockspace exists. 63 * ops: callbacks that indicate lockspace recovery points so the 64 * caller can coordinate its recovery and know lockspace members. 71 * be used or not. 0: will be used, -EXXX will not be used. [all …]
|
H A D | i2c.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * i2c.h - definitions for the Linux i2c bus interface 4 * Copyright (C) 1995-2000 Simon G. Vogl 5 * Copyright (C) 2013-2019 Wolfram Sang <wsa@kernel.org> 30 /* --- General options ------------------------------------------------ */ 56 /* Return the Frequency mode string based on the bus frequency */ 70 * i2c_master_recv - issue a single I2C message in master receive mode 84 * i2c_master_recv_dmasafe - issue a single I2C message in master receive mode 100 * i2c_master_send - issue a single I2C message in master transmit mode 114 * i2c_master_send_dmasafe - issue a single I2C message in master transmit mode [all …]
|
/openbmc/linux/arch/arm64/boot/dts/marvell/ |
H A D | armada-3720-uDPU.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include "armada-3720-uDPU.dtsi" 11 sfp_eth0: sfp-eth0 { 13 i2c-bus = <&i2c0>; 14 los-gpios = <&gpiosb 2 GPIO_ACTIVE_HIGH>; 15 mod-def0-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>; 16 tx-disable-gpios = <&gpiosb 4 GPIO_ACTIVE_HIGH>; 17 tx-fault-gpios = <&gpiosb 5 GPIO_ACTIVE_HIGH>; 18 maximum-power-milliwatt = <3000>; [all …]
|
/openbmc/linux/fs/dlm/ |
H A D | dlm_internal.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 6 ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. 61 printk(KERN_ERR "dlm: %s: " fmt "\n", (ls)->ls_name , ##args) 67 (ls)->ls_name, ##args); \ 70 (ls)->ls_name , ##args); \ 77 (ls)->ls_name , ##args); \ 84 (ls)->ls_name , ##args); \ 127 * Save and manage recovery state for a lockspace. 145 void (*bastfn) (void *astparam, int mode); [all …]
|
/openbmc/openbmc/meta-ibm/meta-sbp1/recipes-phosphor/flash/phosphor-software-manager/ |
H A D | bios-update.sh | 3 set -e 5 IMAGE_FILE=$(find "$1" -name "*.FD") 12 # me address, 0x2e oen, 0x00 - lun, 0xdf - force recovery 14 # me address, 0x6 App Fn, 0x00 - lun, 0x2 - cold reset 16 # me address, 0x6 App Fn, 0x00 - lun, 0x1 - get device id 22 … get-property xyz.openbmc_project.State.Chassis /xyz/openbmc_project/state/chassis0 xyz.openbmc_pr… 32 …busctl set-property xyz.openbmc_project.State.Chassis /xyz/openbmc_project/state/chassis0 xyz.open… 50 …busctl set-property xyz.openbmc_project.State.Chassis /xyz/openbmc_project/state/chassis0 xyz.open… 71 …if ! busctl call --timeout=1 "$IPMB_OBJ" "$IPMB_PATH" "$IPMB_INTF" sendRequest yyyyay $ME_GET_DEVI… 78 …if ! busctl call --timeout=1 "$IPMB_OBJ" "$IPMB_PATH" "$IPMB_INTF" sendRequest yyyyay $ME_GET_DEVI… [all …]
|
/openbmc/docs/designs/ |
H A D | bmc-service-failure-debug-and-recovery.md | 1 # BMC Service Failure Debug and Recovery 16 - A class of failure exists where a BMC service has entered a failed state but 17 the BMC is still operational in a degraded mode. 18 - A class of failure exists under which we can attempt debug data collection 21 This proposal argues for and proposes a software-driven debug data capture and 22 recovery of a failed BMC. 26 By necessity, BMCs are not self-contained systems. BMCs exist to service the 27 needs of both the host system by providing in-band platform services such as 29 out-of-band system management interfaces such as error reporting, platform 35 are usually a domain-specific Linux distributions with complex or highly coupled [all …]
|
/openbmc/linux/drivers/ata/ |
H A D | pata_cs5520.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * PIO mode and smarter silicon. 11 * drive for the right PIO mode. We must also ignore all the blacklists 40 int recovery; member 52 * cs5520_set_timings - program PIO timings 57 * Program the PIO mode timings for the controller according to the pio 63 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5520_set_timings() 64 int slave = adev->devno; in cs5520_set_timings() 66 pio -= XFER_PIO_0; in cs5520_set_timings() 69 pci_write_config_byte(pdev, 0x62 + ap->port_no, in cs5520_set_timings() [all …]
|
H A D | pata_artop.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pata_artop.c - ARTOP ATA controller driver 9 * Copyright (C) 1999-2002 Andre Hedrick <andre@linux-ide.org> 11 * driver by Thibaut VARENE <varenet@parisc-linux.org> 43 * artop62x0_pre_reset - probe begin 57 struct ata_port *ap = link->ap; in artop62x0_pre_reset() 58 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop62x0_pre_reset() 61 if ((pdev->device & 1) && in artop62x0_pre_reset() 62 !pci_test_config_bits(pdev, &artop_enable_bits[ap->port_no])) in artop62x0_pre_reset() 63 return -ENOENT; in artop62x0_pre_reset() [all …]
|
/openbmc/openbmc/meta-ibm/meta-system1/recipes-phosphor/flash/phosphor-software-manager/ |
H A D | bios-update.sh | 3 set -e 8 # Find the GPIO pin associated with "pch-ready" 10 PCH_READY_GPIO_PIN=$(gpiofind "pch-ready") 12 if [ -z "${PCH_READY_GPIO_PIN}" ]; then 13 echo "gpio 'pch-ready' not found in device tree. Exiting." 17 read -r PCH_READY_GPIO_CHIP PCH_READY_GPIO_LINE <<< "$PCH_READY_GPIO_PIN" 25 IMAGE_FILE=$(find "$1" -name "*.rom") 31 # me address, 0x2e oen, 0x00 - lun, 0xdf - force recovery 33 # me address, 0x6 App Fn, 0x00 - lun, 0x2 - cold reset 35 # me address, 0x6 App Fn, 0x00 - lun, 0x1 - get device id [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-name: 18 regulator-min-microvolt: 21 regulator-max-microvolt: 24 regulator-microvolt-offset: 28 regulator-min-microamp: [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-raid.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2010-2011 Neil Brown 4 * Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. 16 #include "md-bitmap.h" 18 #include <linux/device-mapper.h> 21 #define MAX_RAID_DEVICES 253 /* md-raid kernel limit */ 36 * The following flags are used by dm-raid to set up the array state. 45 * ti->len and give more flexibility in altering size and 51 * |--------- Physical Device ---------| 52 * |- meta_dev -|------ data_dev ------| [all …]
|
/openbmc/u-boot/include/ |
H A D | ddr_spd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright 2008-2014 Freescale Semiconductor, Inc. 10 * Format from "JEDEC Standard No. 21-C, 34 unsigned char write_lat; /* 20 Write Latency (aka Write Recovery) */ 37 unsigned char clk_cycle2; /* 23 Min SDRAM Cycle time @ CL=X-0.5 */ 39 Clk @ CL=X-0.5 (tAC) */ 40 unsigned char clk_cycle3; /* 25 Min SDRAM Cycle time @ CL=X-1 */ 41 unsigned char clk_access3; /* 26 Max Access from Clk @ CL=X-1 (tAC) */ 51 unsigned char res_36_40[5];/* 36-40 reserved for VCSDRAM */ 59 unsigned char res_48_61[14]; /* 48-61 Reserved */ [all …]
|