Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/misc/habanalabs/common/
Ddevice.c606 u64 max_power, curr_power, dc_power, dividend; in hl_device_utilization() local
611 rc = hl_fw_cpucp_power_get(hdev, &curr_power); in hl_device_utilization()
616 curr_power = clamp(curr_power, dc_power, max_power); in hl_device_utilization()
618 dividend = (curr_power - dc_power) * 100; in hl_device_utilization()