Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_hw_engine_class_sysfs.c506 struct kobj_eclass *keclass; in kobj_xe_hw_engine_class() local
509 keclass = kzalloc(sizeof(*keclass), GFP_KERNEL); in kobj_xe_hw_engine_class()
510 if (!keclass) in kobj_xe_hw_engine_class()
513 kobject_init(&keclass->base, &kobj_xe_hw_engine_type); in kobj_xe_hw_engine_class()
514 if (kobject_add(&keclass->base, parent, "%s", name)) { in kobj_xe_hw_engine_class()
515 kobject_put(&keclass->base); in kobj_xe_hw_engine_class()
518 keclass->xe = xe; in kobj_xe_hw_engine_class()
521 &keclass->base); in kobj_xe_hw_engine_class()
525 return keclass; in kobj_xe_hw_engine_class()
651 struct kobj_eclass *keclass; in xe_hw_engine_class_sysfs_init() local
[all …]