ReactOS  0.4.15-dev-1070-ge1a01de
virtio_device_ops Struct Reference

#include <virtio_pci.h>

Collaboration diagram for virtio_device_ops:

Public Attributes

void(* get_config )(VirtIODevice *vdev, unsigned offset, void *buf, unsigned len)
 
void(* set_config )(VirtIODevice *vdev, unsigned offset, const void *buf, unsigned len)
 
u32(* get_config_generation )(VirtIODevice *vdev)
 
u8(* get_status )(VirtIODevice *vdev)
 
void(* set_status )(VirtIODevice *vdev, u8 status)
 
void(* reset )(VirtIODevice *vdev)
 
u64(* get_features )(VirtIODevice *vdev)
 
NTSTATUS(* set_features )(VirtIODevice *vdev, u64 features)
 
u16(* set_config_vector )(VirtIODevice *vdev, u16 vector)
 
u16(* set_queue_vector )(struct virtqueue *vq, u16 vector)
 
NTSTATUS(* query_queue_alloc )(VirtIODevice *vdev, unsigned index, unsigned short *pNumEntries, unsigned long *pRingSize, unsigned long *pHeapSize)
 
NTSTATUS(* setup_queue )(struct virtqueue **queue, VirtIODevice *vdev, VirtIOQueueInfo *info, unsigned idx, u16 msix_vec)
 
void(* delete_queue )(VirtIOQueueInfo *info)
 

Detailed Description

Definition at line 201 of file virtio_pci.h.

Member Data Documentation

◆ delete_queue

void(* virtio_device_ops::delete_queue) (VirtIOQueueInfo *info)

Definition at line 233 of file virtio_pci.h.

◆ get_config

void(* virtio_device_ops::get_config) (VirtIODevice *vdev, unsigned offset, void *buf, unsigned len)

Definition at line 204 of file virtio_pci.h.

◆ get_config_generation

u32(* virtio_device_ops::get_config_generation) (VirtIODevice *vdev)

Definition at line 206 of file virtio_pci.h.

◆ get_features

u64(* virtio_device_ops::get_features) (VirtIODevice *vdev)

Definition at line 214 of file virtio_pci.h.

◆ get_status

u8(* virtio_device_ops::get_status) (VirtIODevice *vdev)

Definition at line 209 of file virtio_pci.h.

◆ query_queue_alloc

NTSTATUS(* virtio_device_ops::query_queue_alloc) (VirtIODevice *vdev, unsigned index, unsigned short *pNumEntries, unsigned long *pRingSize, unsigned long *pHeapSize)

Definition at line 222 of file virtio_pci.h.

◆ reset

void(* virtio_device_ops::reset) (VirtIODevice *vdev)

Definition at line 211 of file virtio_pci.h.

◆ set_config

void(* virtio_device_ops::set_config) (VirtIODevice *vdev, unsigned offset, const void *buf, unsigned len)

Definition at line 205 of file virtio_pci.h.

◆ set_config_vector

u16(* virtio_device_ops::set_config_vector) (VirtIODevice *vdev, u16 vector)

Definition at line 218 of file virtio_pci.h.

◆ set_features

NTSTATUS(* virtio_device_ops::set_features) (VirtIODevice *vdev, u64 features)

Definition at line 215 of file virtio_pci.h.

◆ set_queue_vector

u16(* virtio_device_ops::set_queue_vector) (struct virtqueue *vq, u16 vector)

Definition at line 219 of file virtio_pci.h.

◆ set_status

void(* virtio_device_ops::set_status) (VirtIODevice *vdev, u8 status)

Definition at line 210 of file virtio_pci.h.

◆ setup_queue

NTSTATUS(* virtio_device_ops::setup_queue) (struct virtqueue **queue, VirtIODevice *vdev, VirtIOQueueInfo *info, unsigned idx, u16 msix_vec)

Definition at line 228 of file virtio_pci.h.


The documentation for this struct was generated from the following file: