Home
last modified time | relevance | path

Searched refs:class_compat (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/include/linux/device/
H A Dclass.h84 struct class_compat;
85 struct class_compat *class_compat_register(const char *name);
86 void class_compat_unregister(struct class_compat *cls);
87 int class_compat_create_link(struct class_compat *cls, struct device *dev,
89 void class_compat_remove_link(struct class_compat *cls, struct device *dev,
/openbmc/linux/drivers/base/
H A Dclass.c546 struct class_compat { struct
557 struct class_compat *class_compat_register(const char *name) in class_compat_register() argument
559 struct class_compat *cls; in class_compat_register()
561 cls = kmalloc(sizeof(struct class_compat), GFP_KERNEL); in class_compat_register()
577 void class_compat_unregister(struct class_compat *cls) in class_compat_unregister()
591 int class_compat_create_link(struct class_compat *cls, struct device *dev, in class_compat_create_link()
624 void class_compat_remove_link(struct class_compat *cls, struct device *dev, in class_compat_remove_link()
/openbmc/linux/drivers/vfio/mdev/
H A Dmdev_core.c21 static struct class_compat *mdev_bus_compat_class;
/openbmc/linux/drivers/i2c/
H A Di2c-core-base.c1397 static struct class_compat *i2c_adapter_compat_class;