Home
last modified time | relevance | path

Searched refs:mdev_device (Results 1 – 15 of 15) sorted by relevance

/linux/include/linux/
A Dmdev.h15 struct mdev_device { struct
26 return container_of(dev, struct mdev_device, dev); in to_mdev_device()
29 unsigned int mdev_get_type_group_id(struct mdev_device *mdev);
87 int (*create)(struct mdev_device *mdev);
88 int (*remove)(struct mdev_device *mdev);
89 int (*open_device)(struct mdev_device *mdev);
90 void (*close_device)(struct mdev_device *mdev);
95 long (*ioctl)(struct mdev_device *mdev, unsigned int cmd,
129 int (*probe)(struct mdev_device *dev);
130 void (*remove)(struct mdev_device *dev);
[all …]
/linux/drivers/vfio/mdev/
A Dvfio_mdev.c22 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_open_device()
33 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_close_device()
43 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_unlocked_ioctl()
55 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_read()
68 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_write()
80 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_mmap()
91 struct mdev_device *mdev = to_mdev_device(core_vdev->dev); in vfio_mdev_request()
112 static int vfio_mdev_probe(struct mdev_device *mdev) in vfio_mdev_probe()
135 static void vfio_mdev_remove(struct mdev_device *mdev) in vfio_mdev_remove()
A Dmdev_core.c30 struct device *mdev_parent_dev(struct mdev_device *mdev) in mdev_parent_dev()
40 unsigned int mdev_get_type_group_id(struct mdev_device *mdev) in mdev_get_type_group_id()
89 static void mdev_device_remove_common(struct mdev_device *mdev) in mdev_device_remove_common()
109 struct mdev_device *mdev = mdev_from_dev(dev); in mdev_device_remove_cb()
241 struct mdev_device *mdev = to_mdev_device(dev); in mdev_device_release()
257 struct mdev_device *mdev, *tmp; in mdev_device_create()
338 int mdev_device_remove(struct mdev_device *mdev) in mdev_device_remove()
340 struct mdev_device *tmp; in mdev_device_remove()
A Dmdev_private.h45 int mdev_create_sysfs_files(struct mdev_device *mdev);
46 void mdev_remove_sysfs_files(struct mdev_device *mdev);
49 int mdev_device_remove(struct mdev_device *dev);
A Dmdev_sysfs.c236 struct mdev_device *mdev = to_mdev_device(dev); in remove_store()
260 int mdev_create_sysfs_files(struct mdev_device *mdev) in mdev_create_sysfs_files()
287 void mdev_remove_sysfs_files(struct mdev_device *mdev) in mdev_remove_sysfs_files()
/linux/drivers/gpu/drm/i915/gvt/
A Dkvmgt.c113 struct mdev_device *mdev;
245 static int kvmgt_guest_init(struct mdev_device *mdev);
790 static int intel_vgpu_create(struct mdev_device *mdev) in intel_vgpu_create()
827 static int intel_vgpu_remove(struct mdev_device *mdev) in intel_vgpu_remove()
888 static int intel_vgpu_open_device(struct mdev_device *mdev) in intel_vgpu_open_device()
1007 static void intel_vgpu_close_device(struct mdev_device *mdev) in intel_vgpu_close_device()
1097 static ssize_t intel_vgpu_rw(struct mdev_device *mdev, char *buf, in intel_vgpu_rw()
1147 static bool gtt_entry(struct mdev_device *mdev, loff_t *ppos) in gtt_entry()
1239 static ssize_t intel_vgpu_write(struct mdev_device *mdev, in intel_vgpu_write()
1724 struct mdev_device *mdev = mdev_from_dev(dev); in vgpu_id_show()
[all …]
/linux/drivers/s390/crypto/
A Dvfio_ap_private.h101 struct mdev_device *mdev;
A Dvfio_ap_ops.c333 static int vfio_ap_mdev_probe(struct mdev_device *mdev) in vfio_ap_mdev_probe()
373 static void vfio_ap_mdev_remove(struct mdev_device *mdev) in vfio_ap_mdev_remove()
/linux/Documentation/driver-api/
A Dvfio-mediated-device.rst106 int (*probe) (struct mdev_device *dev);
107 void (*remove) (struct mdev_device *dev);
151 used to trigger the creation of a mdev_device. The created mdev_device will be
/linux/samples/vfio-mdev/
A Dmdpy.c96 struct mdev_device *mdev;
219 static int mdpy_probe(struct mdev_device *mdev) in mdpy_probe()
276 static void mdpy_remove(struct mdev_device *mdev) in mdpy_remove()
A Dmtty.c137 struct mdev_device *mdev;
706 static int mtty_probe(struct mdev_device *mdev) in mtty_probe()
760 static void mtty_remove(struct mdev_device *mdev) in mtty_remove()
A Dmbochs.c169 struct mdev_device *mdev;
508 static int mbochs_probe(struct mdev_device *mdev) in mbochs_probe()
571 static void mbochs_remove(struct mdev_device *mdev) in mbochs_remove()
/linux/drivers/s390/cio/
A Dvfio_ccw_private.h100 struct mdev_device *mdev;
A Dvfio_ccw_ops.c116 static int vfio_ccw_mdev_probe(struct mdev_device *mdev) in vfio_ccw_mdev_probe()
153 static void vfio_ccw_mdev_remove(struct mdev_device *mdev) in vfio_ccw_mdev_remove()
A Dvfio_ccw_fsm.c245 struct mdev_device *mdev = private->mdev; in fsm_io_request()

Completed in 29 milliseconds