Lines Matching defs:idm
17 static struct xe_guc *idm_to_guc(struct xe_guc_id_mgr *idm) in idm_to_guc()
22 static struct xe_gt *idm_to_gt(struct xe_guc_id_mgr *idm) in idm_to_gt()
27 static struct xe_device *idm_to_xe(struct xe_guc_id_mgr *idm) in idm_to_xe()
32 #define idm_assert(idm, cond) xe_gt_assert(idm_to_gt(idm), cond) argument
33 #define idm_mutex(idm) (&idm_to_guc(idm)->submission_state.lock) argument
39 struct xe_guc_id_mgr *idm = arg; in __fini_idm() local
76 int xe_guc_id_mgr_init(struct xe_guc_id_mgr *idm, unsigned int limit) in xe_guc_id_mgr_init()
121 static int idm_reserve_chunk_locked(struct xe_guc_id_mgr *idm, in idm_reserve_chunk_locked()
159 static void idm_release_chunk_locked(struct xe_guc_id_mgr *idm, in idm_release_chunk_locked()
188 int xe_guc_id_mgr_reserve_locked(struct xe_guc_id_mgr *idm, unsigned int count) in xe_guc_id_mgr_reserve_locked()
202 void xe_guc_id_mgr_release_locked(struct xe_guc_id_mgr *idm, unsigned int id, in xe_guc_id_mgr_release_locked()
221 int xe_guc_id_mgr_reserve(struct xe_guc_id_mgr *idm, in xe_guc_id_mgr_reserve()
242 void xe_guc_id_mgr_release(struct xe_guc_id_mgr *idm, in xe_guc_id_mgr_release()
250 static void idm_print_locked(struct xe_guc_id_mgr *idm, struct drm_printer *p, int indent) in idm_print_locked()
271 void xe_guc_id_mgr_print(struct xe_guc_id_mgr *idm, struct drm_printer *p, int indent) in xe_guc_id_mgr_print()