Home
last modified time | relevance | path

Searched refs:mdev_type (Results 1 – 11 of 11) sorted by relevance

/linux/include/linux/
H A Dmdev.h16 struct mdev_type;
22 struct mdev_type *type;
26 struct mdev_type { struct
46 struct mdev_type **types; argument
71 unsigned int (*get_available)(struct mdev_type *mtype);
72 ssize_t (*show_description)(struct mdev_type *mtype, char *buf);
77 struct mdev_driver *mdev_driver, struct mdev_type **types,
/linux/drivers/vfio/mdev/
H A Dmdev_private.h19 container_of(_kobj, struct mdev_type, kobj)
27 int mdev_device_create(struct mdev_type *kobj, const guid_t *uuid);
H A Dmdev_core.c60 struct mdev_driver *mdev_driver, struct mdev_type **types, in mdev_register_parent()
128 int mdev_device_create(struct mdev_type *type, const guid_t *uuid) in mdev_device_create()
/linux/drivers/s390/cio/
H A Dvfio_ccw_drv.c187 parent->mdev_type.sysfs_name = "io"; in vfio_ccw_sch_probe()
188 parent->mdev_type.pretty_name = "I/O subchannel (Non-QDIO)"; in vfio_ccw_sch_probe()
189 parent->mdev_types = &parent->mdev_type; in vfio_ccw_sch_probe()
/linux/Documentation/driver-api/
H A Dvfio-mediated-device.rst100 unsigned int (*get_available)(struct mdev_type *mtype);
101 ssize_t (*show_description)(struct mdev_type *mtype, char *buf);
230 |--- mdev_type {link to its type}
/linux/samples/vfio-mdev/
H A Dmdpy.c51 struct mdev_type type;
81 static struct mdev_type *mdpy_mdev_types[] = {
633 static ssize_t mdpy_show_description(struct mdev_type *mtype, char *buf) in mdpy_show_description()
H A Dmbochs.c104 struct mdev_type type;
130 static struct mdev_type *mbochs_mdev_types[] = {
1331 static ssize_t mbochs_show_description(struct mdev_type *mtype, char *buf) in mbochs_show_description()
1340 static unsigned int mbochs_get_available(struct mdev_type *mtype) in mbochs_get_available()
H A Dmtty.c178 struct mdev_type type;
187 static struct mdev_type *mtty_mdev_types[] = {
1906 static unsigned int mtty_get_available(struct mdev_type *mtype) in mtty_get_available()
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-vfio-mdev97 What: /sys/.../<device>/<UUID>/mdev_type
/linux/drivers/s390/crypto/
H A Dvfio_ap_ops.c2395 matrix_dev->mdev_type.sysfs_name = VFIO_AP_MDEV_TYPE_HWVIRT; in vfio_ap_mdev_register()
2396 matrix_dev->mdev_type.pretty_name = VFIO_AP_MDEV_NAME_HWVIRT; in vfio_ap_mdev_register()
2397 matrix_dev->mdev_types = &matrix_dev->mdev_type; in vfio_ap_mdev_register()
/linux/drivers/gpu/drm/i915/gvt/
H A Dkvmgt.c115 static ssize_t intel_vgpu_show_description(struct mdev_type *mtype, char *buf) in intel_vgpu_show_description()
1491 static unsigned int intel_vgpu_get_available(struct mdev_type *mtype) in intel_vgpu_get_available()