Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/habanalabs/common/
H A Ddevice.c1100 u64 max_power, curr_power, dc_power, dividend, divisor; in hl_device_utilization() local
1110 rc = hl_fw_cpucp_power_get(hdev, &curr_power); in hl_device_utilization()
1115 curr_power = clamp(curr_power, dc_power, max_power); in hl_device_utilization()
1117 dividend = (curr_power - dc_power) * 100; in hl_device_utilization()