Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fence.c85 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 …]
Damdgpu.h396 atomic64_t last_seq; member
/drivers/gpu/drm/radeon/
Dradeon_fence.c92 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 …]
Dradeon.h361 atomic64_t last_seq; member
/drivers/gpu/drm/virtio/
Dvirtgpu_fence.c48 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()
Dvirtgpu_debugfs.c38 (u64)atomic64_read(&vgdev->fence_drv.last_seq), in virtio_gpu_debugfs_irq_info()
Dvirtgpu_drv.h76 atomic64_t last_seq; member
350 u64 last_seq);
/drivers/md/bcache/
Djournal.c104 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/
D11n_rxreorder.c329 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/
Disdn_ppp.c1619 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/
Dieee80211_rx.c425 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/
Drtllib_rx.c376 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/
Dipw2200.c8157 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()