Lines Matching defs:mdev_state

135 	struct mdev_state *mdev_state;  member
141 struct mdev_state { struct
142 u8 *vconfig;
143 u64 bar_mask[3];
144 u32 memory_bar_mask;
145 struct mutex ops_lock;
146 struct mdev_device *mdev;
147 struct vfio_device_info dev_info;
149 const struct mbochs_type *type;
150 u16 vbe[VBE_DISPI_INDEX_COUNT];
151 u64 memsize;
152 struct page **pages;
153 pgoff_t pagecount;
155 struct list_head dmabufs;
156 u32 active_id;
157 u32 next_id;
196 static void mbochs_create_config_space(struct mdev_state *mdev_state) in mbochs_create_config_space()
225 static int mbochs_check_framebuffer(struct mdev_state *mdev_state, in mbochs_check_framebuffer()
283 static void handle_pci_cfg_write(struct mdev_state *mdev_state, u16 offset, in handle_pci_cfg_write()
311 static void handle_mmio_write(struct mdev_state *mdev_state, u16 offset, in handle_mmio_write()
341 static void handle_mmio_read(struct mdev_state *mdev_state, u16 offset, in handle_mmio_read()
371 struct mdev_state *mdev_state = mdev_get_drvdata(mdev); in mdev_access() local
426 struct mdev_state *mdev_state = mdev_get_drvdata(mdev); in mbochs_reset() local
441 struct mdev_state *mdev_state; in mbochs_create() local
488 struct mdev_state *mdev_state = mdev_get_drvdata(mdev); in mbochs_remove() local
614 static struct page *__mbochs_get_page(struct mdev_state *mdev_state, in __mbochs_get_page()
630 static struct page *mbochs_get_page(struct mdev_state *mdev_state, in mbochs_get_page()
645 static void mbochs_put_pages(struct mdev_state *mdev_state) in mbochs_put_pages()
665 struct mdev_state *mdev_state = vma->vm_private_data; in mbochs_region_vm_fault() local
684 struct mdev_state *mdev_state = mdev_get_drvdata(mdev); in mbochs_mmap() local
792 struct mdev_state *mdev_state = dmabuf->mdev_state; in mbochs_release_dmabuf() local
831 static struct mbochs_dmabuf *mbochs_dmabuf_alloc(struct mdev_state *mdev_state, in mbochs_dmabuf_alloc()
875 mbochs_dmabuf_find_by_mode(struct mdev_state *mdev_state, in mbochs_dmabuf_find_by_mode()
890 mbochs_dmabuf_find_by_id(struct mdev_state *mdev_state, u32 id) in mbochs_dmabuf_find_by_id()
905 struct mdev_state *mdev_state = dmabuf->mdev_state; in mbochs_dmabuf_export() local
938 struct mdev_state *mdev_state; in mbochs_get_region_info() local
995 struct mdev_state *mdev_state = mdev_get_drvdata(mdev); in mbochs_query_gfx_plane() local
1061 struct mdev_state *mdev_state = mdev_get_drvdata(mdev); in mbochs_get_gfx_dmabuf() local
1088 struct mdev_state *mdev_state; in mbochs_ioctl() local
1216 struct mdev_state *mdev_state = mdev_get_drvdata(mdev); in mbochs_close() local
1241 struct mdev_state *mdev_state = mdev_get_drvdata(mdev); in memory_show() local