Searched refs:off_wrap (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_ring.h | 232 uint16_t off_wrap; member
|
/openbmc/linux/include/uapi/linux/ |
H A D | virtio_ring.h | 234 __le16 off_wrap; member
|
/openbmc/linux/drivers/virtio/ |
H A D | virtio_ring.c | 1556 u16 new, old, off_wrap, flags, wrap_counter, event_idx; in virtqueue_kick_prepare_packed() local 1560 __le16 off_wrap; in virtqueue_kick_prepare_packed() member 1589 off_wrap = le16_to_cpu(snapshot.off_wrap); in virtqueue_kick_prepare_packed() 1591 wrap_counter = off_wrap >> VRING_PACKED_EVENT_F_WRAP_CTR; in virtqueue_kick_prepare_packed() 1592 event_idx = off_wrap & ~(1 << VRING_PACKED_EVENT_F_WRAP_CTR); in virtqueue_kick_prepare_packed() 1733 &vq->packed.vring.driver->off_wrap, in virtqueue_get_buf_ctx_packed() 1773 vq->packed.vring.driver->off_wrap = in virtqueue_enable_cb_prepare_packed() 1794 static bool virtqueue_poll_packed(struct virtqueue *_vq, u16 off_wrap) in virtqueue_poll_packed() argument 1800 wrap_counter = off_wrap >> VRING_PACKED_EVENT_F_WRAP_CTR; in virtqueue_poll_packed() 1801 used_idx = off_wrap & ~(1 << VRING_PACKED_EVENT_F_WRAP_CTR); in virtqueue_poll_packed() [all …]
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio.c | 116 uint16_t off_wrap; member 319 hwaddr off_off = offsetof(VRingPackedDescEvent, off_wrap); in vring_packed_event_read() 325 e->off_wrap = virtio_lduw_phys_cached(vdev, cache, off_off); in vring_packed_event_read() 330 uint16_t off_wrap) in vring_packed_off_wrap_write() argument 332 hwaddr off = offsetof(VRingPackedDescEvent, off_wrap); in vring_packed_off_wrap_write() 334 virtio_stw_phys_cached(vdev, cache, off, off_wrap); in vring_packed_off_wrap_write() 335 address_space_cache_invalidate(cache, off, sizeof(off_wrap)); in vring_packed_off_wrap_write() 528 uint16_t off_wrap; in virtio_queue_packed_set_notification() local 2612 int off = off_wrap & ~(1 << 15); in vring_packed_need_event() 2614 if (wrap != off_wrap >> 15) { in vring_packed_need_event() [all …]
|