/openbmc/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | gpio-restart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/gpio-restart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 17 'open-source' is not found, the GPIO line will be driven in the inactive state. Otherwise its 22 This will also cause an inactive->active edge condition, triggering positive edge triggered 23 reset. After a delay specified by active-delay, the GPIO is set to inactive, thus causing an 24 active->inactive edge, triggering negative edge triggered reset. After a delay specified by 25 inactive-delay, the GPIO is driven active again. After a delay specified by wait-delay, the [all …]
|
H A D | gpio-poweroff.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/gpio-poweroff.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 15 from inactive to active. After a delay (active-delay-ms) it 16 is expected to be switched back to inactive. After another 17 delay (inactive-delay-ms) it is configured as active again. 19 the system is still running after waiting some time (timeout-ms). 23 const: gpio-poweroff [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 293 | 49 EXTRA_IMG_ARGS="-o encrypt.format=luks" 53 # secrets: you are supposed to see the password as *******, see :-) 54 S0="--object secret,id=sec0,data=hunter0" 55 S1="--object secret,id=sec1,data=hunter1" 56 S2="--object secret,id=sec2,data=hunter2" 57 S3="--object secret,id=sec3,data=hunter3" 58 S4="--object secret,id=sec4,data=hunter4" 62 IMGS0="--image-opts driver=$IMGFMT,file.filename=$TEST_IMG,${PR}key-secret=sec0" 63 IMGS1="--image-opts driver=$IMGFMT,file.filename=$TEST_IMG,${PR}key-secret=sec1" 64 IMGS2="--image-opts driver=$IMGFMT,file.filename=$TEST_IMG,${PR}key-secret=sec2" [all …]
|
H A D | 137 | 44 # We are going to use lazy-refcounts 56 -c "reopen -o lazy-refcounts=on,pass-discard-request=on" \ 57 -c "reopen -o lazy-refcounts=off,pass-discard-request=off" \ 58 -c "reopen -o pass-discard-snapshot=on,pass-discard-other=on" \ 59 -c "reopen -o pass-discard-snapshot=off,pass-discard-other=off" \ 60 -c "reopen -o overlap-check=all" \ 61 -c "reopen -o overlap-check=none" \ 62 -c "reopen -o overlap-check=cached" \ 63 -c "reopen -o overlap-check=constant" \ 64 -c "reopen -o overlap-check.template=all" \ [all …]
|
/openbmc/linux/mm/ |
H A D | workingset.c | 1 // SPDX-License-Identifier: GPL-2.0 24 * inactive and the active list. Freshly faulted pages start out at 25 * the head of the inactive list and page reclaim scans pages from the 26 * tail. Pages that are accessed multiple times on the inactive list 28 * whereas active pages are demoted to the inactive list when the 31 * fault ------------------------+ 33 * +--------------+ | +-------------+ 34 * reclaim <- | inactive | <-+-- demotion | active | <--+ 35 * +--------------+ +-------------+ | 37 * +-------------- promotion ------------------+ [all …]
|
H A D | swap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * Linux VM subsystem. Fine-tuning documentation can be found in 11 * Documentation/admin-guide/sysctl/vm.rst. 32 #include <linux/backing-dev.h> 78 * This path almost never happens for VM activity - pages are normally freed 79 * in batches. But it gets used by networking - and for compound pages. 98 free_unref_page(&folio->page, 0); in __folio_put_small() 117 free_zone_device_page(&folio->page); in __folio_put() 126 * put_pages_list() - release a list of pages 127 * @pages: list of pages threaded on page->lru [all …]
|
/openbmc/linux/kernel/bpf/ |
H A D | bpf_lru_list.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #define LOCAL_LIST_IDX(t) ((t) - BPF_LOCAL_LIST_T_OFFSET) 33 return &loc_l->lists[LOCAL_FREE_LIST_IDX]; in local_free_list() 38 return &loc_l->lists[LOCAL_PENDING_LIST_IDX]; in local_pending_list() 44 return READ_ONCE(node->ref); in bpf_lru_node_is_ref() 49 WRITE_ONCE(node->ref, 0); in bpf_lru_node_clear_ref() 56 l->counts[type]++; in bpf_lru_list_count_inc() 63 l->counts[type]--; in bpf_lru_list_count_dec() 71 if (WARN_ON_ONCE(IS_LOCAL_LIST_TYPE(node->type))) in __bpf_lru_node_move_to_free() 77 if (&node->list == l->next_inactive_rotation) in __bpf_lru_node_move_to_free() [all …]
|
/openbmc/openbmc-test-automation/data/ |
H A D | boot_table.json | 7 "operating_system": "^Inactive$", 30 "operating_system": "^Inactive$", 53 "operating_system": "^Inactive$", 68 "method": "Run External IPMI Standard Command power on -N 10 -R 1", 81 "operating_system": "^Inactive$", 101 "operating_system": "^Inactive$", 121 "operating_system": "^Inactive$", 141 "operating_system": "^Inactive$", 161 "operating_system": "^Inactive$", 169 "method": "Run External IPMI Standard Command power off -N 10 -R 1", [all …]
|
/openbmc/linux/drivers/power/reset/ |
H A D | gpio-poweroff.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff() 37 /* drive inactive, also active->inactive edge */ in gpio_poweroff_do_poweroff() 41 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff() 57 dev_err(&pdev->dev, in gpio_poweroff_probe() 60 return -EBUSY; in gpio_poweroff_probe() 63 input = device_property_read_bool(&pdev->dev, "input"); in gpio_poweroff_probe() 69 device_property_read_u32(&pdev->dev, "active-delay-ms", &active_delay); in gpio_poweroff_probe() 70 device_property_read_u32(&pdev->dev, "inactive-delay-ms", in gpio_poweroff_probe() 72 device_property_read_u32(&pdev->dev, "timeout-ms", &timeout); in gpio_poweroff_probe() [all …]
|
H A D | gpio-restart.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Based on the gpio-poweroff driver. 32 /* drive it active, also inactive->active edge */ in gpio_restart_notify() 33 gpiod_direction_output(gpio_restart->reset_gpio, 1); in gpio_restart_notify() 34 mdelay(gpio_restart->active_delay_ms); in gpio_restart_notify() 36 /* drive inactive, also active->inactive edge */ in gpio_restart_notify() 37 gpiod_set_value(gpio_restart->reset_gpio, 0); in gpio_restart_notify() 38 mdelay(gpio_restart->inactive_delay_ms); in gpio_restart_notify() 40 /* drive it active, also inactive->active edge */ in gpio_restart_notify() 41 gpiod_set_value(gpio_restart->reset_gpio, 1); in gpio_restart_notify() [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/OperatingSystem/ |
H A D | Status.interface.yaml | 5 - name: OperatingSystemState 7 default: Inactive 12 - name: OSStatus 16 - name: CBoot 19 - name: PXEBoot 22 - name: DiagBoot 25 - name: CDROMBoot 27 CD-ROM Boot completed. 28 - name: ROMBoot 31 - name: BootComplete [all …]
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | cm.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2007-2009, 2012 Texas Instruments, Inc. 6 * Copyright (C) 2007-2009 Nokia Corporation 15 * PRCM to request that a module exit the inactive state in the case of 18 * module to reach the functionnal state from an inactive state. 25 #include "prcm-common.h" 33 * the PRCM to request that a module enter the inactive state in the 35 * in microseconds for the module to reach the inactive state from 45 * struct cm_ll_data - fn ptrs to per-SoC CM function implementations 46 * @split_idlest_reg: ptr to the SoC CM-specific split_idlest_reg impl [all …]
|
/openbmc/openbmc/meta-fii/meta-mori/recipes-phosphor/dbus/led-policy-mori/ |
H A D | led-config.yaml | 1 - name: OS state path group 5 - meta: PATH 8 - name: Chassis power state path group 12 - meta: PATH 15 - name: OS state property group 20 - interface: xyz.openbmc_project.State.OperatingSystem.Status 24 - name: Chassis power state property group 29 - interface: xyz.openbmc_project.State.Chassis 33 - name: watch OS state 41 - name: watch power state [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | gpio-matrix-keypad.txt | 6 keypad can sense a key-press and key-release by means of GPIO lines and 10 - compatible: Should be "gpio-matrix-keypad" 11 - row-gpios: List of gpios used as row lines. The gpio specifier 14 - col-gpios: List of gpios used as column lines. The gpio specifier 17 - linux,keymap: The definition can be found at 18 bindings/input/matrix-keymap.txt 21 - linux,no-autorepeat: do no enable autorepeat feature. 22 - wakeup-source: use any event on keypad as wakeup event. 24 - debounce-delay-ms: debounce interval in milliseconds 25 - col-scan-delay-us: delay, measured in microseconds, that is needed [all …]
|
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | assert-power-good | 3 # shellcheck source=meta-facebook/meta-harma/recipes-phosphor/state/phosphor-state-manager/power-cmd 4 source /usr/libexec/phosphor-state-manager/power-cmd 7 systemctl start obmc-led-group-stop@power_on.service 9 active=$(systemctl is-active host-graceful-poweroff@0.service) 10 if [ -z "$active" ] || [ "$active" != "inactive" ]; then 14 active=$(systemctl is-active host-force-poweroff@0.service) 15 if [ -z "$active" ] || [ "$active" != "inactive" ]; then 19 active=$(systemctl is-active host-powerreset@0.service) 20 if [ -z "$active" ] || [ "$active" != "inactive" ]; then 25 busctl set-property xyz.openbmc_project.State.Host0 \ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | davinci-mcasp-audio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/davinci-mcasp-audio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jayesh Choudhary <j-choudhary@ti.com> 15 - ti,dm646x-mcasp-audio 16 - ti,da830-mcasp-audio 17 - ti,am33xx-mcasp-audio 18 - ti,dra7-mcasp-audio 19 - ti,omap4-mcasp-audio [all …]
|
/openbmc/smbios-mdr/src/ |
H A D | cpuinfo_utils.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 17 // Include the server headers to get the enum<->string conversion functions 37 static OsState osState = OsState::Inactive; 59 // Setting osState to inactive for the same reason as above. in updateHostState() 60 osState = OsState::Inactive; in updateHostState() 65 // Only "Inactive" indicates that the POST is not done. All the other in updateHostState() 68 else if ((!biosDone) && (osState == OsState::Inactive)) in updateHostState() 124 osState = OsState::Inactive; in updateOsState() 140 * string-like types) and Handler's param type. 144 * @param[in] service D-Bus service name. [all …]
|
/openbmc/linux/Documentation/admin-guide/pm/ |
H A D | strategies.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 The Linux kernel supports two major high-level power management strategies. 15 One of them is based on using global low-power states of the whole system in 17 significantly reduced, referred to as :doc:`sleep states <sleep-states>`. The 23 :doc:`system-wide power management <system-wide>`. 25 The other strategy, referred to as the :doc:`working-state power management 26 <working-state>`, is based on adjusting the power states of individual hardware 32 ``inactive`` (idle). If they are active, they have to be in power states 34 are inactive, ideally, they should be in low-power states in which they may not 39 draw (or maximum energy usage) of it. If all of them are inactive, the system [all …]
|
/openbmc/linux/Documentation/scheduler/ |
H A D | sched-deadline.rst | 12 3. Scheduling Real-Time Tasks 18 4.1 System-wide settings 33 system behavior. As for -rt (group) scheduling, it is assumed that root users 50 ------------------ 70 with the "traditional" real-time task model (see Section 3) can effectively 76 - Each SCHED_DEADLINE task is characterized by the "runtime", 79 - The state of the task is described by a "scheduling deadline", and 82 - When a SCHED_DEADLINE task wakes up (becomes ready for execution), 86 ---------------------------------- > --------- 87 scheduling deadline - current time period [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | dm-ioctl.h | 1 /* SPDX-License-Identifier: LGPL-2.0+ WITH Linux-syscall-note */ 3 * Copyright (C) 2001 - 2003 Sistina Software (UK) Limited. 4 * Copyright (C) 2004 - 2009 Red Hat, Inc. All rights reserved. 25 * through the device, and an 'inactive' one which is a table 39 * Create a new device, neither the 'active' or 'inactive' table 42 * since it will be out-of-bounds. 57 * unsuspended device. If a table is present in the 'inactive' 71 * Load a table into the 'inactive' slot for the device. The 75 * Destroy any table in the 'inactive' slot (ie. abort). 106 * major - no backward or forward compatibility, [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-bitbang-txrx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * simple SPI master driver. Two do polled word-at-a-time I/O: 6 * - GPIO/parport bitbangers. Provide chipselect() and txrx_word[](), 7 * expanding the per-word routines from the inline templates below. 9 * - Drivers for controllers resembling bare shift registers. Provide 15 * - Drivers leveraging smarter hardware, with fifos or DMA; or for half 36 * A non-inlined routine would call bitbang_txrx_*() routines. The 55 u32 oldbit = (!(word & (1<<(bits-1)))) << 31; in bitbang_txrx_be_cpha0() 56 /* clock starts at inactive polarity */ in bitbang_txrx_be_cpha0() 57 for (word <<= (32 - bits); likely(bits); bits--) { in bitbang_txrx_be_cpha0() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_nvm.c | 1 // SPDX-License-Identifier: GPL-2.0 32 return -EINVAL; in ice_aq_read_nvm() 37 cmd->cmd_flags |= ICE_AQC_NVM_FLASH_ONLY; in ice_aq_read_nvm() 41 cmd->cmd_flags |= ICE_AQC_NVM_LAST_CMD; in ice_aq_read_nvm() 42 cmd->module_typeid = cpu_to_le16(module_typeid); in ice_aq_read_nvm() 43 cmd->offset_low = cpu_to_le16(offset & 0xFFFF); in ice_aq_read_nvm() 44 cmd->offset_high = (offset >> 16) & 0xFF; in ice_aq_read_nvm() 45 cmd->length = cpu_to_le16(length); in ice_aq_read_nvm() 51 * ice_read_flat_nvm - Read portion of NVM by flat offset 77 if (read_shadow_ram && ((offset + inlen) > (hw->flash.sr_words * 2u))) { in ice_read_flat_nvm() [all …]
|
/openbmc/linux/net/tipc/ |
H A D | subscr.h | 4 * Copyright (c) 2003-2017, Ericsson AB 5 * Copyright (c) 2005-2007, 2012-2013, Wind River Systems 6 * Copyright (c) 2020-2021, Red Hat Inc 51 * struct tipc_subscription - TIPC network topology subscription object 52 * @s: host-endian copy of the user subscription 60 * @inactive: true if this subscription is inactive 72 bool inactive; member 92 /* tipc_sub_read - return field_ of struct sub_ in host endian format 97 u32 val__ = (sub__)->field_; \ 98 int swap_ = !((sub__)->filter & TIPC_FILTER_MASK); \ [all …]
|
/openbmc/u-boot/drivers/adc/ |
H A D | sandbox.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <sandbox-adc.h> 13 * struct sandbox_adc_priv - sandbox ADC device's operation status and data 15 * @conversion_status - conversion status: ACTIVE (started) / INACTIVE (stopped) 16 * @conversion_mode - conversion mode: single or multi-channel 17 * @active_channel - active channel number, valid for single channel mode 18 * data[] - channels data 31 /* Set single-channel mode */ in sandbox_adc_start_channel() 32 priv->conversion_mode = SANDBOX_ADC_MODE_SINGLE_CHANNEL; in sandbox_adc_start_channel() 34 priv->active_channel_mask = 1 << channel; in sandbox_adc_start_channel() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | idt,versaclock5.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 16 - 5P49V5923: 17 0 -- OUT0_SEL_I2CB 18 1 -- OUT1 19 2 -- OUT2 21 - 5P49V5933: 22 0 -- OUT0_SEL_I2CB 23 1 -- OUT1 [all …]
|