Home
last modified time | relevance | path

Searched refs:last_seq (Results 1 – 15 of 15) sorted by relevance

/drivers/gpu/drm/radeon/
Dradeon_fence.c97 seq = lower_32_bits(atomic64_read(&drv->last_seq)); in radeon_fence_read()
177 seq = atomic64_read(&fence->rdev->fence_drv[fence->ring].last_seq); in radeon_fence_check_signaled()
206 uint64_t seq, last_seq, last_emitted; in radeon_fence_activity() local
231 last_seq = atomic64_read(&rdev->fence_drv[ring].last_seq); in radeon_fence_activity()
235 seq |= last_seq & 0xffffffff00000000LL; in radeon_fence_activity()
236 if (seq < last_seq) { in radeon_fence_activity()
241 if (seq <= last_seq || seq > last_emitted) { in radeon_fence_activity()
249 last_seq = seq; in radeon_fence_activity()
258 } while (atomic64_xchg(&rdev->fence_drv[ring].last_seq, seq) > seq); in radeon_fence_activity()
308 (uint64_t)atomic64_read(&fence_drv->last_seq), in radeon_fence_check_lockup()
[all …]
Dradeon.h370 atomic64_t last_seq; member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fence.c122 seq = atomic_read(&drv->last_seq); in amdgpu_fence_read()
268 uint32_t seq, last_seq; in amdgpu_fence_process() local
272 last_seq = atomic_read(&ring->fence_drv.last_seq); in amdgpu_fence_process()
275 } while (atomic_cmpxchg(&drv->last_seq, last_seq, seq) != last_seq); in amdgpu_fence_process()
281 if (unlikely(seq == last_seq)) in amdgpu_fence_process()
284 last_seq &= drv->num_fences_mask; in amdgpu_fence_process()
290 ++last_seq; in amdgpu_fence_process()
291 last_seq &= drv->num_fences_mask; in amdgpu_fence_process()
292 ptr = &drv->fences[last_seq]; in amdgpu_fence_process()
310 } while (last_seq != seq); in amdgpu_fence_process()
[all …]
Damdgpu_debugfs.c1261 uint32_t sync_seq, last_seq; in amdgpu_ib_preempt_fences_swap() local
1263 last_seq = atomic_read(&ring->fence_drv.last_seq); in amdgpu_ib_preempt_fences_swap()
1266 last_seq &= drv->num_fences_mask; in amdgpu_ib_preempt_fences_swap()
1272 ++last_seq; in amdgpu_ib_preempt_fences_swap()
1273 last_seq &= drv->num_fences_mask; in amdgpu_ib_preempt_fences_swap()
1274 ptr = &drv->fences[last_seq]; in amdgpu_ib_preempt_fences_swap()
1282 fences[last_seq] = fence; in amdgpu_ib_preempt_fences_swap()
1284 } while (last_seq != sync_seq); in amdgpu_ib_preempt_fences_swap()
1329 if (preempt_seq <= atomic_read(&drv->last_seq)) { in amdgpu_ib_preempt_mark_partial_job()
1398 if (atomic_read(&ring->fence_drv.last_seq) != in amdgpu_debugfs_ib_preempt()
Damdgpu_job.c60 job->base.sched->name, atomic_read(&ring->fence_drv.last_seq), in amdgpu_job_timedout()
Damdgpu_ring.h102 atomic_t last_seq; member
/drivers/md/bcache/
Djournal.c120 if (i->j.seq >= j->last_seq) in journal_read_bucket()
135 if (j->seq < i->j.last_seq) in journal_read_bucket()
357 uint64_t start = i->j.last_seq, end = i->j.seq, n = start; in bch_journal_replay()
570 #define last_seq(j) ((j)->seq - fifo_used(&(j)->pin) + 1) macro
656 uint64_t last_seq; in journal_reclaim() local
665 last_seq = last_seq(&c->journal); in journal_reclaim()
670 ja->seq[ja->last_idx] < last_seq) in journal_reclaim()
788 w->data->last_seq = last_seq(&c->journal); in journal_write_unlocked()
Dbcache_ondisk.h352 __u64 last_seq; member
/drivers/net/wireless/marvell/mwifiex/
D11n_rxreorder.c346 u16 last_seq = 0; in mwifiex_11n_create_rx_reorder_tbl() local
375 last_seq = node->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl()
380 last_seq = node->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl()
382 last_seq = priv->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl()
388 last_seq, new_node->start_win); in mwifiex_11n_create_rx_reorder_tbl()
390 if (last_seq != MWIFIEX_DEF_11N_RX_SEQ_NUM && in mwifiex_11n_create_rx_reorder_tbl()
391 last_seq >= new_node->start_win) { in mwifiex_11n_create_rx_reorder_tbl()
392 new_node->start_win = last_seq + 1; in mwifiex_11n_create_rx_reorder_tbl()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.h329 __le16 last_seq[IWL_MAX_TID_COUNT + 1]; member
Drxmq.c558 dup_data->last_seq[tid] == hdr->seq_ctrl && in iwl_mvm_is_dup()
563 if (dup_data->last_seq[tid] == hdr->seq_ctrl && in iwl_mvm_is_dup()
568 dup_data->last_seq[tid] = hdr->seq_ctrl; in iwl_mvm_is_dup()
Dsta.c1660 memset(dup_data[q].last_seq, 0xff, in iwl_mvm_add_sta()
1661 sizeof(dup_data[q].last_seq)); in iwl_mvm_add_sta()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c418 u16 *last_seq, *last_frag; in is_duplicate_packet() local
465 last_seq = &entry->seq_num[tid]; in is_duplicate_packet()
472 last_seq = &ieee->last_rxseq_num[tid]; in is_duplicate_packet()
484 if ((*last_seq == seq) && in is_duplicate_packet()
492 *last_seq = seq; in is_duplicate_packet()
/drivers/staging/rtl8192e/
Drtllib_rx.c368 u16 *last_seq, *last_frag; in is_duplicate_packet() local
415 last_seq = &entry->seq_num[tid]; in is_duplicate_packet()
422 last_seq = &ieee->last_rxseq_num[tid]; in is_duplicate_packet()
430 if ((*last_seq == seq) && in is_duplicate_packet()
438 *last_seq = seq; in is_duplicate_packet()
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c8126 u16 *last_seq, *last_frag; in is_duplicate_packet() local
8158 last_seq = &entry->seq_num; in is_duplicate_packet()
8164 last_seq = &priv->last_seq_num; in is_duplicate_packet()
8171 if ((*last_seq == seq) && in is_duplicate_packet()
8179 *last_seq = seq; in is_duplicate_packet()