Home
last modified time | relevance | path

Searched refs:wrap_counter (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/virtio/
Dvirtio_ring.c1498 u16 new, old, off_wrap, flags, wrap_counter, event_idx; in virtqueue_kick_prepare_packed() local
1533 wrap_counter = off_wrap >> VRING_PACKED_EVENT_F_WRAP_CTR; in virtqueue_kick_prepare_packed()
1535 if (wrap_counter != vq->packed.avail_wrap_counter) in virtqueue_kick_prepare_packed()
1731 bool wrap_counter; in virtqueue_poll_packed() local
1734 wrap_counter = off_wrap >> VRING_PACKED_EVENT_F_WRAP_CTR; in virtqueue_poll_packed()
1737 return is_used_desc_packed(vq, used_idx, wrap_counter); in virtqueue_poll_packed()
1743 u16 used_idx, wrap_counter, last_used_idx; in virtqueue_enable_cb_delayed_packed() local
1757 wrap_counter = packed_used_wrap_counter(last_used_idx); in virtqueue_enable_cb_delayed_packed()
1762 wrap_counter ^= 1; in virtqueue_enable_cb_delayed_packed()
1766 (wrap_counter << VRING_PACKED_EVENT_F_WRAP_CTR)); in virtqueue_enable_cb_delayed_packed()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Dmain.c452 u32 wrap_counter; in iwl_continuous_event_trace() member
466 num_wraps = read.wrap_counter; in iwl_continuous_event_trace()