Home
last modified time | relevance | path

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

12

/openbsd/sys/dev/pci/drm/i915/gt/
H A 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()
H A Dintel_lrc.h126 WRITE_ONCE(stats->active, intel_context_clock()); in lrc_runtime_start()
137 WRITE_ONCE(stats->active, 0); in lrc_runtime_stop()
H A 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()
H A 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()
1456 WRITE_ONCE(rq->engine, engine); in execlists_dequeue()
1612 WRITE_ONCE(execlists->yield, -1); in execlists_dequeue()
1659 WRITE_ONCE(execlists->active, execlists->inflight); in cancel_port_requests()
1807 WRITE_ONCE(*csb, -1); in csb_read()
1949 WRITE_ONCE(execlists->pending[0], NULL); in process_csb()
2513 WRITE_ONCE(engine->execlists.yield, in execlists_irq_handler()
[all …]
H A Dintel_ggtt_fencing.c230 WRITE_ONCE(fence->dirty, false); in fence_update()
272 WRITE_ONCE(fence->vma, vma); in fence_update()
305 WRITE_ONCE(fence->vma, NULL); in i915_vma_revoke_fence()
H A Dintel_breadcrumbs.c46 WRITE_ONCE(b->irq_armed, true); in __intel_breadcrumbs_arm_irq()
70 WRITE_ONCE(b->irq_armed, false); in __intel_breadcrumbs_disarm_irq()
H A Dintel_gt_buffer_pool.c118 WRITE_ONCE(node->age, jiffies ?: 1); /* 0 reserved for active nodes */ in pool_retire()
H A Dintel_engine.h148 WRITE_ONCE(engine->status_page.addr[reg], value); in intel_write_status_page()
H A 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/sys/dev/pci/drm/include/drm/
H A Dspsc_queue.h74 WRITE_ONCE(*tail, node); in spsc_queue_push()
102 WRITE_ONCE(queue->head, next); in spsc_queue_pop()
/openbsd/sys/kern/
H A Dkern_smr.c154 WRITE_ONCE(smr_grace_period, smrgp); in smr_grace_wait()
245 WRITE_ONCE(spc->spc_smrgp, smrgp); in smr_idle()
/openbsd/sys/dev/pci/drm/include/linux/
H A 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)
H A Diosys-map.h124 WRITE_ONCE(*(_t *)((_ism)->vaddr + (_o)), v); \
/openbsd/sys/dev/pci/drm/i915/
H A Di915_utils.c106 WRITE_ONCE(t->to_time, 0); in cancel_timer()
H A Di915_mitigations.c96 WRITE_ONCE(mitigations, new); in mitigations_set()
H A 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()
H A Di915_request.h633 WRITE_ONCE(rq->hwsp_seqno, /* decouple from HWSP */ in i915_request_mark_complete()
H A Di915_utils.h216 WRITE_ONCE(head->next, first); in __list_del_many()
/openbsd/sys/sys/
H A Datomic.h285 #define WRITE_ONCE(x, val) ({ \ macro
/openbsd/sys/dev/pci/drm/scheduler/
H A Dsched_entity.c583 WRITE_ONCE(entity->last_user, current->group_leader);
585 WRITE_ONCE(entity->last_user, curproc->p_p);
/openbsd/sys/dev/pci/drm/amd/amdkfd/
H A Dkfd_events.c268 WRITE_ONCE(waiter->event, NULL); in destroy_event()
640 WRITE_ONCE(waiter->activated, true); in set_event()
705 WRITE_ONCE(page_slots(p->signal_page)[ev->event_id], UNSIGNALED_EVENT_SLOT); in acknowledge_signal()
H A Dkfd_smi_events.c136 WRITE_ONCE(client->events, events); in kfd_smi_ev_write()
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_ih.c184 WRITE_ONCE(*ih->wptr_cpu, cpu_to_le32(wptr)); in amdgpu_ih_ring_write()
H A Damdgpu_amdkfd_arcturus.c319 WRITE_ONCE(adev->barrier_has_auto_waitcnt, enable_waitcnt); in set_barrier_auto_waitcnt()
/openbsd/sys/dev/pci/drm/i915/display/
H A Dintel_hotplug.c698 WRITE_ONCE(dev_priv->display.hotplug.poll_enabled, true); in intel_hpd_poll_enable()
734 WRITE_ONCE(dev_priv->display.hotplug.poll_enabled, false); in intel_hpd_poll_disable()

12