Home
last modified time | relevance | path

Searched defs:mdev_state (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/samples/vfio-mdev/
Dmdpy.c94 struct mdev_state { struct
107 static void mdpy_create_config_space(struct mdev_state *mdev_state) in mdpy_create_config_space()
145 static void handle_pci_cfg_write(struct mdev_state *mdev_state, u16 offset, in handle_pci_cfg_write()
170 static ssize_t mdev_access(struct mdev_state *mdev_state, char *buf, in mdev_access()
209 static int mdpy_reset(struct mdev_state *mdev_state) in mdpy_reset()
224 struct mdev_state *mdev_state = in mdpy_init_dev() local
260 struct mdev_state *mdev_state; in mdpy_probe() local
281 struct mdev_state *mdev_state = in mdpy_release_dev() local
291 struct mdev_state *mdev_state = dev_get_drvdata(&mdev->dev); in mdpy_remove() local
302 struct mdev_state *mdev_state = in mdpy_read() local
[all …]
Dmbochs.c165 struct mdev_state *mdev_state; member
171 struct mdev_state { struct
172 struct vfio_device vdev;
173 u8 *vconfig;
174 u64 bar_mask[3];
175 u32 memory_bar_mask;
176 struct mutex ops_lock;
177 struct mdev_device *mdev;
179 const struct mbochs_type *type;
180 u16 vbe[VBE_DISPI_INDEX_COUNT];
[all …]
Dmtty.c128 struct mdev_state { struct
129 struct vfio_device vdev;
130 int irq_fd;
131 struct eventfd_ctx *intx_evtfd;
132 struct eventfd_ctx *msi_evtfd;
133 int irq_index;
134 u8 *vconfig;
135 struct mutex ops_lock;
136 struct mdev_device *mdev;
137 struct mdev_region_info region_info[VFIO_PCI_NUM_REGIONS];
[all …]