Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/virtio/
Dvirtio_ring.c1235 u16 new, old, off_wrap, flags, wrap_counter, event_idx; in virtqueue_kick_prepare_packed() local
1270 wrap_counter = off_wrap >> VRING_PACKED_EVENT_F_WRAP_CTR; in virtqueue_kick_prepare_packed()
1272 if (wrap_counter != vq->packed.avail_wrap_counter) in virtqueue_kick_prepare_packed()
1461 bool wrap_counter; in virtqueue_poll_packed() local
1464 wrap_counter = off_wrap >> VRING_PACKED_EVENT_F_WRAP_CTR; in virtqueue_poll_packed()
1467 return is_used_desc_packed(vq, used_idx, wrap_counter); in virtqueue_poll_packed()
1473 u16 used_idx, wrap_counter; in virtqueue_enable_cb_delayed_packed() local
1486 wrap_counter = vq->packed.used_wrap_counter; in virtqueue_enable_cb_delayed_packed()
1491 wrap_counter ^= 1; in virtqueue_enable_cb_delayed_packed()
1495 (wrap_counter << VRING_PACKED_EVENT_F_WRAP_CTR)); in virtqueue_enable_cb_delayed_packed()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Dmain.c458 u32 wrap_counter; in iwl_continuous_event_trace() member
472 num_wraps = read.wrap_counter; in iwl_continuous_event_trace()