FILE
xe_gt_sysfs.h
File preview with syntax highlighting.
linux-6.19.14/drivers/gpu/drm/xe/xe_gt_sysfs.h
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2022 Intel Corporation 4 */ 5 6#ifndef _XE_GT_SYSFS_H_ 7#define _XE_GT_SYSFS_H_ 8 9#include "xe_gt_sysfs_types.h" 10 11int xe_gt_sysfs_init(struct xe_gt *gt); 12 13static inline struct xe_gt * 14kobj_to_gt(struct kobject *kobj) 15{ 16 return container_of(kobj, struct kobj_gt, base)->gt; 17} 18 19#endif /* _XE_GT_SYSFS_H_ */
~/
Read-only file preview.