Home
last modified time | relevance | path

Searched refs:active (Results 1 – 25 of 2369) sorted by relevance

12345678910>>...95

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_active.c23 static void __live_get(struct live_active *active) in __live_get() argument
25 kref_get(&active->ref); in __live_get()
28 static void __live_free(struct live_active *active) in __live_free() argument
30 i915_active_fini(&active->base); in __live_free()
31 kfree(active); in __live_free()
36 struct live_active *active = container_of(ref, typeof(*active), ref); in __live_release() local
38 __live_free(active); in __live_release()
41 static void __live_put(struct live_active *active) in __live_put() argument
43 kref_put(&active->ref, __live_release); in __live_put()
48 struct live_active *active = container_of(base, typeof(*active), base); in __live_active() local
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/exynos/
Dexynos5433-tmu.dtsi20 type = "active";
25 type = "active";
30 type = "active";
35 type = "active";
40 type = "active";
45 type = "active";
50 type = "active";
108 type = "active";
113 type = "active";
118 type = "active";
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx6qdl-tx6-lcd.dtsi123 hsync-active = <0>;
124 vsync-active = <0>;
125 de-active = <1>;
126 pixelclk-active = <0>;
140 hsync-active = <0>;
141 vsync-active = <0>;
142 de-active = <1>;
143 pixelclk-active = <0>;
157 hsync-active = <0>;
158 vsync-active = <0>;
[all …]
Dimx6qdl-tx6-lvds.dtsi141 de-active = <1>;
142 pixelclk-active = <1>;
155 hsync-active = <0>;
156 vsync-active = <0>;
157 de-active = <1>;
158 pixelclk-active = <0>;
172 hsync-active = <0>;
173 vsync-active = <0>;
174 de-active = <1>;
175 pixelclk-active = <1>;
[all …]
Dimx53-tx53-x03x.dts80 hsync-active = <0>;
81 vsync-active = <0>;
82 de-active = <1>;
83 pixelclk-active = <0>;
96 hsync-active = <0>;
97 vsync-active = <0>;
98 de-active = <1>;
99 pixelclk-active = <0>;
112 hsync-active = <0>;
113 vsync-active = <0>;
[all …]
/kernel/linux/linux-5.10/kernel/sched/
Dloadavg.c158 unsigned long active, unsigned int n) in calc_load_n() argument
160 return calc_load(load, fixed_power_int(exp, FSHIFT, n), active); in calc_load_n()
307 long delta, active, n; in calc_global_nohz() local
317 active = atomic_long_read(&calc_load_tasks); in calc_global_nohz()
318 active = active > 0 ? active * FIXED_1 : 0; in calc_global_nohz()
320 avenrun[0] = calc_load_n(avenrun[0], EXP_1, active, n); in calc_global_nohz()
321 avenrun[1] = calc_load_n(avenrun[1], EXP_5, active, n); in calc_global_nohz()
322 avenrun[2] = calc_load_n(avenrun[2], EXP_15, active, n); in calc_global_nohz()
353 long active, delta; in calc_global_load() local
366 active = atomic_long_read(&calc_load_tasks); in calc_global_load()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/
Dleds-bcm6358.txt18 - brcm,clk-dat-low : Boolean, makes clock and data signals active low.
28 - active-low : Boolean, makes LED active low.
45 active-low;
50 active-low;
55 active-low;
60 active-low;
76 active-low;
81 active-low;
91 active-low;
100 active-low;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dact8945a-charger.txt4 - compatible: "active-semi,act8945a-charger".
5 - active-semi,chglev-gpios: charge current level phandle with args
7 - active-semi,lbo-gpios: specify the low battery voltage detect phandle
14 - active-semi,input-voltage-threshold-microvolt: unit: mV;
17 - active-semi,precondition-timeout: unit: minutes;
21 - active-semi,total-timeout: unit: hours;
28 compatible = "active-semi,act8945a";
32 compatible = "active-semi,act8945a-charger";
38 active-semi,chglev-gpios = <&pioA 12 GPIO_ACTIVE_HIGH>;
39 active-semi,lbo-gpios = <&pioA 72 GPIO_ACTIVE_LOW>;
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_active.h63 __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()
75 __i915_active_fence_set(struct i915_active_fence *active,
88 i915_active_fence_set(struct i915_active_fence *active,
101 i915_active_fence_get(struct i915_active_fence *active) in i915_active_fence_get() argument
106 fence = dma_fence_get_rcu_safe(&active->fence); in i915_active_fence_get()
121 i915_active_fence_isset(const struct i915_active_fence *active) in i915_active_fence_isset() argument
123 return rcu_access_pointer(active->fence); in i915_active_fence_isset()
153 int (*active)(struct i915_active *ref),
[all …]
Di915_active.c40 node_from_active(struct i915_active_fence *active) in node_from_active() argument
42 return container_of(active, struct active_node, base); in node_from_active()
47 static inline bool is_barrier(const struct i915_active_fence *active) in is_barrier() argument
49 return IS_ERR(rcu_access_pointer(active->fence)); in is_barrier()
83 return (void *)ref->active ?: (void *)ref->retire ?: (void *)ref; in active_debug_hint()
210 __active_fence_slot(struct i915_active_fence *active) in __active_fence_slot() argument
212 return (struct dma_fence ** __force)&active->fence; in __active_fence_slot()
218 struct i915_active_fence *active = in active_fence_cb() local
219 container_of(cb, typeof(*active), cb); in active_fence_cb()
221 return cmpxchg(__active_fence_slot(active), fence, NULL) == fence; in active_fence_cb()
[all …]
Di915_globals.c20 static atomic_t active; variable
52 if (!atomic_read(&active)) { in __i915_globals_queue_rcu()
128 if (!atomic_dec_and_test(&active)) in i915_globals_park()
139 atomic_inc(&active); in i915_globals_unpark()
144 atomic_inc(&active); /* skip shrinking */ in __i915_globals_flush()
149 atomic_dec(&active); in __i915_globals_flush()
154 GEM_BUG_ON(atomic_read(&active)); in i915_globals_exit()
/kernel/linux/linux-5.10/tools/testing/selftests/sync/
Dsync_wait.c36 int valid, active, signaled, ret; in test_fence_multi_timeline_wait() local
53 active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE); in test_fence_multi_timeline_wait()
54 ASSERT(active == 3, "Fence signaled too early!\n"); in test_fence_multi_timeline_wait()
61 active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE); in test_fence_multi_timeline_wait()
63 ASSERT(active == 2 && signaled == 1, in test_fence_multi_timeline_wait()
67 active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE); in test_fence_multi_timeline_wait()
69 ASSERT(active == 1 && signaled == 2, in test_fence_multi_timeline_wait()
73 active = sync_fence_count_with_status(merged, FENCE_STATUS_ACTIVE); in test_fence_multi_timeline_wait()
75 ASSERT(active == 0 && signaled == 3, in test_fence_multi_timeline_wait()
/kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/
Dtegra210-p3450-0000.dts202 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
203 maxim,active-fps-power-up-slot = <0>;
204 maxim,active-fps-power-down-slot = <7>;
211 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
212 maxim,active-fps-power-up-slot = <0>;
213 maxim,active-fps-power-down-slot = <7>;
220 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
221 maxim,active-fps-power-up-slot = <4>;
222 maxim,active-fps-power-down-slot = <3>;
275 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
[all …]
Dtegra210-p2180.dtsi63 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
64 maxim,active-fps-power-up-slot = <7>;
65 maxim,active-fps-power-down-slot = <0>;
72 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
118 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
129 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
140 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
153 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
166 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>;
177 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_context.c82 __i915_active_acquire(&ce->active); in intel_context_active_acquire()
88 err = i915_active_acquire_preallocate_barrier(&ce->active, in intel_context_active_acquire()
91 i915_active_release(&ce->active); in intel_context_active_acquire()
99 i915_active_acquire_barrier(&ce->active); in intel_context_active_release()
100 i915_active_release(&ce->active); in intel_context_active_release()
112 err = i915_active_acquire(&vma->active); in __context_pin_state()
133 i915_active_release(&vma->active); in __context_unpin_state()
146 err = i915_active_acquire(&ring->vma->active); in __ring_active()
159 i915_active_release(&ring->vma->active); in __ring_retire()
233 err = i915_active_acquire(&ce->active); in __intel_context_do_pin_ww()
[all …]
Dselftest_engine_heartbeat.c38 struct i915_active active; member
42 static int pulse_active(struct i915_active *active) in pulse_active() argument
44 kref_get(&container_of(active, struct pulse, active)->kref); in pulse_active()
52 i915_active_fini(&p->active); in pulse_free()
61 static void pulse_retire(struct i915_active *active) in pulse_retire() argument
63 pulse_put(container_of(active, struct pulse, active)); in pulse_retire()
75 i915_active_init(&p->active, pulse_active, pulse_retire); in pulse_create()
82 i915_active_unlock_wait(&p->active); in pulse_unlock_wait()
97 err = i915_active_acquire(&p->active); in __live_idle_pulse()
101 err = i915_active_acquire_preallocate_barrier(&p->active, engine); in __live_idle_pulse()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dpci_link.c56 u32 active; /* Current IRQ */ member
235 link->irq.active = 0; in acpi_pci_link_get_current()
269 link->irq.active = irq; in acpi_pci_link_get_current()
271 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Link at IRQ %d \n", link->irq.active)); in acpi_pci_link_get_current()
373 if (link->irq.active != irq) { in acpi_pci_link_set()
381 acpi_device_bid(link->device), link->irq.active, irq); in acpi_pci_link_set()
382 link->irq.active = irq; in acpi_pci_link_set()
385 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Set IRQ %d\n", link->irq.active)); in acpi_pci_link_set()
466 if (link->irq.active && link->irq.active == irq) in acpi_irq_pci_sharing_penalty()
520 } else if (link->irq.active && in acpi_irq_penalty_init()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/vga/
Dvga_switcheroo.c119 bool active; member
150 bool active; member
182 return !vgasr_priv.active && in vga_switcheroo_ready()
222 vgasr_priv.active = true; in vga_switcheroo_enable()
267 if (vgasr_priv.active) { in vga_switcheroo_unregister_handler()
270 vgasr_priv.active = false; in vga_switcheroo_unregister_handler()
295 bool active, in register_client() argument
308 client->active = active; in register_client()
376 if (vgasr_priv.active) { in vga_switcheroo_register_audio_client()
422 if (client->active) in find_active_client()
[all …]
/kernel/linux/linux-5.10/arch/arm/kernel/
Ddma.c66 dma->active = 0; in request_dma()
99 if (dma->active) { in free_dma()
102 dma->active = 0; in free_dma()
125 if (dma->active) in set_dma_sg()
142 if (dma->active) in __set_dma_addr()
159 if (dma->active) in set_dma_count()
174 if (dma->active) in set_dma_mode()
191 if (dma->active == 0) { in enable_dma()
192 dma->active = 1; in enable_dma()
212 if (dma->active == 1) { in disable_dma()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dact8945a.txt4 - compatible: "active-semi,act8945a".
13 compatible = "active-semi,act8945a";
16 active-semi,vsel-high;
70 compatible = "active-semi,act8945a-charger";
76 active-semi,chglev-gpios = <&pioA 12 GPIO_ACTIVE_HIGH>;
77 active-semi,lbo-gpios = <&pioA 72 GPIO_ACTIVE_LOW>;
78 active-semi,input-voltage-threshold-microvolt = <6600>;
79 active-semi,precondition-timeout = <40>;
80 active-semi,total-timeout = <3>;
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_ksyms_btf.c26 int *active; in handler() local
38 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in handler()
39 if (active) in handler()
40 out__bpf_prog_active = *active; in handler()
49 active = (int *)bpf_this_cpu_ptr(&bpf_prog_active); in handler()
50 out__this_bpf_prog_active = *active; in handler()
/kernel/linux/linux-5.10/drivers/gnss/
Dsirf.c47 bool active; member
170 if (!data->wakeup && !data->active) { in sirf_receive_buf()
171 data->active = true; in sirf_receive_buf()
199 data->active = ret; in sirf_wakeup_handler()
206 bool active, in sirf_wait_for_power_state_nowakeup() argument
215 data->active = false; in sirf_wait_for_power_state_nowakeup()
217 data->active, msecs_to_jiffies(SIRF_REPORT_CYCLE)); in sirf_wait_for_power_state_nowakeup()
221 if (ret > 0 && !active) in sirf_wait_for_power_state_nowakeup()
224 if (ret == 0 && active) in sirf_wait_for_power_state_nowakeup()
230 static int sirf_wait_for_power_state(struct sirf_data *data, bool active, in sirf_wait_for_power_state() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ldu.c44 struct list_head active; member
58 struct list_head active; member
63 list_del_init(&ldu->active); in vmw_ldu_destroy()
91 list_for_each_entry(entry, &lds->active, active) { in vmw_ldu_commit_list()
106 if (!list_empty(&lds->active)) { in vmw_ldu_commit_list()
107 entry = list_entry(lds->active.next, typeof(*entry), active); in vmw_ldu_commit_list()
119 list_for_each_entry(entry, &lds->active, active) { in vmw_ldu_commit_list()
144 if (list_empty(&ldu->active)) in vmw_ldu_del_active()
148 list_del_init(&ldu->active); in vmw_ldu_del_active()
177 if (!list_empty(&ldu->active)) in vmw_ldu_add_active()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/i2c/
Dtvp7002.txt10 - hsync-active: HSYNC Polarity configuration for the bus. Default value when
13 - vsync-active: VSYNC Polarity configuration for the bus. Default value when
19 - sync-on-green-active: Active state of Sync-on-green signal property of the
24 - field-even-active: Active-high Field ID output polarity control of the bus.
44 hsync-active = <1>;
45 vsync-active = <1>;
47 sync-on-green-active = <1>;
48 field-even-active = <0>;
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-pata-timings.c67 q->active = EZ(t->active, T); in ata_timing_quantize()
86 m->active = max(a->active, b->active); in ata_timing_merge()
177 if (t->active + t->recover < t->cycle) { in ata_timing_compute()
178 t->active += (t->cycle - (t->active + t->recover)) / 2; in ata_timing_compute()
179 t->recover = t->cycle - t->active; in ata_timing_compute()
187 if (t->active + t->recover > t->cycle) in ata_timing_compute()
188 t->cycle = t->active + t->recover; in ata_timing_compute()

12345678910>>...95