Home
last modified time | relevance | path

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

12345678910>>...43

/linux/drivers/gpu/drm/i915/selftests/
H A 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/drivers/gpu/drm/i915/
H A 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 …]
H A 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/arch/arm64/boot/dts/exynos/
H A 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/Documentation/devicetree/bindings/power/supply/
H A 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/arch/arm/boot/dts/nxp/imx/
H A 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 …]
/linux/kernel/time/
H A Dtimer_migration.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include "tick-internal.h"
34 * GRP0:0 - GRP0:2 GRP0:3 - GRP0:5
37 * CPUS 0-7 8-15 16-23 24-31 32-39 40-47
44 * active in the group. This designated role is necessary to avoid that all
45 * active CPUs in a group try to migrate expired timers from other CPUs,
50 * no CPU is active, it also checks the groups where no migrator is set
65 * When CPU comes out of idle and when a group has at least a single active
69 * time. This spares locking in active path as the lock protects (after
74 * the next active CPU in the group or sets migrator to TMIGR_NONE when
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_context.c1 // SPDX-License-Identifier: MIT
31 fput(ce->default_state); in rcu_context_free()
37 call_rcu(&ce->rcu, rcu_context_free); in intel_context_free()
47 return ERR_PTR(-ENOMEM); in intel_context_create()
59 if (mutex_lock_interruptible(&ce->pin_mutex)) in intel_context_alloc_state()
60 return -EINTR; in intel_context_alloc_state()
62 if (!test_bit(CONTEXT_ALLOC_BIT, &ce->flags)) { in intel_context_alloc_state()
64 err = -EIO; in intel_context_alloc_state()
68 err = ce->ops->alloc(ce); in intel_context_alloc_state()
72 set_bit(CONTEXT_ALLOC_BIT, &ce->flags); in intel_context_alloc_state()
[all …]
H A 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 …]
H A 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 …]
/linux/Documentation/devicetree/bindings/media/i2c/
H A 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/Documentation/devicetree/bindings/leds/
H A 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/Documentation/devicetree/bindings/regulator/
H A 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 …]
/linux/arch/mips/include/asm/octeon/
H A 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/arch/arm/mach-sa1100/include/mach/
H A 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/Documentation/devicetree/bindings/media/
H A 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/arch/arm/kernel/
H A 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/drivers/acpi/
H A 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/arch/arm64/boot/dts/nvidia/
H A 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;
37 /delete-property/ reg-shift;
39 compatible = "nvidia,tegra30-hsuart";
40 reset-names = "serial";
43 compatible = "brcm,bcm43540-bt";
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A 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/Documentation/devicetree/bindings/power/reset/
H A 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 …]
/linux/arch/arm/boot/dts/nxp/mxs/
H A Dimx28-tx28.dts1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Copyright 2013-2017 Lothar Waßmann <LW@KARO-electronics.de>
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
13 model = "Ka-Ro electronics TX28 module";
34 reg = <0x40000000 0>; /* will be filled in by U-Boot */
38 compatible = "w1-gpio";
43 reg_usb0_vbus: regulator-usb0-vbus {
44 compatible = "regulator-fixed";
[all …]
/linux/Documentation/firmware-guide/acpi/
H A Dgpio-properties.rst1 .. SPDX-License-Identifier: GPL-2.0
31 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
34 Package () { "reset-gpios", Package () { ^BTH, 1, 1, 0 } },
35 Package () { "shutdown-gpios", Package () { ^BTH, 0, 0, 0 } },
55 active low or high, the "active_low" argument can be used here. Setting
56 it to 1 marks the GPIO as active low.
61 In our Bluetooth example the "reset-gpios" refers to the second GpioIo()
70 +-------------+-------------+-----------------------------------------------+
74 +-------------+-------------+-----------------------------------------------+
76 +-------------+-------------+-----------------------------------------------+
[all …]
/linux/Documentation/devicetree/bindings/bus/
H A Dnvidia,tegra20-gmi.txt10 - compatible : Should contain one of the following:
11 For Tegra20 must contain "nvidia,tegra20-gmi".
12 For Tegra30 must contain "nvidia,tegra30-gmi".
13 - reg: Should contain GMI controller registers location and length.
14 - clocks: Must contain an entry for each entry in clock-names.
15 - clock-names: Must include the following entries: "gmi"
16 - resets : Must contain an entry for each entry in reset-names.
17 - reset-names : Must include the following entries: "gmi"
18 - #address-cells: The number of cells used to represent physical base
20 - #size-cells: The number of cells used to represent the size of an address
[all …]
/linux/drivers/gnss/
H A Dsirf.c1 // SPDX-License-Identifier: GPL-2.0
47 bool active; member
62 mutex_lock(&data->serdev_mutex); in sirf_serdev_open()
63 if (++data->serdev_count == 1) { in sirf_serdev_open()
64 ret = serdev_device_open(data->serdev); in sirf_serdev_open()
66 data->serdev_count--; in sirf_serdev_open()
70 serdev_device_set_baudrate(data->serdev, data->speed); in sirf_serdev_open()
71 serdev_device_set_flow_control(data->serdev, false); in sirf_serdev_open()
75 mutex_unlock(&data->serdev_mutex); in sirf_serdev_open()
82 mutex_lock(&data->serdev_mutex); in sirf_serdev_close()
[all …]

12345678910>>...43