Home
last modified time | relevance | path

Searched refs:VIRTIO_PCI_CONFIG_OFF (Results 1 – 4 of 4) sorted by relevance

/linux/include/uapi/linux/ !
H A Dvirtio_pci.h81 #define VIRTIO_PCI_CONFIG_OFF(msix_enabled) ((msix_enabled) ? 24 : 20) macro
83 #define VIRTIO_PCI_CONFIG(dev) VIRTIO_PCI_CONFIG_OFF((dev)->msix_enabled)
/linux/drivers/virtio/ !
H A Dvirtio_pci_legacy.c53 VIRTIO_PCI_CONFIG_OFF(vp_dev->msix_enabled) + in vp_get()
69 VIRTIO_PCI_CONFIG_OFF(vp_dev->msix_enabled) + in vp_set()
/linux/drivers/vfio/pci/virtio/ !
H A Dlegacy_io.c34 common = pos < VIRTIO_PCI_CONFIG_OFF(msix_enabled); in virtiovf_issue_legacy_rw_cmd()
36 offset = common ? pos : pos - VIRTIO_PCI_CONFIG_OFF(msix_enabled); in virtiovf_issue_legacy_rw_cmd()
377 virtvdev->bar0_virtual_buf_size = VIRTIO_PCI_CONFIG_OFF(true) + in virtiovf_init_legacy_io()
/linux/drivers/vdpa/alibaba/ !
H A Deni_vdpa.c384 VIRTIO_PCI_CONFIG_OFF(eni_vdpa->vectors) + in eni_vdpa_get_config()
400 VIRTIO_PCI_CONFIG_OFF(eni_vdpa->vectors) + in eni_vdpa_set_config()