Home
last modified time | relevance | path

Searched refs:watt (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/
H A Dxgene-hwmon.c278 u32 watt, mwatt; in xgene_hwmon_get_cpu_pwr() local
281 rc = xgene_hwmon_reg_map_rd(ctx, PMD_PWR_REG, &watt); in xgene_hwmon_get_cpu_pwr()
289 *val = WATT_TO_mWATT(watt) + mwatt; in xgene_hwmon_get_cpu_pwr()
295 u32 watt, mwatt; in xgene_hwmon_get_io_pwr() local
298 rc = xgene_hwmon_reg_map_rd(ctx, SOC_PWR_REG, &watt); in xgene_hwmon_get_io_pwr()
306 *val = WATT_TO_mWATT(watt) + mwatt; in xgene_hwmon_get_io_pwr()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dxgene-hwmon.c279 u32 watt, mwatt; in xgene_hwmon_get_cpu_pwr() local
282 rc = xgene_hwmon_reg_map_rd(ctx, PMD_PWR_REG, &watt); in xgene_hwmon_get_cpu_pwr()
290 *val = WATT_TO_mWATT(watt) + mwatt; in xgene_hwmon_get_cpu_pwr()
296 u32 watt, mwatt; in xgene_hwmon_get_io_pwr() local
299 rc = xgene_hwmon_reg_map_rd(ctx, SOC_PWR_REG, &watt); in xgene_hwmon_get_io_pwr()
307 *val = WATT_TO_mWATT(watt) + mwatt; in xgene_hwmon_get_io_pwr()

Completed in 3 milliseconds