ReactOS 0.4.16-dev-295-g4aee028
|
#include "osdep.h"
#include "virtio_pci.h"
#include "VirtIO.h"
#include "kdebugprint.h"
#include <stddef.h>
#include "virtio_pci_common.h"
Go to the source code of this file.
void virtio_add_status | ( | VirtIODevice * | vdev, |
u8 | status | ||
) |
Definition at line 96 of file VirtIOPCICommon.c.
Referenced by ParaNdis_FinishInitialization(), ParaNdis_InitializeContext(), ParaNdis_PowerOn(), virtio_device_initialize(), and virtio_set_features().
|
static |
Definition at line 146 of file VirtIOPCICommon.c.
Referenced by virtio_get_config().
Definition at line 311 of file VirtIOPCICommon.c.
void virtio_delete_queues | ( | VirtIODevice * | vdev | ) |
Definition at line 320 of file VirtIOPCICommon.c.
Referenced by DeleteNetQueues(), and virtio_find_queues().
NTSTATUS virtio_device_initialize | ( | VirtIODevice * | vdev, |
const VirtIOSystemOps * | pSystemOps, | ||
PVOID | DeviceContext, | ||
bool | msix_used | ||
) |
Definition at line 44 of file VirtIOPCICommon.c.
void virtio_device_ready | ( | VirtIODevice * | vdev | ) |
Definition at line 106 of file VirtIOPCICommon.c.
Referenced by ParaNdis_FinishInitialization(), and ParaNdis_PowerOn().
void virtio_device_reset | ( | VirtIODevice * | vdev | ) |
Definition at line 101 of file VirtIOPCICommon.c.
Referenced by ParaNdis_ResetVirtIONetDevice(), and virtio_device_initialize().
void virtio_device_shutdown | ( | VirtIODevice * | vdev | ) |
Definition at line 77 of file VirtIOPCICommon.c.
Referenced by VirtIONetRelease().
NTSTATUS virtio_find_queue | ( | VirtIODevice * | vdev, |
unsigned | index, | ||
struct virtqueue ** | vq | ||
) |
Definition at line 256 of file VirtIOPCICommon.c.
NTSTATUS virtio_find_queues | ( | VirtIODevice * | vdev, |
unsigned | nvqs, | ||
struct virtqueue * | vqs[] | ||
) |
Definition at line 267 of file VirtIOPCICommon.c.
Referenced by FindNetQueues().
int virtio_get_bar_index | ( | PPCI_COMMON_HEADER | pPCIHeader, |
PHYSICAL_ADDRESS | BasePA | ||
) |
Definition at line 357 of file VirtIOPCICommon.c.
Referenced by GetAdapterResources().
void virtio_get_config | ( | VirtIODevice * | vdev, |
unsigned | offset, | ||
void * | buf, | ||
unsigned | len | ||
) |
Definition at line 167 of file VirtIOPCICommon.c.
Referenced by ParaNdis_InitializeContext(), and ParaNdis_ReportLinkStatus().
u64 virtio_get_features | ( | VirtIODevice * | vdev | ) |
Definition at line 114 of file VirtIOPCICommon.c.
Referenced by ParaNdis_InitializeContext(), and ParaNdis_PowerOn().
u8 virtio_get_status | ( | VirtIODevice * | vdev | ) |
Definition at line 86 of file VirtIOPCICommon.c.
Referenced by ParaNdis_ResetVirtIONetDevice(), and VirtIODeviceRemoveStatus().
NTSTATUS virtio_query_queue_allocation | ( | VirtIODevice * | vdev, |
unsigned | index, | ||
unsigned short * | pNumEntries, | ||
unsigned long * | pRingSize, | ||
unsigned long * | pHeapSize | ||
) |
Definition at line 215 of file VirtIOPCICommon.c.
u8 virtio_read_isr_status | ( | VirtIODevice * | vdev | ) |
Definition at line 352 of file VirtIOPCICommon.c.
Referenced by CheckRunningDpc(), JustForCheckClearInterrupt(), and ParaNdis_OnLegacyInterrupt().
NTSTATUS virtio_reserve_queue_memory | ( | VirtIODevice * | vdev, |
unsigned | nvqs | ||
) |
Definition at line 224 of file VirtIOPCICommon.c.
Referenced by virtio_find_queues().
void virtio_set_config | ( | VirtIODevice * | vdev, |
unsigned | offset, | ||
void * | buf, | ||
unsigned | len | ||
) |
Definition at line 197 of file VirtIOPCICommon.c.
u16 virtio_set_config_vector | ( | VirtIODevice * | vdev, |
u16 | vector | ||
) |
Definition at line 342 of file VirtIOPCICommon.c.
NTSTATUS virtio_set_features | ( | VirtIODevice * | vdev, |
u64 | features | ||
) |
Definition at line 119 of file VirtIOPCICommon.c.
Referenced by FinalizeFeatures().
Definition at line 347 of file VirtIOPCICommon.c.
void virtio_set_status | ( | VirtIODevice * | vdev, |
u8 | status | ||
) |
Definition at line 91 of file VirtIOPCICommon.c.
Referenced by VirtIODeviceRemoveStatus().
Definition at line 406 of file VirtIOPCICommon.c.
Referenced by ParaNdis_DPCWorkBody(), ParaNdis_PowerOn(), ParaNdis_ProcessTx(), and PrepareReceiveBuffers().
Definition at line 401 of file VirtIOPCICommon.c.
Referenced by virtqueue_kick(), virtqueue_kick_always_packed(), and virtqueue_kick_always_split().
Definition at line 393 of file VirtIOPCICommon.c.
Referenced by vio_legacy_setup_vq(), and vio_modern_setup_vq().
|
static |
Definition at line 242 of file VirtIOPCICommon.c.
Referenced by virtio_find_queue(), and virtio_find_queues().