Searched refs:last_seq (Results 1 – 13 of 13) sorted by relevance
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_fence.c | 85 seq = lower_32_bits(atomic64_read(&drv->last_seq)); in amdgpu_fence_read() 147 uint64_t seq, last_seq, last_emitted; in amdgpu_fence_activity() local 172 last_seq = atomic64_read(&ring->fence_drv.last_seq); in amdgpu_fence_activity() 176 seq |= last_seq & 0xffffffff00000000LL; in amdgpu_fence_activity() 177 if (seq < last_seq) { in amdgpu_fence_activity() 182 if (seq <= last_seq || seq > last_emitted) { in amdgpu_fence_activity() 190 last_seq = seq; in amdgpu_fence_activity() 199 } while (atomic64_xchg(&ring->fence_drv.last_seq, seq) > seq); in amdgpu_fence_activity() 251 if (atomic64_read(&ring->fence_drv.last_seq) >= seq) in amdgpu_fence_seq_signaled() 256 if (atomic64_read(&ring->fence_drv.last_seq) >= seq) in amdgpu_fence_seq_signaled() [all …]
|
D | amdgpu.h | 396 atomic64_t last_seq; member
|
/drivers/gpu/drm/radeon/ |
D | radeon_fence.c | 92 seq = lower_32_bits(atomic64_read(&drv->last_seq)); in radeon_fence_read() 170 seq = atomic64_read(&fence->rdev->fence_drv[fence->ring].last_seq); in radeon_fence_check_signaled() 199 uint64_t seq, last_seq, last_emitted; in radeon_fence_activity() local 224 last_seq = atomic64_read(&rdev->fence_drv[ring].last_seq); in radeon_fence_activity() 228 seq |= last_seq & 0xffffffff00000000LL; in radeon_fence_activity() 229 if (seq < last_seq) { in radeon_fence_activity() 234 if (seq <= last_seq || seq > last_emitted) { in radeon_fence_activity() 242 last_seq = seq; in radeon_fence_activity() 251 } while (atomic64_xchg(&rdev->fence_drv[ring].last_seq, seq) > seq); in radeon_fence_activity() 301 (uint64_t)atomic64_read(&fence_drv->last_seq), in radeon_fence_check_lockup() [all …]
|
D | radeon.h | 361 atomic64_t last_seq; member
|
/drivers/gpu/drm/virtio/ |
D | virtgpu_fence.c | 48 if (atomic64_read(&fence->drv->last_seq) >= fence->seq) in virtio_signaled() 64 snprintf(str, size, "%llu", (u64)atomic64_read(&fence->drv->last_seq)); in virtio_timeline_value_str() 103 u64 last_seq) in virtio_gpu_fence_event_process() argument 110 atomic64_set(&vgdev->fence_drv.last_seq, last_seq); in virtio_gpu_fence_event_process() 112 if (last_seq < fence->seq) in virtio_gpu_fence_event_process()
|
D | virtgpu_debugfs.c | 38 (u64)atomic64_read(&vgdev->fence_drv.last_seq), in virtio_gpu_debugfs_irq_info()
|
D | virtgpu_drv.h | 76 atomic64_t last_seq; member 350 u64 last_seq);
|
/drivers/md/bcache/ |
D | journal.c | 104 if (i->j.seq >= j->last_seq) in journal_read_bucket() 114 if (j->seq < i->j.last_seq) in journal_read_bucket() 331 uint64_t start = i->j.last_seq, end = i->j.seq, n = start; in bch_journal_replay() 422 #define last_seq(j) ((j)->seq - fifo_used(&(j)->pin) + 1) macro 491 uint64_t last_seq; in journal_reclaim() local 498 last_seq = last_seq(&c->journal); in journal_reclaim() 506 ja->seq[ja->last_idx] < last_seq) in journal_reclaim() 637 w->data->last_seq = last_seq(&c->journal); in journal_write_unlocked()
|
/drivers/net/wireless/mwifiex/ |
D | 11n_rxreorder.c | 329 u16 last_seq = 0; in mwifiex_11n_create_rx_reorder_tbl() local 359 last_seq = node->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl() 364 last_seq = node->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl() 366 last_seq = priv->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl() 372 last_seq, new_node->start_win); in mwifiex_11n_create_rx_reorder_tbl() 374 if (last_seq != MWIFIEX_DEF_11N_RX_SEQ_NUM && in mwifiex_11n_create_rx_reorder_tbl() 375 last_seq >= new_node->start_win) { in mwifiex_11n_create_rx_reorder_tbl() 376 new_node->start_win = last_seq + 1; in mwifiex_11n_create_rx_reorder_tbl()
|
/drivers/isdn/i4l/ |
D | isdn_ppp.c | 1619 struct sk_buff *skb, u32 last_seq); 1861 struct sk_buff *skb, u32 last_seq) in isdn_ppp_mp_get_seq() argument 1879 (last_seq & MP_SHORTSEQ_MAXBIT) && in isdn_ppp_mp_get_seq() 1880 (unsigned long)last_seq <= MP_LONGSEQ_MAX) in isdn_ppp_mp_get_seq() 1881 seq |= (last_seq + MP_SHORTSEQ_MAX + 1) & in isdn_ppp_mp_get_seq() 1884 seq |= last_seq & (~MP_SHORTSEQ_MASK & MP_LONGSEQ_MASK); in isdn_ppp_mp_get_seq()
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 425 u16 *last_seq, *last_frag; in is_duplicate_packet() local 474 last_seq = &entry->seq_num[tid]; in is_duplicate_packet() 481 last_seq = &ieee->last_rxseq_num[tid]; in is_duplicate_packet() 493 if ((*last_seq == seq) && in is_duplicate_packet() 501 *last_seq = seq; in is_duplicate_packet()
|
/drivers/staging/rtl8192e/ |
D | rtllib_rx.c | 376 u16 *last_seq, *last_frag; in is_duplicate_packet() local 423 last_seq = &entry->seq_num[tid]; in is_duplicate_packet() 430 last_seq = &ieee->last_rxseq_num[tid]; in is_duplicate_packet() 438 if ((*last_seq == seq) && in is_duplicate_packet() 446 *last_seq = seq; in is_duplicate_packet()
|
/drivers/net/wireless/ipw2x00/ |
D | ipw2200.c | 8157 u16 *last_seq, *last_frag; in is_duplicate_packet() local 8189 last_seq = &entry->seq_num; in is_duplicate_packet() 8195 last_seq = &priv->last_seq_num; in is_duplicate_packet() 8202 if ((*last_seq == seq) && in is_duplicate_packet() 8210 *last_seq = seq; in is_duplicate_packet()
|