/linux-master/samples/vfio-mdev/ |
H A D | mdpy.c | 96 struct mdev_state { struct 109 static void mdpy_create_config_space(struct mdev_state *mdev_state) argument 147 handle_pci_cfg_write(struct mdev_state *mdev_state, u16 offset, char *buf, u32 count) argument 172 mdev_access(struct mdev_state *mdev_state, char *buf, size_t count, loff_t pos, bool is_write) argument 211 mdpy_reset(struct mdev_state *mdev_state) argument 226 struct mdev_state *mdev_state = local 262 struct mdev_state *mdev_state; local 283 struct mdev_state *mdev_state = local 292 struct mdev_state *mdev_state = dev_get_drvdata(&mdev->dev); local 303 struct mdev_state *mdev_state = local 364 struct mdev_state *mdev_state = local 422 struct mdev_state *mdev_state = local 437 mdpy_get_region_info(struct mdev_state *mdev_state, struct vfio_region_info *region_info, u16 *cap_type_id, void **cap_type) argument 483 mdpy_query_gfx_plane(struct mdev_state *mdev_state, struct vfio_device_gfx_plane_info *plane) argument 519 struct mdev_state *mdev_state = local 630 struct mdev_state *mdev_state = dev_get_drvdata(dev); local [all...] |
H A D | mtty.c | 146 struct mdev_state *mdev_state; member in struct:mtty_migration_file 153 struct mdev_state { struct 216 static bool is_intx(struct mdev_state *mdev_state) argument 221 static bool is_msi(struct mdev_state *mdev_state) argument 226 is_noirq(struct mdev_state *mdev_state) argument 231 mtty_trigger_interrupt(struct mdev_state *mdev_state) argument 246 mtty_create_config_space(struct mdev_state *mdev_state) argument 310 handle_pci_cfg_write(struct mdev_state *mdev_state, u16 offset, u8 *buf, u32 count) argument 364 handle_bar_write(unsigned int index, struct mdev_state *mdev_state, u16 offset, u8 *buf, u32 count) argument 532 handle_bar_read(unsigned int index, struct mdev_state *mdev_state, u16 offset, u8 *buf, u32 count) argument 670 mdev_read_base(struct mdev_state *mdev_state) argument 707 mdev_access(struct mdev_state *mdev_state, u8 *buf, size_t count, loff_t pos, bool is_write) argument 777 mtty_data_size(struct mdev_state *mdev_state) argument 792 mtty_disable_files(struct mdev_state *mdev_state) argument 807 mtty_state_mutex_unlock(struct mdev_state *mdev_state) argument 837 struct mdev_state *mdev_state = migf->mdev_state; local 933 mtty_save_state(struct mdev_state *mdev_state) argument 949 mtty_load_state(struct mdev_state *mdev_state) argument 973 mtty_save_device_data(struct mdev_state *mdev_state, enum vfio_device_mig_state state) argument 1025 struct mdev_state *mdev_state = migf->mdev_state; local 1089 mtty_resume_device_data(struct mdev_state *mdev_state) argument 1115 mtty_step_state(struct mdev_state *mdev_state, enum vfio_device_mig_state new) argument 1229 struct mdev_state *mdev_state = local 1264 struct mdev_state *mdev_state = local 1276 struct mdev_state *mdev_state = local 1316 struct mdev_state *mdev_state = local 1365 struct mdev_state *mdev_state; local 1386 struct mdev_state *mdev_state = local 1397 struct mdev_state *mdev_state = dev_get_drvdata(&mdev->dev); local 1403 mtty_reset(struct mdev_state *mdev_state) argument 1422 struct mdev_state *mdev_state = local 1483 struct mdev_state *mdev_state = local 1539 mtty_disable_intx(struct mdev_state *mdev_state) argument 1549 mtty_disable_msi(struct mdev_state *mdev_state) argument 1558 mtty_set_irqs(struct mdev_state *mdev_state, uint32_t flags, unsigned int index, unsigned int start, unsigned int count, void *data) argument 1722 mtty_get_region_info(struct mdev_state *mdev_state, struct vfio_region_info *region_info, u16 *cap_type_id, void **cap_type) argument 1793 struct mdev_state *mdev_state = local 1939 struct mdev_state *mdev_state = local [all...] |
H A D | mbochs.c | 167 struct mdev_state *mdev_state; member in struct:mbochs_dmabuf 173 struct mdev_state { struct 220 static void mbochs_create_config_space(struct mdev_state *mdev_state) argument 249 mbochs_check_framebuffer(struct mdev_state *mdev_state, struct mbochs_mode *mode) argument 307 handle_pci_cfg_write(struct mdev_state *mdev_state, u16 offset, char *buf, u32 count) argument 335 handle_mmio_write(struct mdev_state *mdev_state, u16 offset, char *buf, u32 count) argument 365 handle_mmio_read(struct mdev_state *mdev_state, u16 offset, char *buf, u32 count) argument 402 handle_edid_regs(struct mdev_state *mdev_state, u16 offset, char *buf, u32 count, bool is_write) argument 429 handle_edid_blob(struct mdev_state *mdev_state, u16 offset, char *buf, u32 count, bool is_write) argument 440 mdev_access(struct mdev_state *mdev_state, char *buf, size_t count, loff_t pos, bool is_write) argument 506 mbochs_reset(struct mdev_state *mdev_state) argument 520 struct mdev_state *mdev_state = local 572 struct mdev_state *mdev_state; local 593 struct mdev_state *mdev_state = local 603 struct mdev_state *mdev_state = dev_get_drvdata(&mdev->dev); local 612 struct mdev_state *mdev_state = local 673 struct mdev_state *mdev_state = local 729 __mbochs_get_page(struct mdev_state *mdev_state, pgoff_t pgoff) argument 745 mbochs_get_page(struct mdev_state *mdev_state, pgoff_t pgoff) argument 760 mbochs_put_pages(struct mdev_state *mdev_state) argument 780 struct mdev_state *mdev_state = vma->vm_private_data; local 799 struct mdev_state *mdev_state = local 909 struct mdev_state *mdev_state = dmabuf->mdev_state; local 932 mbochs_dmabuf_alloc(struct mdev_state *mdev_state, struct mbochs_mode *mode) argument 976 mbochs_dmabuf_find_by_mode(struct mdev_state *mdev_state, struct mbochs_mode *mode) argument 991 mbochs_dmabuf_find_by_id(struct mdev_state *mdev_state, u32 id) argument 1006 struct mdev_state *mdev_state = dmabuf->mdev_state; local 1035 mbochs_get_region_info(struct mdev_state *mdev_state, struct vfio_region_info_ext *ext) argument 1100 mbochs_query_gfx_plane(struct mdev_state *mdev_state, struct vfio_device_gfx_plane_info *plane) argument 1164 mbochs_get_gfx_dmabuf(struct mdev_state *mdev_state, u32 id) argument 1190 struct mdev_state *mdev_state = local 1309 struct mdev_state *mdev_state = local 1333 struct mdev_state *mdev_state = dev_get_drvdata(dev); local [all...] |