Home
last modified time | relevance | path

Searched +full:active +full:- (Results 1 – 25 of 1109) sorted by relevance

12345678910>>...45

/linux-6.8/drivers/gpu/drm/i915/selftests/
Di915_active.c2 * 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 …]
/linux-6.8/drivers/gpu/drm/i915/
Di915_active.h2 * 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 …]
Di915_active.c2 * 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 …]
/linux-6.8/drivers/gpu/drm/i915/display/
Dintel_modeset_verify.c1 // 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 …]
/linux-6.8/arch/arm/boot/dts/nxp/imx/
Dimx6qdl-tx6-lcd.dtsi2 * 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 = <&reg_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 …]
Dimx6qdl-tx6-lvds.dtsi2 * 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 = <&reg_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 = <&reg_lcd1_pwr>;
71 brightness-levels = < 0 1 2 3 4 5 6 7 8 9
82 default-brightness-level = <50>;
[all …]
Dimx53-tx53-x03x.dts2 * 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 …]
/linux-6.8/arch/arm64/boot/dts/exynos/
Dexynos5433-tmu.dtsi1 // 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 …]
/linux-6.8/Documentation/devicetree/bindings/power/supply/
Dactive-semi,act8945a-charger.yaml1 # 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 …]
/linux-6.8/Documentation/devicetree/bindings/leds/
Dleds-bcm6358.txt5 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 …]
/linux-6.8/Documentation/devicetree/bindings/media/i2c/
Dtvp7002.txt7 - 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 …]
/linux-6.8/drivers/gpu/drm/i915/gt/
Dintel_context.c1 // SPDX-License-Identifier: MIT
35 call_rcu(&ce->rcu, rcu_context_free); in intel_context_free()
45 return ERR_PTR(-ENOMEM); in intel_context_create()
57 if (mutex_lock_interruptible(&ce->pin_mutex)) in intel_context_alloc_state()
58 return -EINTR; in intel_context_alloc_state()
60 if (!test_bit(CONTEXT_ALLOC_BIT, &ce->flags)) { in intel_context_alloc_state()
62 err = -EIO; in intel_context_alloc_state()
66 err = ce->ops->alloc(ce); in intel_context_alloc_state()
70 set_bit(CONTEXT_ALLOC_BIT, &ce->flags); in intel_context_alloc_state()
73 ctx = rcu_dereference(ce->gem_context); in intel_context_alloc_state()
[all …]
Dintel_engine_stats.h1 /* SPDX-License-Identifier: MIT */
18 struct intel_engine_execlists_stats *stats = &engine->stats.execlists; in intel_engine_context_in()
21 if (stats->active) { in intel_engine_context_in()
22 stats->active++; in intel_engine_context_in()
28 write_seqcount_begin(&stats->lock); in intel_engine_context_in()
30 stats->start = ktime_get(); in intel_engine_context_in()
31 stats->active++; in intel_engine_context_in()
33 write_seqcount_end(&stats->lock); in intel_engine_context_in()
36 GEM_BUG_ON(!stats->active); in intel_engine_context_in()
41 struct intel_engine_execlists_stats *stats = &engine->stats.execlists; in intel_engine_context_out()
[all …]
Dselftest_engine_heartbeat.c1 // SPDX-License-Identifier: MIT
17 engine->defaults.heartbeat_interval_ms); in reset_heartbeat()
25 fence = i915_active_fence_get(&tl->last_request); in timeline_sync()
39 return timeline_sync(engine->kernel_context->timeline); in engine_sync_barrier()
43 struct i915_active active; member
47 static int pulse_active(struct i915_active *active) in pulse_active() argument
49 kref_get(&container_of(active, struct pulse, active)->kref); in pulse_active()
57 i915_active_fini(&p->active); in pulse_free()
63 kref_put(&p->kref, pulse_free); in pulse_put()
66 static void pulse_retire(struct i915_active *active) in pulse_retire() argument
[all …]
/linux-6.8/Documentation/devicetree/bindings/regulator/
Dactive-semi,act8945a.yaml1 # 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 …]
Dtps65132-regulator.txt4 - compatible: "ti,tps65132"
5 - reg: I2C slave address
9 device node describe the properties of these regulators. The sub-node
11 -For regulator outp, the sub node name should be "outp".
12 -For regulator outn, the sub node name should be "outn".
14 -enable-gpios:(active high, output) Regulators are controlled by the input pins.
17 -active-discharge-gpios: (active high, output) Some configurations use delay mechanisms
20 the delay mechanism. Requires specification of ti,active-discharge-time-us
21 -ti,active-discharge-time-us: how long the active discharge gpio should be
22 asserted for during active discharge, in microseconds.
[all …]
/linux-6.8/arch/arm/mach-sa1100/include/mach/
Dh3xxx.h1 /* 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 …]
/linux-6.8/arch/mips/include/asm/octeon/
Dcvmx-spi.h7 * 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 …]
/linux-6.8/Documentation/devicetree/bindings/media/
Dallwinner,sun4i-a10-csi.yaml1 # 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 …]
/linux-6.8/drivers/acpi/
Dpci_link.c1 // 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 …]
/linux-6.8/arch/arm64/boot/dts/nvidia/
Dtegra210-p2180.dtsi1 // 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 …]
/linux-6.8/arch/arm/kernel/
Ddma.c1 // 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 …]
/linux-6.8/Documentation/devicetree/bindings/mfd/
Dact8945a.txt1 Device-Tree bindings for Active-semi ACT8945A MFD driver
4 - compatible: "active-semi,act8945a".
5 - reg: the I2C slave address for the ACT8945A chip
8 - a regulators: see ../regulator/act8945a-regulator.txt
9 - a charger: see ../power/act8945a-charger.txt
13 compatible = "active-semi,act8945a";
16 active-semi,vsel-high;
20 regulator-name = "VDD_1V35";
21 regulator-min-microvolt = <1350000>;
22 regulator-max-microvolt = <1350000>;
[all …]
/linux-6.8/include/linux/
Dcc_platform.h1 /* SPDX-License-Identifier: GPL-2.0-only */
17 * enum cc_attr - Confidential computing attributes
20 * currently active.
24 * @CC_ATTR_MEM_ENCRYPT: Memory encryption is active
26 * The platform/OS is running with active memory encryption. This
27 * includes running either as a bare-metal system or a hypervisor
31 * Examples include SME, SEV and SEV-ES.
36 * @CC_ATTR_HOST_MEM_ENCRYPT: Host memory encryption is active
38 * The platform/OS is running as a bare-metal system or a hypervisor
46 * @CC_ATTR_GUEST_MEM_ENCRYPT: Guest memory encryption is active
[all …]
/linux-6.8/Documentation/devicetree/bindings/power/reset/
Dgpio-restart.yaml1 # 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
21 is configured as an output, and driven active, triggering a level triggered reset condition.
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
[all …]

12345678910>>...45