1 /* SPDX-License-Identifier: MIT */
3 * Copyright © 2023 Intel Corporation
6 #ifndef _XE_TILE_SYSFS_H_
7 #define _XE_TILE_SYSFS_H_
9 #include "xe_tile_sysfs_types.h"
11 int xe_tile_sysfs_init(struct xe_tile *tile);
13 static inline struct xe_tile *
14 kobj_to_tile(struct kobject *kobj)
16 return container_of(kobj, struct kobj_tile, base)->tile;
19 #endif /* _XE_TILE_SYSFS_H_ */