Home
last modified time | relevance | path

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

/Linux-v4.19/samples/vfio-mdev/
Dmbochs.c135 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];
[all …]
Dmdpy.c90 struct mdev_state { struct
112 static void mdpy_create_config_space(struct mdev_state *mdev_state) in mdpy_create_config_space()
150 static void handle_pci_cfg_write(struct mdev_state *mdev_state, u16 offset, in handle_pci_cfg_write()
178 struct mdev_state *mdev_state = mdev_get_drvdata(mdev); in mdev_access() local
217 struct mdev_state *mdev_state = mdev_get_drvdata(mdev); in mdpy_reset() local
233 struct mdev_state *mdev_state; in mdpy_create() local
277 struct mdev_state *mdev_state = mdev_get_drvdata(mdev); in mdpy_remove() local
409 struct mdev_state *mdev_state = mdev_get_drvdata(mdev); in mdpy_mmap() local
429 struct mdev_state *mdev_state; in mdpy_get_region_info() local
482 struct mdev_state *mdev_state = mdev_get_drvdata(mdev); in mdpy_query_gfx_plane() local
[all …]
Dmtty.c133 struct mdev_state { struct
134 int irq_fd;
135 struct eventfd_ctx *intx_evtfd;
136 struct eventfd_ctx *msi_evtfd;
137 int irq_index;
138 u8 *vconfig;
162 static struct mdev_state *find_mdev_state_by_uuid(uuid_le uuid) in find_mdev_state_by_uuid() argument
188 static void mtty_create_config_space(struct mdev_state *mdev_state) in mtty_create_config_space()
252 static void handle_pci_cfg_write(struct mdev_state *mdev_state, u16 offset, in handle_pci_cfg_write()
306 static void handle_bar_write(unsigned int index, struct mdev_state *mdev_state, in handle_bar_write()
[all …]