| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6qdl-tx6-lcd.dtsi | 86 hsync-active = <0>; 87 vsync-active = <0>; 88 de-active = <1>; 89 pixelclk-active = <0>; 102 hsync-active = <0>; 103 vsync-active = <0>; 104 de-active = <1>; 105 pixelclk-active = <0>; 118 hsync-active = <0>; 119 vsync-active = <0>; [all …]
|
| H A D | imx6qdl-tx6-lvds.dtsi | 104 de-active = <1>; 105 pixelclk-active = <1>; 118 hsync-active = <0>; 119 vsync-active = <0>; 120 de-active = <1>; 121 pixelclk-active = <0>; 134 hsync-active = <0>; 135 vsync-active = <0>; 136 de-active = <1>; 137 pixelclk-active = <1>; [all …]
|
| H A D | imx53-tx53-x13x.dts | 66 enable-active-high; 76 enable-active-high; 160 hsync-active = <0>; 161 vsync-active = <0>; 162 de-active = <1>; 163 pixelclk-active = <1>; 176 hsync-active = <0>; 177 vsync-active = <0>; 178 de-active = <1>; 179 pixelclk-active = <1>; [all …]
|
| /linux/kernel/sched/ |
| H A D | loadavg.c | 159 unsigned long active, unsigned int n) in calc_load_n() argument 161 return calc_load(load, fixed_power_int(exp, FSHIFT, n), active); in calc_load_n() 308 long delta, active, n; in calc_global_nohz() local 318 active = atomic_long_read(&calc_load_tasks); in calc_global_nohz() 319 active = active > 0 ? active * FIXED_1 : 0; in calc_global_nohz() 321 avenrun[0] = calc_load_n(avenrun[0], EXP_1, active, n); in calc_global_nohz() 322 avenrun[1] = calc_load_n(avenrun[1], EXP_5, active, n); in calc_global_nohz() 323 avenrun[2] = calc_load_n(avenrun[2], EXP_15, active, n); in calc_global_nohz() 354 long active, delta; in calc_global_load() local 367 active = atomic_long_read(&calc_load_tasks); in calc_global_load() [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| H 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() 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 …]
|
| H A D | i915_active.c | 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() 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() 79 return (void *)ref->active ?: (void *)ref->retire ?: (void *)ref; in active_debug_hint() 204 __active_fence_slot(struct i915_active_fence *active) in __active_fence_slot() argument 206 return (struct dma_fence ** __force)&active->fence; in __active_fence_slot() 212 struct i915_active_fence *active = in active_fence_cb() local 213 container_of(cb, typeof(*active), cb); in active_fence_cb() 215 return try_cmpxchg(__active_fence_slot(active), &fence, NULL); in active_fence_cb() [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_context.c | 96 __i915_active_acquire(&ce->active); in intel_context_active_acquire() 103 err = i915_active_acquire_preallocate_barrier(&ce->active, in intel_context_active_acquire() 106 i915_active_release(&ce->active); in intel_context_active_acquire() 114 i915_active_acquire_barrier(&ce->active); in intel_context_active_release() 115 i915_active_release(&ce->active); in intel_context_active_release() 127 err = i915_active_acquire(&vma->active); in __context_pin_state() 148 i915_active_release(&vma->active); in __context_unpin_state() 161 err = i915_active_acquire(&ring->vma->active); in __ring_active() 174 i915_active_release(&ring->vma->active); in __ring_retire() 252 err = i915_active_acquire(&ce->active); in __intel_context_do_pin_ww() [all …]
|
| H A D | selftest_engine_heartbeat.c | 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() 66 static void pulse_retire(struct i915_active *active) in pulse_retire() argument 68 pulse_put(container_of(active, struct pulse, active)); in pulse_retire() 80 i915_active_init(&p->active, pulse_active, pulse_retire, 0); in pulse_create() 87 wait_var_event_timeout(&p->active, i915_active_is_idle(&p->active), HZ); in pulse_unlock_wait() 102 err = i915_active_acquire(&p->active); in __live_idle_pulse() 106 err = i915_active_acquire_preallocate_barrier(&p->active, engine); in __live_idle_pulse() [all …]
|
| H A D | intel_engine_stats.h | 21 if (stats->active) { in intel_engine_context_in() 22 stats->active++; in intel_engine_context_in() 31 stats->active++; in intel_engine_context_in() 36 GEM_BUG_ON(!stats->active); in intel_engine_context_in() 44 GEM_BUG_ON(!stats->active); in intel_engine_context_out() 45 if (stats->active > 1) { in intel_engine_context_out() 46 stats->active--; in intel_engine_context_out() 53 stats->active--; in intel_engine_context_out()
|
| H A D | intel_timeline.c | 39 static void __timeline_retire(struct i915_active *active) in __timeline_retire() argument 42 container_of(active, typeof(*tl), active); in __timeline_retire() 48 static int __timeline_active(struct i915_active *active) in __timeline_active() argument 51 container_of(active, typeof(*tl), active); in __timeline_active() 110 i915_active_init(&timeline->active, __timeline_active, in intel_timeline_init() 133 i915_active_fini(&timeline->active); in intel_timeline_fini() 215 i915_active_acquire(&tl->active); in intel_timeline_pin() 217 i915_active_release(&tl->active); in intel_timeline_pin() 350 !i915_active_acquire_if_busy(&tl->active)) in intel_timeline_read_hwsp() 361 i915_active_release(&tl->active); in intel_timeline_read_hwsp() [all …]
|
| /linux/tools/testing/selftests/x86/ |
| H A D | int_signal.c | 100 static const struct test *active; variable 108 uintptr_t start = (uintptr_t)active->run; in handler() 109 uintptr_t end = (uintptr_t)active->end; in handler() 114 active->name, (unsigned long)ip); in handler() 117 step_ok = ip == (uintptr_t)active->step && in handler() 126 active->name, sig, (unsigned long)ip); in handler() 281 active = &tests[i]; in main() 285 expected_flags = active->flags | (tf ? X86_EFLAGS_TF : 0); in main() 287 active->run_tf(); in main() 289 active->run(); in main() [all …]
|
| /linux/tools/testing/selftests/sync/ |
| H 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/tools/testing/selftests/bpf/progs/ |
| H A D | test_ksyms_btf_write_check.c | 13 int *active; in handler1() local 17 active = (int *)bpf_per_cpu_ptr(&bpf_prog_active, cpu); in handler1() 18 if (active) { in handler1() 23 *(volatile int *)active = -1; in handler1() 37 int *active; in handler2() local 39 active = bpf_this_cpu_ptr(&bpf_prog_active); in handler2() 40 write_active(active); in handler2()
|
| H 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()
|
| /linux/arch/arm/kernel/ |
| H 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() 212 if (dma->active == 1) { in disable_dma() [all …]
|
| /linux/drivers/gnss/ |
| H A D | sirf.c | 47 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 …]
|
| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra210-p2180.dtsi | 164 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 165 maxim,active-fps-power-up-slot = <7>; 166 maxim,active-fps-power-down-slot = <0>; 173 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 203 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 214 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 225 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; 238 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 251 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; 262 maxim,active-fps-source = <MAX77620_FPS_SRC_1>; [all …]
|
| H A D | tegra210-p3450-0000.dts | 118 dvfs_pwm_active_state: pinmux-dvfs-pwm-active { 223 maxim,active-fps-source = <MAX77620_FPS_SRC_NONE>; 224 maxim,active-fps-power-up-slot = <0>; 225 maxim,active-fps-power-down-slot = <7>; 232 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 233 maxim,active-fps-power-up-slot = <0>; 234 maxim,active-fps-power-down-slot = <7>; 241 maxim,active-fps-source = <MAX77620_FPS_SRC_0>; 242 maxim,active-fps-power-up-slot = <4>; 243 maxim,active-fps-power-down-slot = <3>; [all …]
|
| /linux/drivers/ata/ |
| H 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/tools/power/cpupower/utils/helpers/ |
| H A D | misc.c | 17 int cpufreq_has_x86_boost_support(unsigned int cpu, int *support, int *active, in cpufreq_has_x86_boost_support() argument 26 *support = *active = *states = 0; in cpufreq_has_x86_boost_support() 39 *active = 1; in cpufreq_has_x86_boost_support() 42 ret = amd_pci_get_num_boost_states(active, states); in cpufreq_has_x86_boost_support() 47 amd_pstate_boost_init(cpu, support, active); in cpufreq_has_x86_boost_support() 49 *support = *active = 1; in cpufreq_has_x86_boost_support() 63 *active = !val; in cpufreq_has_x86_boost_support() 181 int cpufreq_has_generic_boost_support(bool *active) in cpufreq_has_generic_boost_support() argument 202 *active = false; in cpufreq_has_generic_boost_support() 205 *active = true; in cpufreq_has_generic_boost_support()
|
| /linux/drivers/xen/ |
| H A D | pvcalls-front.c | 72 } active; member 151 struct pvcalls_data_intf *intf = map->active.ring; in pvcalls_front_write_todo() 168 struct pvcalls_data_intf *intf = map->active.ring; in pvcalls_front_read_todo() 270 unbind_from_irqhandler(map->active.irq, map); in pvcalls_front_destroy_active() 280 gnttab_end_foreign_access(map->active.ring->ref[i], NULL); in pvcalls_front_destroy_active() 281 gnttab_end_foreign_access(map->active.ref, NULL); in pvcalls_front_destroy_active() 300 wake_up_interruptible(&map->active.inflight_conn_req); in pvcalls_front_conn_handler() 386 if (!map->active.ring) in free_active_ring() 389 free_pages_exact(map->active.data.in, in free_active_ring() 390 PAGE_SIZE << map->active.ring->ring_order); in free_active_ring() [all …]
|
| /linux/arch/arm/boot/dts/samsung/ |
| H A D | exynos5422-odroidhc1.dts | 39 type = "active"; 44 type = "active"; 94 type = "active"; 99 type = "active"; 138 type = "active"; 143 type = "active"; 182 type = "active"; 187 type = "active"; 226 type = "active"; 231 type = "active";
|
| H A D | exynos5422-odroidxu3-common.dtsi | 28 * pin (active high) of the S2MPS11 PMIC, which acts 30 * output on ONOB pin (active low). ONOB PMIC pin is 64 type = "active"; 69 type = "active"; 74 type = "active"; 147 type = "active"; 152 type = "active"; 157 type = "active"; 220 type = "active"; 225 type = "active"; [all …]
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-mdm9615-wp8548-mangoh-green.dts | 123 * - 3: LED_ON (out active high) 126 * - 6: PCM_ANALOG_SELECT (out active high) 130 * - 10: UART_EXP1_ENn (out active low / pull-down) 134 * - 14: SPI_EXP1_ENn (out active low / pull-down) 172 * - 14: GPIOEXP_INT3 (in active low / pull-up) 201 * - 2: GPIO_IOT2_RESET (out active low / pull-up) 202 * - 3: GPIO_IOT1_RESET (out active low / pull-up) 203 * - 4: GPIO_IOT0_RESET (out active low / pull-up) 207 * - 8: UART_EXP2_ENn (out active low / pull-down) 208 * - 9: PCM_EXP1_ENn (out active low) [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | compulab-sb-som.dtsi | 16 enable-active-high; 33 hsync-active = <0>; 34 vsync-active = <0>; 35 de-active = <1>; 36 pixelclk-active = <1>;
|