| /netbsd-src/sys/external/bsd/drm2/dist/include/drm/ |
| H A D | spsc_queue.h | 98 node = READ_ONCE(queue->head); in spsc_queue_pop() 103 next = READ_ONCE(node->next); in spsc_queue_pop() 114 } while (unlikely(!(queue->head = READ_ONCE(node->next)))); in spsc_queue_pop()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
| H A D | selftest_engine_heartbeat.c | 130 GEM_BUG_ON(READ_ONCE(engine->serial) != engine->wakeref_serial); in __live_idle_pulse() 221 while (READ_ONCE(engine->heartbeat.systole)) in __live_heartbeat_fast() 234 rq = READ_ONCE(engine->heartbeat.systole); in __live_heartbeat_fast() 241 while (rq == READ_ONCE(engine->heartbeat.systole)) in __live_heartbeat_fast() 321 if (READ_ONCE(engine->heartbeat.systole)) { in __live_heartbeat_off()
|
| H A D | intel_engine_heartbeat.c | 32 delay = READ_ONCE(engine->props.heartbeat_interval_ms); in next_heartbeat() 46 engine->wakeref_serial = READ_ONCE(engine->serial) + 1; in idle_pulse()
|
| H A D | intel_lrc.c | 443 next = READ_ONCE(ve->request); in need_preempt() 1093 if (READ_ONCE(engine->stats.enabled) == 0) in intel_engine_context_in() 1111 if (READ_ONCE(engine->stats.enabled) == 0) in intel_engine_context_out() 1290 old = READ_ONCE(ce->inflight); in execlists_schedule_in() 1305 struct i915_request *next = READ_ONCE(ve->request); in kick_siblings() 1358 old = READ_ONCE(ce->inflight); in execlists_schedule_out() 1668 struct i915_request * const *last = READ_ONCE(execlists->active); in last_active() 1765 return READ_ONCE(engine->props.timeslice_duration_ms); in timeslice() 1807 return READ_ONCE(engine->props.preempt_timeout_ms); in active_preempt_timeout() 1858 struct i915_request *rq = READ_ONCE(ve->request); in execlists_dequeue() [all …]
|
| H A D | intel_engine.h | 112 return *READ_ONCE(execlists->active); in execlists_active() 153 return READ_ONCE(engine->status_page.addr[reg]); in intel_read_status_page()
|
| H A D | intel_engine_cs.c | 876 return READ_ONCE(engine->props.stop_timeout_ms); in stop_timeout() 1138 if (!READ_ONCE(gt->awake)) in intel_engines_are_idle() 1275 if (!READ_ONCE(t->expires)) in repr_timer() 1359 write = READ_ONCE(*execlists->csb_write); in intel_engine_print_registers() 1508 rq = READ_ONCE(engine->heartbeat.systole); in intel_engine_dump()
|
| H A D | selftest_rc6.c | 191 engine->name, READ_ONCE(*res)); in live_rc6_ctx_wa()
|
| H A D | intel_gt_requests.c | 99 first = READ_ONCE(engine->retire); in add_retire()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
| H A D | i915_active.c | 128 if (READ_ONCE(active->retired) && count) { in __live_active_setup() 162 if (!READ_ONCE(active->retired)) { in live_active_wait() 195 if (!READ_ONCE(active->retired)) { in live_active_retire()
|
| H A D | i915_sw_fence.c | 553 if (READ_ONCE(ipc.value)) { in test_ipc() 561 if (!READ_ONCE(ipc.value)) { in test_ipc()
|
| H A D | igt_spinner.c | 206 return READ_ONCE(*seqno); in hws_seqno()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/ |
| H A D | i915_scheduler.c | 243 while (locked != (engine = READ_ONCE(rq->engine))) { in sched_lock_engine() 320 if (prio <= READ_ONCE(node->attr.priority)) in __i915_schedule() 366 if (prio > READ_ONCE(p->signaler->attr.priority)) in __i915_schedule() 454 if (READ_ONCE(rq->sched.attr.priority) & bump) in i915_schedule_bump_priority()
|
| H A D | i915_utils.c | 109 if (!READ_ONCE(t->expires)) in cancel_timer()
|
| H A D | intel_wakeref.h | 216 return READ_ONCE(wf->wakeref); in intel_wakeref_is_active()
|
| H A D | i915_request.h | 404 return READ_ONCE(*rq->hwsp_seqno); in __hwsp_seqno()
|
| /netbsd-src/sys/external/bsd/ena-com/ |
| H A D | ena_eth_com.c | 49 desc_phase = (READ_ONCE(cdesc->status) & ENA_ETH_IO_RX_CDESC_BASE_PHASE_MASK) >> in ena_com_get_next_rx_cdesc() 248 last = (READ_ONCE(cdesc->status) & ENA_ETH_IO_RX_CDESC_BASE_LAST_MASK) >> in ena_com_cdesc_rx_pkt_get() 610 cdesc_phase = READ_ONCE(cdesc->flags) & ENA_ETH_IO_TX_CDESC_PHASE_MASK; in ena_com_tx_comp_req_id_get() 621 *req_id = READ_ONCE(cdesc->req_id); in ena_com_tx_comp_req_id_get()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/ |
| H A D | drm_vblank.c | 462 WARN_ON(READ_ONCE(vblank->enabled) && in drm_vblank_cleanup() 1352 WARN_ON(!READ_ONCE(vblank->inmodeset)); in drm_crtc_set_max_vblank_count() 1590 if (!READ_ONCE(vblank->enabled)) { in drm_queue_vblank_event() 1734 READ_ONCE(vblank->enabled)) { in drm_wait_vblank_ioctl() 1783 !READ_ONCE(vblank->enabled))); in drm_wait_vblank_ioctl() 1964 vblank_enabled = dev->vblank_disable_immediate && READ_ONCE(vblank->enabled); in drm_crtc_get_sequence_ioctl() 2061 if (!READ_ONCE(vblank->enabled)) { in drm_crtc_queue_sequence_ioctl()
|
| /netbsd-src/sys/external/bsd/common/include/linux/ |
| H A D | compiler.h | 64 #define READ_ONCE(X) ({ \ macro
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/scheduler/ |
| H A D | sched_entity.c | 121 if (READ_ONCE(entity->dependency)) in drm_sched_entity_is_ready() 499 fence = READ_ONCE(entity->last_scheduled); in drm_sched_entity_select_rq()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
| H A D | i915_gem_object.h | 213 return READ_ONCE(obj->frontbuffer); in i915_gem_object_is_framebuffer() 316 return !IS_ERR_OR_NULL(READ_ONCE(obj->mm.pages)); in i915_gem_object_has_pages()
|
| H A D | i915_gem_shrinker.c | 279 count = READ_ONCE(i915->mm.shrink_memory) >> PAGE_SHIFT; in i915_gem_shrinker_count() 280 num_objects = READ_ONCE(i915->mm.shrink_count); in i915_gem_shrinker_count()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
| H A D | amdgpu_gem.c | 864 pin_count = READ_ONCE(bo->pin_count); in amdgpu_debugfs_gem_bo_info() 868 dma_buf = READ_ONCE(bo->tbo.base.dma_buf); in amdgpu_debugfs_gem_bo_info() 869 attachment = READ_ONCE(bo->tbo.base.import_attach); in amdgpu_debugfs_gem_bo_info()
|
| H A D | amdgpu_fence.c | 320 uint64_t seq = READ_ONCE(ring->fence_drv.sync_seq); in amdgpu_fence_wait_empty() 384 emitted += READ_ONCE(ring->fence_drv.sync_seq); in amdgpu_fence_count_emitted()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/uc/ |
| H A D | intel_guc_submission.c | 201 wq_off = READ_ONCE(desc->tail); in guc_wq_item_append() 202 GEM_BUG_ON(CIRC_SPACE(wq_off, READ_ONCE(desc->head), in guc_wq_item_append()
|
| H A D | intel_guc_ct.c | 390 #define done (READ_ONCE(desc->fence) == fence) in wait_for_ctb_desc_update() 449 #define done INTEL_GUC_MSG_IS_RESPONSE(READ_ONCE(req->status)) in wait_for_ct_request_update()
|