Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/habanalabs/common/
Dstate_dump.c268 u32 *sync_objects; in hl_state_dump_read_sync_objects() local
275 sync_objects = vmalloc(sds->props[SP_SYNC_OBJ_AMOUNT] * sizeof(u32)); in hl_state_dump_read_sync_objects()
276 if (!sync_objects) in hl_state_dump_read_sync_objects()
280 sync_objects[i] = RREG32(base_addr + i * sizeof(u32)); in hl_state_dump_read_sync_objects()
282 return sync_objects; in hl_state_dump_read_sync_objects()
290 static void hl_state_dump_free_sync_objects(u32 *sync_objects) in hl_state_dump_free_sync_objects() argument
292 vfree(sync_objects); in hl_state_dump_free_sync_objects()
315 u32 *sync_objects = NULL; in hl_state_dump_print_syncs_single_block() local
326 sync_objects = hl_state_dump_read_sync_objects(hdev, index); in hl_state_dump_print_syncs_single_block()
327 if (!sync_objects) { in hl_state_dump_print_syncs_single_block()
[all …]