Home
last modified time | relevance | path

Searched refs:mdev_driver (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/include/linux/ !
Dmdev.h42 struct mdev_driver *mdev_driver; member
66 struct mdev_driver { struct
77 struct mdev_driver *mdev_driver, struct mdev_type **types, argument
81 int mdev_register_driver(struct mdev_driver *drv);
82 void mdev_unregister_driver(struct mdev_driver *drv);
/linux-6.6.21/drivers/vfio/mdev/ !
Dmdev_driver.c17 struct mdev_driver *drv = in mdev_probe()
18 container_of(dev->driver, struct mdev_driver, driver); in mdev_probe()
27 struct mdev_driver *drv = in mdev_remove()
28 container_of(dev->driver, struct mdev_driver, driver); in mdev_remove()
56 int mdev_register_driver(struct mdev_driver *drv) in mdev_register_driver()
71 void mdev_unregister_driver(struct mdev_driver *drv) in mdev_unregister_driver()
Dmdev_core.c60 struct mdev_driver *mdev_driver, struct mdev_type **types, in mdev_register_parent() argument
70 parent->mdev_driver = mdev_driver; in mdev_register_parent()
73 atomic_set(&parent->available_instances, mdev_driver->max_instances); in mdev_register_parent()
117 if (!parent->mdev_driver->get_available) in mdev_device_release()
133 struct mdev_driver *drv = parent->mdev_driver; in mdev_device_create()
Dmdev_sysfs.c92 return sysfs_emit(buf, "%s\n", mtype->parent->mdev_driver->device_api); in device_api_show()
109 struct mdev_driver *drv = mtype->parent->mdev_driver; in available_instances_show()
122 return mtype->parent->mdev_driver->show_description(mtype, buf); in description_show()
139 !to_mdev_type(kobj)->parent->mdev_driver->show_description) in mdev_types_core_is_visible()
DMakefile3 mdev-y := mdev_core.o mdev_sysfs.o mdev_driver.o
/linux-6.6.21/Documentation/driver-api/ !
Dvfio-mediated-device.rst92 * struct mdev_driver [2] - Mediated device's driver
97 struct mdev_driver {
110 int mdev_register_driver(struct mdev_driver *drv);
114 void mdev_unregister_driver(struct mdev_driver *drv);
124 struct mdev_driver *mdev_driver);
271 2. struct mdev_driver in include/linux/mdev.h
/linux-6.6.21/drivers/s390/cio/ !
Dvfio_ccw_private.h134 extern struct mdev_driver vfio_ccw_mdev_driver;
Dvfio_ccw_ops.c638 struct mdev_driver vfio_ccw_mdev_driver = {
/linux-6.6.21/samples/vfio-mdev/ !
Dmdpy.c672 static struct mdev_driver mdpy_driver = {
Dmtty.c1371 static struct mdev_driver mtty_driver = {
Dmbochs.c1383 static struct mdev_driver mbochs_driver = {
/linux-6.6.21/drivers/gpu/drm/i915/gvt/ !
Dkvmgt.c1532 static struct mdev_driver intel_vgpu_mdev_driver = {
/linux-6.6.21/drivers/s390/crypto/ !
Dvfio_ap_ops.c2109 static struct mdev_driver vfio_ap_matrix_driver = {