Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/hwmon/
H A Dxgene-hwmon.c226 static int xgene_hwmon_reg_map_rd(struct xgene_hwmon_dev *ctx, u32 addr, in xgene_hwmon_reg_map_rd() function
281 rc = xgene_hwmon_reg_map_rd(ctx, PMD_PWR_REG, &watt); in xgene_hwmon_get_cpu_pwr()
285 rc = xgene_hwmon_reg_map_rd(ctx, PMD_PWR_MW_REG, &mwatt); in xgene_hwmon_get_cpu_pwr()
298 rc = xgene_hwmon_reg_map_rd(ctx, SOC_PWR_REG, &watt); in xgene_hwmon_get_io_pwr()
302 rc = xgene_hwmon_reg_map_rd(ctx, SOC_PWR_MW_REG, &mwatt); in xgene_hwmon_get_io_pwr()
312 return xgene_hwmon_reg_map_rd(ctx, SOC_TEMP_REG, val); in xgene_hwmon_get_temp()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dxgene-hwmon.c227 static int xgene_hwmon_reg_map_rd(struct xgene_hwmon_dev *ctx, u32 addr, in xgene_hwmon_reg_map_rd() function
282 rc = xgene_hwmon_reg_map_rd(ctx, PMD_PWR_REG, &watt); in xgene_hwmon_get_cpu_pwr()
286 rc = xgene_hwmon_reg_map_rd(ctx, PMD_PWR_MW_REG, &mwatt); in xgene_hwmon_get_cpu_pwr()
299 rc = xgene_hwmon_reg_map_rd(ctx, SOC_PWR_REG, &watt); in xgene_hwmon_get_io_pwr()
303 rc = xgene_hwmon_reg_map_rd(ctx, SOC_PWR_MW_REG, &mwatt); in xgene_hwmon_get_io_pwr()
313 return xgene_hwmon_reg_map_rd(ctx, SOC_TEMP_REG, val); in xgene_hwmon_get_temp()

Completed in 4 milliseconds