Searched defs:mdev_state (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/samples/vfio-mdev/ |
D | mbochs.c | 157 struct mdev_state *mdev_state; member 163 struct mdev_state { struct 164 struct vfio_device vdev; 165 u8 *vconfig; 166 u64 bar_mask[3]; 167 u32 memory_bar_mask; 168 struct mutex ops_lock; 169 struct mdev_device *mdev; 171 const struct mbochs_type *type; 172 u16 vbe[VBE_DISPI_INDEX_COUNT]; [all …]
|
D | mdpy.c | 91 struct mdev_state { struct 104 static void mdpy_create_config_space(struct mdev_state *mdev_state) in mdpy_create_config_space() 142 static void handle_pci_cfg_write(struct mdev_state *mdev_state, u16 offset, in handle_pci_cfg_write() 167 static ssize_t mdev_access(struct mdev_state *mdev_state, char *buf, in mdev_access() 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 [all …]
|
D | mtty.c | 129 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 175 static void mtty_create_config_space(struct mdev_state *mdev_state) in mtty_create_config_space() 239 static void handle_pci_cfg_write(struct mdev_state *mdev_state, u16 offset, in handle_pci_cfg_write() 293 static void handle_bar_write(unsigned int index, struct mdev_state *mdev_state, in handle_bar_write() 461 static void handle_bar_read(unsigned int index, struct mdev_state *mdev_state, in handle_bar_read() [all …]
|