Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/vfio/mdev/
Dmdev_sysfs.c25 struct mdev_type *type = to_mdev_type(kobj); in mdev_type_attr_show()
38 struct mdev_type *type = to_mdev_type(kobj); in mdev_type_attr_store()
51 static ssize_t create_store(struct mdev_type *mtype, in create_store()
82 struct mdev_type *type = to_mdev_type(kobj); in mdev_type_release()
95 static struct mdev_type *add_mdev_supported_type(struct mdev_parent *parent, in add_mdev_supported_type()
98 struct mdev_type *type; in add_mdev_supported_type()
154 static void remove_mdev_supported_type(struct mdev_type *type) in remove_mdev_supported_type()
172 struct mdev_type *type; in add_mdev_supported_type_groups()
176 struct mdev_type *ltype, *tmp; in add_mdev_supported_type_groups()
193 struct mdev_type *type, *tmp; in parent_remove_sysfs_files()
[all …]
Dmdev_private.h27 struct mdev_type { struct
38 container_of(_kobj, struct mdev_type, kobj) argument
48 int mdev_device_create(struct mdev_type *kobj, const guid_t *uuid);
Dmdev_core.c50 unsigned int mtype_get_type_group_id(struct mdev_type *mtype) in mtype_get_type_group_id()
60 struct device *mtype_get_parent_dev(struct mdev_type *mtype) in mtype_get_parent_dev()
254 int mdev_device_create(struct mdev_type *type, const guid_t *uuid) in mdev_device_create()
/Linux-v5.15/include/linux/
Dmdev.h13 struct mdev_type;
20 struct mdev_type *type;
50 unsigned int mtype_get_type_group_id(struct mdev_type *mtype);
51 struct device *mtype_get_parent_dev(struct mdev_type *mtype);
124 ssize_t (*show)(struct mdev_type *mtype,
126 ssize_t (*store)(struct mdev_type *mtype,
/Linux-v5.15/samples/vfio-mdev/
Dmdpy.c644 static ssize_t name_show(struct mdev_type *mtype, in name_show()
654 static ssize_t description_show(struct mdev_type *mtype, in description_show()
665 static ssize_t available_instances_show(struct mdev_type *mtype, in available_instances_show()
673 static ssize_t device_api_show(struct mdev_type *mtype, in device_api_show()
Dmbochs.c1328 static ssize_t name_show(struct mdev_type *mtype, in name_show()
1338 static ssize_t description_show(struct mdev_type *mtype, in description_show()
1349 static ssize_t available_instances_show(struct mdev_type *mtype, in available_instances_show()
1361 static ssize_t device_api_show(struct mdev_type *mtype, in device_api_show()
Dmtty.c1261 static ssize_t name_show(struct mdev_type *mtype, in name_show()
1273 static ssize_t available_instances_show(struct mdev_type *mtype, in available_instances_show()
1284 static ssize_t device_api_show(struct mdev_type *mtype, in device_api_show()
/Linux-v5.15/drivers/s390/cio/
Dvfio_ccw_ops.c74 static ssize_t name_show(struct mdev_type *mtype, in name_show()
81 static ssize_t device_api_show(struct mdev_type *mtype, in device_api_show()
88 static ssize_t available_instances_show(struct mdev_type *mtype, in available_instances_show()
/Linux-v5.15/drivers/s390/crypto/
Dvfio_ap_ops.c386 static ssize_t name_show(struct mdev_type *mtype, in name_show()
394 static ssize_t available_instances_show(struct mdev_type *mtype, in available_instances_show()
404 static ssize_t device_api_show(struct mdev_type *mtype, in device_api_show()
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-bus-vfio-mdev97 What: /sys/.../<device>/<UUID>/mdev_type
/Linux-v5.15/drivers/gpu/drm/i915/gvt/
Dkvmgt.c147 static ssize_t available_instances_show(struct mdev_type *mtype, in available_instances_show()
164 static ssize_t device_api_show(struct mdev_type *mtype, in device_api_show()
170 static ssize_t description_show(struct mdev_type *mtype, in description_show()
/Linux-v5.15/Documentation/driver-api/
Dvfio-mediated-device.rst257 |--- mdev_type {link to its type}