Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/
H A Dmax77620_thermal.c75 if (irq == mtherm->irq_tjalarm1) in max77620_thermal_irq()
91 mtherm = devm_kzalloc(&pdev->dev, sizeof(*mtherm), GFP_KERNEL); in max77620_thermal_probe()
92 if (!mtherm) in max77620_thermal_probe()
97 if ((mtherm->irq_tjalarm1 < 0) || (mtherm->irq_tjalarm2 < 0)) { in max77620_thermal_probe()
102 mtherm->dev = &pdev->dev; in max77620_thermal_probe()
104 if (!mtherm->rmap) { in max77620_thermal_probe()
116 mtherm, &max77620_thermal_ops); in max77620_thermal_probe()
117 if (IS_ERR(mtherm->tz_device)) { in max77620_thermal_probe()
118 ret = PTR_ERR(mtherm->tz_device); in max77620_thermal_probe()
127 dev_name(&pdev->dev), mtherm); in max77620_thermal_probe()
[all …]