Home
last modified time | relevance | path

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

/linux/samples/vfio-mdev/
H A Dmtty.c146 struct mdev_state *mdev_state; member
153 struct mdev_state { struct
154 struct vfio_device vdev;
155 struct eventfd_ctx *intx_evtfd;
156 struct eventfd_ctx *msi_evtfd;
157 int irq_index;
158 u8 *vconfig;
159 struct mutex ops_lock;
160 struct mdev_device *mdev;
161 struct mdev_region_info region_info[VFIO_PCI_NUM_REGIONS];
[all …]
H A Dmdpy.c97 struct mdev_state { struct
110 static void mdpy_create_config_space(struct mdev_state *mdev_state) in mdpy_create_config_space()
148 static void handle_pci_cfg_write(struct mdev_state *mdev_state, u16 offset, in handle_pci_cfg_write()
173 static ssize_t mdev_access(struct mdev_state *mdev_state, char *buf, in mdev_access()
212 static int mdpy_reset(struct mdev_state *mdev_state) in mdpy_reset()
227 struct mdev_state *mdev_state = in mdpy_init_dev() local
263 struct mdev_state *mdev_state; in mdpy_probe() local
284 struct mdev_state *mdev_state = in mdpy_release_dev() local
293 struct mdev_state *mdev_state = dev_get_drvdata(&mdev->dev); in mdpy_remove() local
304 struct mdev_state *mdev_state = in mdpy_read() local
[all …]
H A Dmbochs.c168 struct mdev_state *mdev_state; member
174 struct mdev_state { struct
175 struct vfio_device vdev;
176 u8 *vconfig;
177 u64 bar_mask[3];
178 u32 memory_bar_mask;
179 struct mutex ops_lock;
180 struct mdev_device *mdev;
182 const struct mbochs_type *type;
183 u16 vbe[VBE_DISPI_INDEX_COUNT];
[all …]