/linux/drivers/gpu/drm/i915/selftests/ |
A D | i915_active.c | 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() 50 __live_get(active); in __live_active() 66 active = kzalloc(sizeof(*active), GFP_KERNEL); in __live_alloc() 67 if (!active) in __live_alloc() 73 return active; in __live_alloc() 86 if (!active) in __live_active_setup() 91 kfree(active); in __live_active_setup() 141 return active; in __live_active_setup() [all …]
|
/linux/arch/arm64/boot/dts/exynos/ |
A D | exynos5433-tmu.dtsi | 20 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 …]
|
/linux/arch/arm/boot/dts/ |
A D | imx6qdl-tx6-lcd.dtsi | 123 hsync-active = <0>; 124 vsync-active = <0>; 125 de-active = <1>; 140 hsync-active = <0>; 142 de-active = <1>; 159 de-active = <1>; 176 de-active = <1>; 192 de-active = <1>; 209 de-active = <1>; 225 de-active = <1>; [all …]
|
A D | imx6qdl-tx6-lvds.dtsi | 141 de-active = <1>; 155 hsync-active = <0>; 156 vsync-active = <0>; 157 de-active = <1>; 172 hsync-active = <0>; 174 de-active = <1>; 191 de-active = <1>; 208 de-active = <1>; 237 de-active = <1>; 253 de-active = <1>; [all …]
|
A D | imx53-tx53-x03x.dts | 80 hsync-active = <0>; 81 vsync-active = <0>; 82 de-active = <1>; 98 de-active = <1>; 114 de-active = <1>; 130 de-active = <1>; 146 de-active = <1>; 162 de-active = <1>; 178 de-active = <1>; 210 enable-active-high; [all …]
|
/linux/kernel/sched/ |
A D | loadavg.c | 158 unsigned long active, unsigned int n) in calc_load_n() argument 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() 353 long active, delta; in calc_global_load() local 366 active = atomic_long_read(&calc_load_tasks); in calc_global_load() 367 active = active > 0 ? active * FIXED_1 : 0; in calc_global_load() 369 avenrun[0] = calc_load(avenrun[0], EXP_1, active); in calc_global_load() 370 avenrun[1] = calc_load(avenrun[1], EXP_5, active); in calc_global_load() [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
A D | active-semi,act8945a-charger.yaml | 17 const: active-semi,act8945a-charger 22 active-semi,chglev-gpios: 26 active-semi,lbo-gpios: 30 active-semi,input-voltage-threshold-microvolt: 37 active-semi,precondition-timeout: 45 active-semi,total-timeout: 56 - active-semi,chglev-gpios 57 - active-semi,lbo-gpios 67 compatible = "active-semi,act8945a-charger"; 73 active-semi,precondition-timeout = <40>; [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
A D | leds-bcm6358.txt | 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; 105 active-low; [all …]
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_active.h | 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() 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() 123 return rcu_access_pointer(active->fence); in i915_active_fence_isset() 153 int (*active)(struct i915_active *ref), 236 struct i915_active *active) in __i915_request_await_exclusive() argument [all …]
|
A D | i915_active.c | 213 struct i915_active_fence *active = in active_fence_cb() local 349 ref->active = active; in __i915_active_init() 431 struct i915_active_fence *active; in i915_active_ref() local 439 active = active_instance(ref, idx); in i915_active_ref() 440 if (!active) { in i915_active_ref() 445 if (replace_barrier(ref, active)) { in i915_active_ref() 531 if (!ref->active) { in i915_active_acquire() 541 err = ref->active(ref); in i915_active_acquire() 553 struct i915_active_fence *active; in i915_active_acquire_for_context() local 561 if (!active) { in i915_active_acquire_for_context() [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_context.c | 80 __i915_active_acquire(&ce->active); in intel_context_active_acquire() 89 i915_active_release(&ce->active); in intel_context_active_acquire() 98 i915_active_release(&ce->active); in intel_context_active_release() 131 i915_active_release(&vma->active); in __context_unpin_state() 280 i915_active_release(&ce->active); in __intel_context_do_pin_ww() 335 struct intel_context *ce = container_of(active, typeof(*ce), active); in __intel_context_retire() 348 struct intel_context *ce = container_of(active, typeof(*ce), active); in __intel_context_active() 417 i915_active_init(&ce->active, in intel_context_init() 435 i915_active_fini(&ce->active); in intel_context_fini() 552 active = rq; in intel_context_find_active_request() [all …]
|
A D | intel_engine_stats.h | 20 if (engine->stats.active) { in intel_engine_context_in() 21 engine->stats.active++; in intel_engine_context_in() 30 engine->stats.active++; in intel_engine_context_in() 35 GEM_BUG_ON(!engine->stats.active); in intel_engine_context_in() 42 GEM_BUG_ON(!engine->stats.active); in intel_engine_context_out() 43 if (engine->stats.active > 1) { in intel_engine_context_out() 44 engine->stats.active--; in intel_engine_context_out() 51 engine->stats.active--; in intel_engine_context_out()
|
A D | selftest_engine_heartbeat.c | 43 struct i915_active active; member 49 kref_get(&container_of(active, struct pulse, active)->kref); in pulse_active() 57 i915_active_fini(&p->active); in pulse_free() 68 pulse_put(container_of(active, struct pulse, active)); in pulse_retire() 87 i915_active_unlock_wait(&p->active); in pulse_unlock_wait() 102 err = i915_active_acquire(&p->active); in __live_idle_pulse() 108 i915_active_release(&p->active); in __live_idle_pulse() 112 i915_active_acquire_barrier(&p->active); in __live_idle_pulse() 113 i915_active_release(&p->active); in __live_idle_pulse() 138 if (!i915_active_is_idle(&p->active)) { in __live_idle_pulse() [all …]
|
/linux/drivers/acpi/ |
A D | pci_link.c | 235 link->irq.active = 0; in acpi_pci_link_get_current() 269 link->irq.active = irq; in acpi_pci_link_get_current() 378 link->irq.active = irq; in acpi_pci_link_set() 462 if (link->irq.active && link->irq.active == irq) in acpi_irq_pci_sharing_penalty() 554 link->irq.active); in acpi_pci_link_allocate() 555 link->irq.active = 0; in acpi_pci_link_allocate() 561 if (link->irq.active) in acpi_pci_link_allocate() 562 irq = link->irq.active; in acpi_pci_link_allocate() 594 link->irq.active); in acpi_pci_link_allocate() 637 if (!link->irq.active) { in acpi_pci_link_allocate_irq() [all …]
|
/linux/drivers/gpu/vga/ |
A D | vga_switcheroo.c | 119 bool active; member 150 bool active; member 267 if (vgasr_priv.active) { in vga_switcheroo_unregister_handler() 295 bool active, in register_client() argument 308 client->active = active; in register_client() 422 if (client->active) in find_active_client() 712 if (!active) in vga_switchto_stage1() 729 if (!active) in vga_switchto_stage2() 732 active->active = false; in vga_switchto_stage2() 751 vga_switchoff(active); in vga_switchto_stage2() [all …]
|
/linux/tools/testing/selftests/sync/ |
A D | sync_wait.c | 36 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()
|
/linux/arch/arm64/boot/dts/nvidia/ |
A D | tegra210-p2180.dtsi | 63 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>; 237 maxim,active-fps-power-up-slot = <7>; 238 maxim,active-fps-power-down-slot = <0>; 292 nvidia,core-power-req-active-high; [all …]
|
/linux/arch/arm/kernel/ |
A D | dma.c | 66 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() 213 dma->active = 0; in disable_dma() [all …]
|
/linux/drivers/gnss/ |
A D | sirf.c | 47 bool active; member 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() 221 if (ret > 0 && !active) in sirf_wait_for_power_state_nowakeup() 239 data->active == active, msecs_to_jiffies(timeout)); in sirf_wait_for_power_state() 245 active); in sirf_wait_for_power_state() 265 if (active) in sirf_set_active() 467 data->active = ret; in sirf_probe() [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
A D | act8945a.txt | 4 - 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>;
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_ldu.c | 44 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() 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() 147 list_del_init(&ldu->active); in vmw_ldu_del_active() 179 at = &ld->active; in vmw_ldu_add_active() 180 list_for_each_entry(entry, &ld->active, active) { in vmw_ldu_add_active() 184 at = &entry->active; in vmw_ldu_add_active() [all …]
|
/linux/drivers/ata/ |
A D | libata-pata-timings.c | 67 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()
|
/linux/drivers/xen/ |
A D | pvcalls-front.c | 71 } active; member 337 if (!map->active.ring) in free_active_ring() 341 map->active.ring->ring_order); in free_active_ring() 351 if (!map->active.ring) in alloc_active_ring() 360 map->active.data.in = bytes; in alloc_active_ring() 361 map->active.data.out = bytes + in alloc_active_ring() 379 bytes = map->active.data.in; in create_active() 399 map->active.irq = irq; in create_active() 401 mutex_init(&map->active.in_mutex); in create_active() 638 mutex_lock(&map->active.in_mutex); in pvcalls_front_recvmsg() [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
A D | tvp7002.txt | 10 - 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>;
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_ksyms_btf.c | 26 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()
|