/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_active.c | 2 * SPDX-License-Identifier: MIT 24 static void __live_get(struct live_active *active) in __live_get() argument 26 kref_get(&active->ref); in __live_get() 29 static void __live_free(struct live_active *active) in __live_free() argument 31 i915_active_fini(&active->base); in __live_free() 32 kfree(active); in __live_free() 37 struct live_active *active = container_of(ref, typeof(*active), ref); in __live_release() local 39 __live_free(active); in __live_release() 42 static void __live_put(struct live_active *active) in __live_put() argument 44 kref_put(&active->ref, __live_release); in __live_put() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_modeset_verify.c | 1 // SPDX-License-Identifier: MIT 29 struct intel_connector *connector = to_intel_connector(conn_state->connector); in intel_connector_verify_state() 30 struct drm_i915_private *i915 = to_i915(connector->base.dev); in intel_connector_verify_state() 32 drm_dbg_kms(&i915->drm, "[CONNECTOR:%d:%s]\n", in intel_connector_verify_state() 33 connector->base.base.id, connector->base.name); in intel_connector_verify_state() 35 if (connector->get_hw_state(connector)) { in intel_connector_verify_state() 44 I915_STATE_WARN(i915, !crtc_state->hw.active, in intel_connector_verify_state() 45 "connector is active, but attached crtc isn't\n"); in intel_connector_verify_state() 47 if (!encoder || encoder->type == INTEL_OUTPUT_DP_MST) in intel_connector_verify_state() 51 conn_state->best_encoder != &encoder->base, in intel_connector_verify_state() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_active.h | 2 * SPDX-License-Identifier: MIT 25 * implicit synchronisation around GEM objects, e.g. set-domain will wait 44 * can then perform any action, such as delayed freeing of an active 51 * __i915_active_fence_init - prepares the activity tracker for use 52 * @active: the active tracker 57 * i915_active_fence_init() prepares the embedded @active struct for use as 58 * an activity tracker, that is for tracking the last known active fence 63 __i915_active_fence_init(struct i915_active_fence *active, in __i915_active_fence_init() argument 67 RCU_INIT_POINTER(active->fence, fence); in __i915_active_fence_init() 68 active->cb.func = fn ?: i915_active_noop; in __i915_active_fence_init() [all …]
|
H A D | i915_active.c | 2 * SPDX-License-Identifier: MIT 18 * Active refs memory management 21 * they idle (when we know the active requests are inactive) and allocate the 36 node_from_active(struct i915_active_fence *active) in node_from_active() argument 38 return container_of(active, struct active_node, base); in node_from_active() 41 #define take_preallocated_barriers(x) llist_del_all(&(x)->preallocated_barriers) 43 static inline bool is_barrier(const struct i915_active_fence *active) in is_barrier() argument 45 return IS_ERR(rcu_access_pointer(active->fence)); in is_barrier() 50 GEM_BUG_ON(!is_barrier(&node->base)); in barrier_to_ll() 51 return (struct llist_node *)&node->base.cb.node; in barrier_to_ll() [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-tx6-lcd.dtsi | 2 * Copyright 2017 Lothar Waßmann <LW@KARO-electronics.de> 4 * This file is dual-licensed: you can use it either under the terms 48 compatible = "pwm-backlight"; 50 pinctrl-names = "default"; 51 pinctrl-0 = <&pinctrl_lcd1_pwr>; 52 enable-gpios = <&gpio2 31 GPIO_ACTIVE_HIGH>; 53 power-supply = <®_3v3>; 54 turn-on-delay-ms = <35>; 59 brightness-levels = < 0 1 2 3 4 5 6 7 8 9 70 default-brightness-level = <50>; [all …]
|
H A D | imx6qdl-tx6-lvds.dtsi | 2 * Copyright 2017 Lothar Waßmann <LW@KARO-electronics.de> 4 * This file is dual-licensed: you can use it either under the terms 50 compatible = "pwm-backlight"; 52 power-supply = <®_lcd0_pwr>; 53 brightness-levels = < 0 1 2 3 4 5 6 7 8 9 64 default-brightness-level = <50>; 68 compatible = "pwm-backlight"; 70 power-supply = <®_lcd1_pwr>; 71 brightness-levels = < 0 1 2 3 4 5 6 7 8 9 82 default-brightness-level = <50>; [all …]
|
H A D | imx53-tx53-x03x.dts | 2 * Copyright 2013-2017 Lothar Waßmann <LW@KARO-electronics.de> 4 * This file is dual-licensed: you can use it either under the terms 42 /dts-v1/; 43 #include "imx53-tx53.dtsi" 44 #include <dt-bindings/input/input.h> 45 #include <dt-bindings/interrupt-controller/irq.h> 46 #include <dt-bindings/pwm/pwm.h> 49 model = "Ka-Ro electronics TX53 module (LCD)"; 57 compatible = "fsl,imx-parallel-display"; 58 interface-pix-fmt = "rgb24"; [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 210.out | 3 {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "file", "filen… 5 {"execute": "job-dismiss", "arguments": {"id": "job0"}} 8 {"execute": "blockdev-add", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.luks", "nod… 10 …"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "luks", "file"… 12 {"execute": "job-dismiss", "arguments": {"id": "job0"}} 15 image: json:{"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_IMG"}, "key-secret": … 23 cipher alg: aes-256 24 uuid: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX 28 active: true 33 active: false [all …]
|
H A D | 198.out | 44 cipher alg: aes-256 45 uuid: 00000000-0000-0000-0000-000000000000 50 active: true 55 active: false 58 active: false 61 active: false 64 active: false 67 active: false 70 active: false 73 active: false [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | active-semi,act8945a-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/active-semi,act8945a-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8945A Charger Function 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 17 const: active-semi,act8945a-charger 22 active-semi,chglev-gpios: 26 active-semi,lbo-gpios: [all …]
|
/openbmc/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynos5433-tmu.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/thermal/thermal.h> 11 thermal-zones { 12 atlas0_thermal: atlas0-thermal { 13 thermal-sensors = <&tmu_atlas0>; 14 polling-delay-passive = <0>; 15 polling-delay = <0>; 17 atlas0_alert_0: atlas0-alert-0 { 20 type = "active"; 22 atlas0_alert_1: atlas0-alert-1 { [all …]
|
/openbmc/u-boot/arch/arm/mach-socfpga/ |
H A D | freeze_controller.c | 1 // SPDX-License-Identifier: GPL-2.0+ 33 writel(SYSMGR_FRZCTRL_SRC_VIO1_ENUM_SW, &freeze_controller_base->src); in sys_mgr_frzctrl_freeze_req() 38 &freeze_controller_base->vioctrl + channel_id); in sys_mgr_frzctrl_freeze_req() 41 * Assert active low enrnsl, plniotri in sys_mgr_frzctrl_freeze_req() 52 * Assert active low bhniotri signal and de-assert in sys_mgr_frzctrl_freeze_req() 53 * active high csrdone in sys_mgr_frzctrl_freeze_req() 66 * Assert active low enrnsl, plniotri and in sys_mgr_frzctrl_freeze_req() 73 clrbits_le32(&freeze_controller_base->hioctrl, reg_cfg_mask); in sys_mgr_frzctrl_freeze_req() 76 * assert active low bhniotri & nfrzdrv signals, in sys_mgr_frzctrl_freeze_req() 77 * de-assert active high csrdone and assert in sys_mgr_frzctrl_freeze_req() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-bcm6358.txt | 5 which can either be controlled by software (exporting the 74x164 as spi-gpio. 10 - compatible : should be "brcm,bcm6358-leds". 11 - #address-cells : must be 1. 12 - #size-cells : must be 0. 13 - reg : BCM6358 LED controller address and size. 16 - brcm,clk-div : SCK signal divider. Possible values are 1, 2, 4 and 8. 18 - brcm,clk-dat-low : Boolean, makes clock and data signals active low. 21 Each LED is represented as a sub-node of the brcm,bcm6358-leds device. 23 LED sub-node required properties: 24 - reg : LED pin number (only LEDs 0 to 31 are valid). [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/leds/ |
H A D | leds-bcm6358.txt | 5 which can either be controlled by software (exporting the 74x164 as spi-gpio. 6 See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or 10 - compatible : should be "brcm,bcm6358-leds". 11 - #address-cells : must be 1. 12 - #size-cells : must be 0. 13 - reg : BCM6358 LED controller address and size. 16 - brcm,clk-div : SCK signal divider. Possible values are 1, 2, 4 and 8. 18 - brcm,clk-dat-low : Boolean, makes clock and data signals active low. 21 Each LED is represented as a sub-node of the brcm,bcm6358-leds device. 23 LED sub-node required properties: [all …]
|
H A D | leds-bcm6328.txt | 7 as spi-gpio. See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or 10 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware 14 - compatible : should be "brcm,bcm6328-leds". 15 - #address-cells : must be 1. 16 - #size-cells : must be 0. 17 - reg : BCM6328 LED controller address and size. 20 - brcm,serial-leds : Boolean, enables Serial LEDs. 22 - brcm,serial-mux : Boolean, enables Serial LEDs multiplexing. 24 - brcm,serial-clk-low : Boolean, makes clock signal active low. 26 - brcm,serial-dat-low : Boolean, makes data signal active low. [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_context.c | 1 // SPDX-License-Identifier: MIT 34 call_rcu(&ce->rcu, rcu_context_free); in intel_context_free() 44 return ERR_PTR(-ENOMEM); in intel_context_create() 55 if (mutex_lock_interruptible(&ce->pin_mutex)) in intel_context_alloc_state() 56 return -EINTR; in intel_context_alloc_state() 58 if (!test_bit(CONTEXT_ALLOC_BIT, &ce->flags)) { in intel_context_alloc_state() 60 err = -EIO; in intel_context_alloc_state() 64 err = ce->ops->alloc(ce); in intel_context_alloc_state() 68 set_bit(CONTEXT_ALLOC_BIT, &ce->flags); in intel_context_alloc_state() 72 mutex_unlock(&ce->pin_mutex); in intel_context_alloc_state() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | tvp7002.txt | 7 - compatible : Must be "ti,tvp7002" 10 - hsync-active: HSYNC Polarity configuration for the bus. Default value when 13 - vsync-active: VSYNC Polarity configuration for the bus. Default value when 16 - pclk-sample: Clock polarity of the bus. Default value when this property is 19 - sync-on-green-active: Active state of Sync-on-green signal property of the 21 0 = Normal Operation (Active Low, Default) 24 - field-even-active: Active-high Field ID output polarity control of the bus. 27 0 = Normal Operation (Active Low, Default) 31 video-interfaces.txt. 44 hsync-active = <1>; [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/regulator/ |
H A D | active-semi,act8945a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/active-semi,act8945a.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8945a regulator 10 - Paul Cercueil <paul@crapouillou.net> 14 const: active-semi,act8945a 19 system-power-controller: 25 active-semi,vsel-high: 42 vp1-supply: [all …]
|
/openbmc/linux/arch/arm/mach-sa1100/include/mach/ |
H A D | h3xxx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 39 /* machine-specific gpios */ 60 …CARD_RESET (H3XXX_EGPIO_BASE + 1) /* reset the attached pcmcia/compactflash card. active high. */ 61 #define H3XXX_EGPIO_OPT_RESET (H3XXX_EGPIO_BASE + 2) /* reset the attached option pack. active hi… 62 #define H3XXX_EGPIO_CODEC_NRESET (H3XXX_EGPIO_BASE + 3) /* reset the onboard UDA1341. active low. … 63 #define H3XXX_EGPIO_OPT_NVRAM_ON (H3XXX_EGPIO_BASE + 4) /* apply power to optionpack nvram, active … 64 #define H3XXX_EGPIO_OPT_ON (H3XXX_EGPIO_BASE + 5) /* full power to option pack. active high. */ 65 #define H3XXX_EGPIO_LCD_ON (H3XXX_EGPIO_BASE + 6) /* enable 3.3V to LCD. active high. */ 66 #define H3XXX_EGPIO_RS232_ON (H3XXX_EGPIO_BASE + 7) /* UART3 transceiver force on. Active high. */ 69 #define H3600_EGPIO_LCD_PCI (H3XXX_EGPIO_BASE + 8) /* LCD control IC enable. active high. */ [all …]
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-spi.h | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 35 #include <asm/octeon/cvmx-gmxx-defs.h> 37 /* CSR typedefs have been moved to cvmx-csr-*.h */ 90 * active) or as a halfplex (either the Tx data path is 91 * active or the Rx data path is active, but not both). 108 * active) or as a halfplex (either the Tx data path is 109 * active or the Rx data path is active, but not both). 117 * Return non-zero if the SPI interface has a SPI4000 attached [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/ |
H A D | allwinner,sun4i-a10-csi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/media/allwinner,sun4i-a10-csi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 13 description: |- 20 - const: allwinner,sun4i-a10-csi1 21 - const: allwinner,sun7i-a20-csi0 22 - items: [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | pci_link.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pci_link.c - ACPI PCI Interrupt Link Device Driver ($Revision: 34 $) 12 * for IRQ management (e.g. start()->_SRS). 52 * If a link is initialized, we never change its active and initialized 53 * later even the link is disable. Instead, we just repick the active irq 56 u32 active; /* Current IRQ */ member 75 static int sci_irq = -1, sci_penalty; 77 /* -------------------------------------------------------------------------- 79 -------------------------------------------------------------------------- */ 88 acpi_handle handle = link->device->handle; in acpi_pci_link_check_possible() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/nvidia/ |
H A D | tegra210-p2180.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/mfd/max77620.h> 17 stdout-path = "serial0:115200n8"; 26 vdd-supply = <&vdd_gpu>; 31 /delete-property/ dmas; 32 /delete-property/ dma-names; 45 vcc-supply = <&vdd_1v8>; 46 address-width = <8>; 49 read-only; 55 clock-frequency = <400000>; [all …]
|
/openbmc/linux/arch/arm/kernel/ |
H A D | dma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1995-2000 Russell King 7 * Front-end to the DMA handling. This handles the allocation/freeing 38 if (!dma->d_ops) in isa_dma_add() 39 return -EINVAL; in isa_dma_add() 41 sg_init_table(&dma->buf, 1); in isa_dma_add() 44 return -EBUSY; in isa_dma_add() 62 if (xchg(&dma->lock, 1) != 0) in request_dma() 65 dma->device_id = device_id; in request_dma() 66 dma->active = 0; in request_dma() [all …]
|