Lines Matching defs:mdev_state
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()
599 static void mdev_read_base(struct mdev_state *mdev_state) in mdev_read_base()
636 static ssize_t mdev_access(struct mdev_state *mdev_state, u8 *buf, size_t count, in mdev_access()
708 struct mdev_state *mdev_state; in mtty_probe() local
762 struct mdev_state *mdev_state = dev_get_drvdata(&mdev->dev); in mtty_remove() local
773 static int mtty_reset(struct mdev_state *mdev_state) in mtty_reset()
783 struct mdev_state *mdev_state = in mtty_read() local
844 struct mdev_state *mdev_state = in mtty_write() local
900 static int mtty_set_irqs(struct mdev_state *mdev_state, uint32_t flags, in mtty_set_irqs()
993 static int mtty_trigger_interrupt(struct mdev_state *mdev_state) in mtty_trigger_interrupt()
1020 static int mtty_get_region_info(struct mdev_state *mdev_state, in mtty_get_region_info()
1097 struct mdev_state *mdev_state = in mtty_ioctl() local