Home
last modified time | relevance | path

Searched refs:WRITE_ONCE (Results 1 – 25 of 51) sorted by relevance

123

/openbsd/src/sys/dev/pci/drm/i915/gt/
Dselftest_ring_submission.c110 WRITE_ONCE(*result, 0); in mixed_contexts_sync()
121 WRITE_ONCE(*result, 0); in mixed_contexts_sync()
132 WRITE_ONCE(*result, 0); in mixed_contexts_sync()
157 WRITE_ONCE(*result, 0); in double_context_sync_00()
184 WRITE_ONCE(*result, 0); in kernel_context_sync_00()
Dintel_lrc.h126 WRITE_ONCE(stats->active, intel_context_clock()); in lrc_runtime_start()
137 WRITE_ONCE(stats->active, 0); in lrc_runtime_stop()
Dsysfs_engines.c175 WRITE_ONCE(engine->props.max_busywait_duration_ns, duration); in max_spin_store()
226 WRITE_ONCE(engine->props.timeslice_duration_ms, duration); in timeslice_store()
281 WRITE_ONCE(engine->props.stop_timeout_ms, duration); in stop_store()
332 WRITE_ONCE(engine->props.preempt_timeout_ms, timeout); in preempt_timeout_store()
Dintel_execlists_submission.c544 WRITE_ONCE(ce->inflight, ptr_inc(old)); in execlists_schedule_in()
557 WRITE_ONCE(rq->engine, &ve->base); in resubmit_virtual_request()
650 WRITE_ONCE(ce->inflight, NULL); in __execlists_schedule_out()
1448 WRITE_ONCE(ve->request, NULL); in execlists_dequeue()
1449 WRITE_ONCE(ve->base.sched_engine->queue_priority_hint, INT_MIN); in execlists_dequeue()
1456 WRITE_ONCE(rq->engine, engine); in execlists_dequeue()
1612 WRITE_ONCE(execlists->yield, -1); in execlists_dequeue()
1640 WRITE_ONCE(*dst++, *src++); /* avoid write tearing */ in copy_ports()
1659 WRITE_ONCE(execlists->active, execlists->inflight); in cancel_port_requests()
1807 WRITE_ONCE(*csb, -1); in csb_read()
[all …]
Dintel_ggtt_fencing.c230 WRITE_ONCE(fence->dirty, false); in fence_update()
272 WRITE_ONCE(fence->vma, vma); in fence_update()
306 WRITE_ONCE(fence->vma, NULL); in i915_vma_revoke_fence()
Dintel_breadcrumbs.c49 WRITE_ONCE(b->irq_armed, wakeref); in __intel_breadcrumbs_arm_irq()
75 WRITE_ONCE(b->irq_armed, 0); in __intel_breadcrumbs_disarm_irq()
Dintel_gt_buffer_pool.c118 WRITE_ONCE(node->age, jiffies ?: 1); /* 0 reserved for active nodes */ in pool_retire()
Dintel_engine.h148 WRITE_ONCE(engine->status_page.addr[reg], value); in intel_write_status_page()
Dselftest_timeline.c311 WRITE_ONCE(x, prandom_u32_state(&prng)); in bench_sync()
1205 WRITE_ONCE(*(u32 *)tl->hwsp_seqno, tl->seqno); in live_hwsp_rollover_kernel()
1292 WRITE_ONCE(*(u32 *)tl->hwsp_seqno, tl->seqno); in live_hwsp_rollover_user()
/openbsd/src/sys/dev/pci/drm/include/drm/
Dspsc_queue.h74 WRITE_ONCE(*tail, node); in spsc_queue_push()
102 WRITE_ONCE(queue->head, next); in spsc_queue_pop()
/openbsd/src/sys/kern/
Dkern_smr.c154 WRITE_ONCE(smr_grace_period, smrgp); in smr_grace_wait()
245 WRITE_ONCE(spc->spc_smrgp, smrgp); in smr_idle()
/openbsd/src/sys/dev/pci/drm/i915/
Di915_utils.c58 WRITE_ONCE(t->to_time, 0); in cancel_timer()
Di915_mitigations.c96 WRITE_ONCE(mitigations, new); in mitigations_set()
Di915_active.c283 WRITE_ONCE(ref->cache, it); in __active_lookup()
340 WRITE_ONCE(ref->cache, node); in active_instance()
867 WRITE_ONCE(ref->cache, NULL); in reuse_idle_barrier()
Di915_utils.h198 WRITE_ONCE(head->next, first); in __list_del_many()
Di915_request.h633 WRITE_ONCE(rq->hwsp_seqno, /* decouple from HWSP */ in i915_request_mark_complete()
/openbsd/src/sys/dev/pci/drm/include/linux/
Datomic.h44 #define atomic_set(p, v) WRITE_ONCE(*(p), (v))
132 #define atomic64_set(p, v) WRITE_ONCE(*(p), (v))
488 #define smp_store_release(x, v) do { smp_mb(); WRITE_ONCE(*x, v); } while(0)
Diosys-map.h124 WRITE_ONCE(*(_t *)((_ism)->vaddr + (_o)), v); \
/openbsd/src/sys/sys/
Datomic.h285 #define WRITE_ONCE(x, val) ({ \ macro
/openbsd/src/sys/dev/pci/drm/scheduler/
Dsched_entity.c607 WRITE_ONCE(entity->last_user, current->group_leader);
609 WRITE_ONCE(entity->last_user, curproc->p_p);
/openbsd/src/sys/dev/pci/drm/amd/amdgpu/
Damdgpu_ih.c184 WRITE_ONCE(*ih->wptr_cpu, cpu_to_le32(wptr)); in amdgpu_ih_ring_write()
Damdgpu_amdkfd_arcturus.c318 WRITE_ONCE(adev->barrier_has_auto_waitcnt, enable_waitcnt); in set_barrier_auto_waitcnt()
/openbsd/src/sys/dev/pci/drm/amd/amdkfd/
Dkfd_events.c269 WRITE_ONCE(waiter->event, NULL); in destroy_event()
641 WRITE_ONCE(waiter->activated, true); in set_event()
706 WRITE_ONCE(page_slots(p->signal_page)[ev->event_id], UNSIGNALED_EVENT_SLOT); in acknowledge_signal()
/openbsd/src/sys/dev/pci/drm/i915/gt/uc/
Dintel_guc_ct.c512 WRITE_ONCE(desc->tail, tail); in ct_write()
988 WRITE_ONCE(desc->head, head); in ct_read()
1075 WRITE_ONCE(req->status, hxg[0]); in ct_handle_response()
/openbsd/src/sys/dev/pci/drm/i915/display/
Dintel_hotplug.c817 WRITE_ONCE(dev_priv->display.hotplug.poll_enabled, true); in intel_hpd_poll_enable()
855 WRITE_ONCE(dev_priv->display.hotplug.poll_enabled, false); in intel_hpd_poll_disable()

123