Searched refs:mwatt (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | xgene-hwmon.c | 278 u32 watt, mwatt; in xgene_hwmon_get_cpu_pwr() local 285 rc = xgene_hwmon_reg_map_rd(ctx, PMD_PWR_MW_REG, &mwatt); 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 302 rc = xgene_hwmon_reg_map_rd(ctx, SOC_PWR_MW_REG, &mwatt); 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 D | xgene-hwmon.c | 279 u32 watt, mwatt; in xgene_hwmon_get_cpu_pwr() local 286 rc = xgene_hwmon_reg_map_rd(ctx, PMD_PWR_MW_REG, &mwatt); 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 303 rc = xgene_hwmon_reg_map_rd(ctx, SOC_PWR_MW_REG, &mwatt); in xgene_hwmon_get_io_pwr() 307 *val = WATT_TO_mWATT(watt) + mwatt; in xgene_hwmon_get_io_pwr()
|
Completed in 3 milliseconds