Home
last modified time | relevance | path

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

/linux/samples/vfio-mdev/
A Dmbochs.c163 struct mdev_state { struct
165 u8 *vconfig;
166 u64 bar_mask[3];
167 u32 memory_bar_mask;
168 struct mutex ops_lock;
173 u64 memsize;
174 struct page **pages;
175 pgoff_t pagecount;
177 u8 edid_blob[0x400];
180 u32 active_id;
[all …]
A Dmdpy.c91 struct mdev_state { struct
104 static void mdpy_create_config_space(struct mdev_state *mdev_state) in mdpy_create_config_space()
206 static int mdpy_reset(struct mdev_state *mdev_state) in mdpy_reset()
224 struct mdev_state *mdev_state; in mdpy_probe() local
278 struct mdev_state *mdev_state = dev_get_drvdata(&mdev->dev); in mdpy_remove() local
294 struct mdev_state *mdev_state = in mdpy_read() local
355 struct mdev_state *mdev_state = in mdpy_write() local
413 struct mdev_state *mdev_state = in mdpy_mmap() local
428 static int mdpy_get_region_info(struct mdev_state *mdev_state, in mdpy_get_region_info()
510 struct mdev_state *mdev_state = in mdpy_ioctl() local
[all …]
A Dmtty.c129 struct mdev_state { struct
130 struct vfio_device vdev;
131 int irq_fd;
132 struct eventfd_ctx *intx_evtfd;
133 struct eventfd_ctx *msi_evtfd;
157 static int mtty_trigger_interrupt(struct mdev_state *mdev_state); argument
708 struct mdev_state *mdev_state; in mtty_probe() local
773 static int mtty_reset(struct mdev_state *mdev_state) in mtty_reset()
783 struct mdev_state *mdev_state = in mtty_read() local
844 struct mdev_state *mdev_state = in mtty_write() local
[all …]

Completed in 18 milliseconds