Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/samples/vfio-mdev/
Dmdpy.c94 struct mdev_state { struct
107 static void mdpy_create_config_space(struct mdev_state *mdev_state) in mdpy_create_config_space()
145 static void handle_pci_cfg_write(struct mdev_state *mdev_state, u16 offset, in handle_pci_cfg_write()
170 static ssize_t mdev_access(struct mdev_state *mdev_state, char *buf, in mdev_access()
209 static int mdpy_reset(struct mdev_state *mdev_state) in mdpy_reset()
224 struct mdev_state *mdev_state = in mdpy_init_dev() local
260 struct mdev_state *mdev_state; in mdpy_probe() local
281 struct mdev_state *mdev_state = in mdpy_release_dev() local
290 struct mdev_state *mdev_state = dev_get_drvdata(&mdev->dev); in mdpy_remove() local
301 struct mdev_state *mdev_state = in mdpy_read() local
[all …]
Dmtty.c128 struct mdev_state { struct
129 struct vfio_device vdev;
130 struct eventfd_ctx *intx_evtfd;
131 struct eventfd_ctx *msi_evtfd;
132 int irq_index;
133 u8 *vconfig;
134 struct mutex ops_lock;
135 struct mdev_device *mdev;
136 struct mdev_region_info region_info[VFIO_PCI_NUM_REGIONS];
137 u32 bar_mask[VFIO_PCI_NUM_REGIONS];
[all …]
Dmbochs.c165 struct mdev_state *mdev_state; member
171 struct mdev_state { struct
172 struct vfio_device vdev;
173 u8 *vconfig;
174 u64 bar_mask[3];
175 u32 memory_bar_mask;
176 struct mutex ops_lock;
177 struct mdev_device *mdev;
179 const struct mbochs_type *type;
180 u16 vbe[VBE_DISPI_INDEX_COUNT];
[all …]
/kernel/linux/linux-5.10/samples/vfio-mdev/
Dmbochs.c156 struct mdev_state *mdev_state; member
162 struct mdev_state { struct
163 u8 *vconfig;
164 u64 bar_mask[3];
165 u32 memory_bar_mask;
166 struct mutex ops_lock;
167 struct mdev_device *mdev;
169 const struct mbochs_type *type;
170 u16 vbe[VBE_DISPI_INDEX_COUNT];
171 u64 memsize;
[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.c129 struct mdev_state { struct
130 int irq_fd;
131 struct eventfd_ctx *intx_evtfd;
155 static int mtty_trigger_interrupt(struct mdev_state *mdev_state); argument
173 static void mtty_create_config_space(struct mdev_state *mdev_state) in mtty_create_config_space()
237 static void handle_pci_cfg_write(struct mdev_state *mdev_state, u16 offset, in handle_pci_cfg_write()
291 static void handle_bar_write(unsigned int index, struct mdev_state *mdev_state, in handle_bar_write()
459 static void handle_bar_read(unsigned int index, struct mdev_state *mdev_state, in handle_bar_read()
597 static void mdev_read_base(struct mdev_state *mdev_state) in mdev_read_base()
637 struct mdev_state *mdev_state; in mdev_access() local
[all …]