Lines Matching full:monitors

203  * monitors are named.
440 * hl_state_dump_alloc_read_sm_block_monitors - read monitors for a specific
452 struct hl_mon_state_dump *monitors; in hl_state_dump_alloc_read_sm_block_monitors() local
456 monitors = vmalloc(sds->props[SP_MONITORS_AMOUNT] * in hl_state_dump_alloc_read_sm_block_monitors()
458 if (!monitors) in hl_state_dump_alloc_read_sm_block_monitors()
464 monitors[i].id = i; in hl_state_dump_alloc_read_sm_block_monitors()
465 monitors[i].wr_addr_low = in hl_state_dump_alloc_read_sm_block_monitors()
469 monitors[i].wr_addr_high = in hl_state_dump_alloc_read_sm_block_monitors()
473 monitors[i].wr_data = in hl_state_dump_alloc_read_sm_block_monitors()
477 monitors[i].arm_data = in hl_state_dump_alloc_read_sm_block_monitors()
481 monitors[i].status = in hl_state_dump_alloc_read_sm_block_monitors()
486 return monitors; in hl_state_dump_alloc_read_sm_block_monitors()
490 * hl_state_dump_free_monitors - free the monitors structure
491 * @monitors: monitors array created with
494 static void hl_state_dump_free_monitors(struct hl_mon_state_dump *monitors) in hl_state_dump_free_monitors() argument
496 vfree(monitors); in hl_state_dump_free_monitors()
500 * hl_state_dump_print_monitors_single_block - print active monitors on a
516 struct hl_mon_state_dump *monitors = NULL; in hl_state_dump_print_monitors_single_block() local
527 monitors = hl_state_dump_alloc_read_sm_block_monitors(hdev, index); in hl_state_dump_print_monitors_single_block()
528 if (!monitors) { in hl_state_dump_print_monitors_single_block()
534 if (!(sds->funcs.monitor_valid(&monitors[i]))) in hl_state_dump_print_monitors_single_block()
539 &monitors[i]); in hl_state_dump_print_monitors_single_block()
547 hl_state_dump_free_monitors(monitors); in hl_state_dump_print_monitors_single_block()
553 * hl_state_dump_print_monitors - print active monitors