Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/thermal/
Dmax77620_thermal.c49 struct max77620_therm_info *mtherm = data; in max77620_thermal_read_temp() local
53 ret = regmap_read(mtherm->rmap, MAX77620_REG_STATLBT, &val); in max77620_thermal_read_temp()
55 dev_err(mtherm->dev, "Failed to read STATLBT: %d\n", ret); in max77620_thermal_read_temp()
75 struct max77620_therm_info *mtherm = data; in max77620_thermal_irq() local
77 if (irq == mtherm->irq_tjalarm1) in max77620_thermal_irq()
78 dev_warn(mtherm->dev, "Junction Temp Alarm1(120C) occurred\n"); in max77620_thermal_irq()
79 else if (irq == mtherm->irq_tjalarm2) in max77620_thermal_irq()
80 dev_crit(mtherm->dev, "Junction Temp Alarm2(140C) occurred\n"); in max77620_thermal_irq()
82 thermal_zone_device_update(mtherm->tz_device, in max77620_thermal_irq()
90 struct max77620_therm_info *mtherm; in max77620_thermal_probe() local
[all …]