Home
last modified time | relevance | path

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

/linux/drivers/accel/habanalabs/common/
H A Ddevice.c1214 u64 max_power, curr_power, dc_power, dividend, divisor; in hl_device_utilization() local
1224 rc = hl_fw_cpucp_power_get(hdev, &curr_power); in hl_device_utilization()
1229 curr_power = clamp(curr_power, dc_power, max_power); in hl_device_utilization()
1231 dividend = (curr_power - dc_power) * 100; in hl_device_utilization()