Searched refs:sr_thermal (Results 1 – 1 of 1) sorted by relevance
25 struct sr_thermal *priv;28 struct sr_thermal { struct37 struct sr_thermal *sr_thermal = tmon->priv; in sr_get_temp() argument39 *temp = readl(sr_thermal->regs + SR_TMON_TEMP_BASE(tmon->tmon_id)); in sr_get_temp()51 struct sr_thermal *sr_thermal; in sr_thermal_probe() local58 sr_thermal = devm_kzalloc(dev, sizeof(*sr_thermal), GFP_KERNEL); in sr_thermal_probe()59 if (!sr_thermal) in sr_thermal_probe()63 sr_thermal->regs = (void __iomem *)devm_memremap(&pdev->dev, res->start, in sr_thermal_probe()66 if (IS_ERR(sr_thermal->regs)) { in sr_thermal_probe()68 return PTR_ERR(sr_thermal->regs); in sr_thermal_probe()[all …]