Home
last modified time | relevance | path

Searched refs:idle_busy_ts_arr (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
H A Ddevice.c318 hdev->idle_busy_ts_arr = kmalloc_array(HL_IDLE_BUSY_TS_ARR_SIZE, in device_early_init()
321 if (!hdev->idle_busy_ts_arr) { in device_early_init()
344 kfree(hdev->idle_busy_ts_arr); in device_early_init()
381 kfree(hdev->idle_busy_ts_arr); in device_early_fini()
510 ts = &hdev->idle_busy_ts_arr[last_index]; in hl_device_utilization()
521 ts = &hdev->idle_busy_ts_arr[last_index]; in hl_device_utilization()
585 ts = &hdev->idle_busy_ts_arr[last_index]; in hl_device_utilization()
990 hdev->idle_busy_ts_arr[0].busy_to_idle_ts = ktime_set(0, 0); in hl_device_reset()
991 hdev->idle_busy_ts_arr[0].idle_to_busy_ts = ktime_set(0, 0); in hl_device_reset()
H A Dhw_queue.c559 ts = &hdev->idle_busy_ts_arr[hdev->idle_busy_ts_idx]; in hl_hw_queue_schedule_cs()
H A Dcommand_submission.c287 ts = &hdev->idle_busy_ts_arr[hdev->idle_busy_ts_idx++]; in cs_do_release()
H A Dhabanalabs.h1539 * @idle_busy_ts_arr: array to hold time stamps of transitions from idle to busy
1562 * @idle_busy_ts_idx: index of current entry in idle_busy_ts_arr
1650 struct hl_device_idle_busy_ts *idle_busy_ts_arr; member

Completed in 10 milliseconds