Searched refs:active (Results 26 - 50 of 1168) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_breadcrumbs.h27 atomic_inc(&b->active);
32 if (atomic_dec_and_test(&b->active))
H A Dintel_gt_buffer_pool_types.h23 struct i915_active active; member in struct:intel_gt_buffer_pool_node
H A Dintel_lrc.h123 if (stats->active)
126 WRITE_ONCE(stats->active, intel_context_clock());
133 if (!stats->active)
137 WRITE_ONCE(stats->active, 0);
H A Dintel_breadcrumbs_types.h37 atomic_t active; member in struct:intel_breadcrumbs
H A Dintel_timeline.c38 static void __timeline_retire(struct i915_active *active) argument
41 container_of(active, typeof(*tl), active);
47 static int __timeline_active(struct i915_active *active) argument
50 container_of(active, typeof(*tl), active);
109 i915_active_init(&timeline->active, __timeline_active,
132 i915_active_fini(&timeline->active);
214 i915_active_acquire(&tl->active);
216 i915_active_release(&tl->active);
[all...]
/linux-master/drivers/acpi/
H A Dpci_link.c52 * 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 in struct:acpi_pci_link_irq
222 * Run _CRS and set link->irq.active
235 link->irq.active = 0;
269 link->irq.active = irq;
271 acpi_handle_debug(handle, "Link at IRQ %d \n", link->irq.active);
361 /* Query _CRS, set link->irq.active */
369 * set link->irq.active
371 if (link->irq.active !
825 acpi_penalize_isa_irq(int irq, int active) argument
[all...]
/linux-master/arch/arm/include/asm/mach/
H A Ddma.h31 unsigned int active:1; /* Transfer active */ member in struct:dma_struct
/linux-master/drivers/gpu/vga/
H A Dvga_switcheroo.c81 * active client in vga_switcheroo parlance. The GPU not in use is the
102 * @active: whether the outputs are currently switched to this client
110 * For audio clients, the @fb_info and @active members are bogus. For GPU
119 bool active; member in struct:vga_switcheroo_client
132 * @active: whether vga_switcheroo is enabled.
150 bool active; member in struct:vgasr_priv
182 return !vgasr_priv.active &&
222 vgasr_priv.active = true;
267 if (vgasr_priv.active) {
270 vgasr_priv.active
291 register_client(struct pci_dev *pdev, const struct vga_switcheroo_client_ops *ops, enum vga_switcheroo_client_id id, struct pci_dev *vga_dev, bool active, bool driver_power_control) argument
709 struct vga_switcheroo_client *active; local
726 struct vga_switcheroo_client *active; local
[all...]
/linux-master/arch/arm/kernel/
H A Ddma.c66 dma->active = 0;
99 if (dma->active) {
100 pr_err("dma%d: freeing active DMA\n", chan);
102 dma->active = 0;
125 if (dma->active)
126 pr_err("dma%d: altering DMA SG while DMA active\n", chan);
142 if (dma->active)
143 pr_err("dma%d: altering DMA address while DMA active\n", chan);
159 if (dma->active)
160 pr_err("dma%d: altering DMA count while DMA active\
[all...]
/linux-master/arch/powerpc/include/asm/book3s/64/
H A Dtlbflush-hash.h15 int active; member in struct:ppc64_tlb_batch
41 batch->active = 1;
54 batch->active = 0;
/linux-master/drivers/gpu/drm/i915/
H A Di915_active.c21 * they idle (when we know the active requests are inactive) and allocate the
36 node_from_active(struct i915_active_fence *active) argument
38 return container_of(active, struct active_node, base);
43 static inline bool is_barrier(const struct i915_active_fence *active) argument
45 return IS_ERR(rcu_access_pointer(active->fence));
79 return (void *)ref->active ?: (void *)ref->retire ?: (void *)ref;
204 __active_fence_slot(struct i915_active_fence *active) argument
206 return (struct dma_fence ** __force)&active->fence;
212 struct i915_active_fence *active = local
213 container_of(cb, typeof(*active), c
414 replace_barrier(struct i915_active *ref, struct i915_active_fence *active) argument
431 struct i915_active_fence *active; local
464 __i915_active_set_fence(struct i915_active *ref, struct i915_active_fence *active, struct dma_fence *fence) argument
532 struct i915_active_fence *active; local
554 enable_signaling(struct i915_active_fence *active) argument
627 __await_active(struct i915_active_fence *active, int (*fn)(void *arg, struct dma_fence *fence), void *arg) argument
1028 __i915_active_fence_set(struct i915_active_fence *active, struct dma_fence *fence) argument
1118 i915_active_fence_set(struct i915_active_fence *active, struct i915_request *rq) argument
[all...]
/linux-master/drivers/hwtracing/stm/
H A Dheartbeat.c27 unsigned int active; member in struct:stm_heartbeat
38 if (heartbeat->active)
41 return heartbeat->active ? HRTIMER_RESTART : HRTIMER_NORESTART;
49 heartbeat->active = 1;
61 heartbeat->active = 0;
/linux-master/tools/power/cpupower/utils/helpers/
H A Dhelpers.h126 extern int amd_pci_get_num_boost_states(int *active, int *states);
143 int *active, int * states);
148 int *support, int *active);
190 int *active, int * states)
196 int *active)
189 cpufreq_has_boost_support(unsigned int cpu, int *support, int *active, int * states) argument
195 amd_pstate_boost_init(unsigned int cpu, int *support, int *active) argument
H A Damd.c129 int amd_pci_get_num_boost_states(int *active, int *states) argument
135 *active = *states = 0;
144 *active = 1;
146 *active = 0;
178 void amd_pstate_boost_init(unsigned int cpu, int *support, int *active) argument
193 *active = cpuinfo_max == amd_pstate_max ? 1 : 0;
201 * If boost isn't active, the cpuinfo_max doesn't indicate real max
H A Dmisc.c18 int cpufreq_has_boost_support(unsigned int cpu, int *support, int *active, argument
24 *support = *active = *states = 0;
37 *active = 1;
40 ret = amd_pci_get_num_boost_states(active, states);
45 amd_pstate_boost_init(cpu, support, active);
47 *support = *active = 1;
/linux-master/drivers/gnss/
H A Dsirf.c47 bool active; member in struct:sirf_data
170 if (!data->wakeup && !data->active) {
171 data->active = true;
199 data->active = ret;
206 bool active,
215 data->active = false;
217 data->active, msecs_to_jiffies(SIRF_REPORT_CYCLE));
221 if (ret > 0 && !active)
224 if (ret == 0 && active)
230 static int sirf_wait_for_power_state(struct sirf_data *data, bool active, argument
205 sirf_wait_for_power_state_nowakeup(struct sirf_data *data, bool active, unsigned long timeout) argument
259 sirf_set_active(struct sirf_data *data, bool active) argument
[all...]
/linux-master/drivers/ata/
H A Dlibata-pata-timings.c67 q->active = EZ(t->active, T);
86 m->active = max(a->active, b->active);
169 * Lengthen active & recovery time so that cycle time is correct.
177 if (t->active + t->recover < t->cycle) {
178 t->active += (t->cycle - (t->active + t->recover)) / 2;
179 t->recover = t->cycle - t->active;
[all...]
/linux-master/include/linux/
H A Dcontext_tracking_state.h30 * When active is false, probes are unset in order
35 bool active; member in struct:context_tracking
113 return context_tracking_enabled() && per_cpu(context_tracking.active, cpu);
118 return context_tracking_enabled() && __this_cpu_read(context_tracking.active);
/linux-master/arch/s390/appldata/
H A Dappldata.h32 int active; /* monitoring status */ member in struct:appldata_ops
/linux-master/drivers/media/dvb-frontends/
H A Dsi2168_priv.h37 unsigned int active:1; member in struct:si2168_dev
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-syscfg-configfs.h18 bool active; member in struct:cscfg_fs_config
/linux-master/drivers/staging/media/atomisp/pci/runtime/isys/src/
H A Dcsi_rx_rmgr.c140 if (bitop_getbit(pipe_io_status->active[port], isys_stream_id) == 0) {
141 bitop_setbit(pipe_io_status->active[port], isys_stream_id);
160 if (bitop_getbit(pipe_io_status->active[port], isys_stream_id) == 1) {
161 bitop_clearbit(pipe_io_status->active[port], isys_stream_id);
/linux-master/drivers/gpu/drm/xe/
H A Dxe_execlist_types.h23 struct list_head active[XE_EXEC_QUEUE_PRIORITY_COUNT]; member in struct:xe_execlist_port
/linux-master/drivers/media/pci/cx88/
H A Dcx88-vbi.c103 if (list_empty(&q->active))
106 buf = list_entry(q->active.next, struct cx88_buffer, list);
179 if (list_empty(&q->active)) {
180 list_add_tail(&buf->list, &q->active);
181 dprintk(2, "[%p/%d] vbi_queue - first active\n",
186 prev = list_entry(q->active.prev, struct cx88_buffer, list);
187 list_add_tail(&buf->list, &q->active);
189 dprintk(2, "[%p/%d] buffer_queue - append to active\n",
198 struct cx88_buffer *buf = list_entry(dmaq->active.next,
216 while (!list_empty(&dmaq->active)) {
[all...]
/linux-master/fs/afs/
H A Dserver.c63 * Look up a server by its UUID and mark it active.
192 * Allocate a new server record and mark it active.
213 atomic_set(&server->active, 1);
352 a = atomic_read(&server->active);
369 a = atomic_inc_return(&server->active);
375 * Get an active count on a server object.
383 a = atomic_inc_return(&server->active);
402 a = atomic_read(&server->active);
410 * Drop an active count on a server object without updating the last-unused
417 unsigned int active local
479 int active; local
547 int active = atomic_read(&server->active); local
[all...]

Completed in 563 milliseconds

1234567891011>>